I Built Hashnode's Landing Page Clone With SASS
Victor Eke
Software Developer(Frontend), Technical writer, and Open-source maintainer | JavaScript | React | Java | NextJS | TypeScript
I recently learnt Sass and have been thinking about what project to build with this CSS Preprocessor, so I decided to do a little research on popular projects to build for your portfolio.
I didn't want to build the next todo or calculator app.?? More importantly, I needed a project that had more presentation than functionality to fully get my hands wet with SASS
So I decided to create a static clone of Hashnode's landing page using HTML, SASS, and JavaScript.
The Result
Preview ???? https://hashnode-clone-sass.netlify.app
What I learned
While building this project, I learnt a really useful trick that I think is worth mentioning:
How to get an SVG icon using developer tools. ??
If you look at Hashnode's website, you'll notice a lot of custom SVG icons and illustrations being used. I learnt a neat trick on how to get these icons using the developer tools, which works on any website on the internet. To get the icon, right-click on the SVG icon and select inspect.
This will open up the dev tools with the icon selected.
Next, right-click on the SVG Element and select Edit as SVG.
Copy the SVG code and paste it into a new file with a .svg file extension.
To Edit the created SVG icon, I used SVG extension on VS Code to preview the icons while editing.
领英推荐
Want to learn more about creating SVG, check out Estee Tey article.
What Next
It was quite fun and challenging to build this clone. Learned quite a lot, and also got an open source idea I will be working on hopefully. ??
At this point, I'm quite comfortable with this project and I feel it has given me a lot of use case and hands-on experience in working with SASS.?When I have the time, a few things I might add to this project would be,
- Implement the dark mode.
- Add the functionality for the dropdown toggle button.
- Add more pages, ETC.
If you love this project, do check out the repo on GitHub. I will appreciate it if you can star,? like and share it.
If you dig what I do and would love to see more related projects/content, do follow me on the following platforms:
You can also show your support by buying me a coffee. ??
BScN(in progress), Customer Service Associate
3 年Wow Victor, this looks really good! Keep it up please!!????
Backend Developer, Open-Source Enthusiast
3 年This is awesome man ??