☀️ Profile Card Component with HTML & Tailwind | BEM Notation | Vite☀️
Design comparison
Solution retrospective
Hello Front-End Mentor Community! I'm Jessica and this is my solution for this challenge! 😊
Built with:
- HTML 🧾
- Tailwind CSS 🎨
- Mobile first workflow approach 📲
- Perfect Pixel
- BEM Notation
- Vite
Hey there! Just wanted to share that I recently dove into using BEM notation for the first time, paired with Tailwind classes and Vite. It was definitely a bit of a challenge for me to wrap my head around the concept of BEM notation (wanted to give it a shot!), especially when it came to separating the classes and all.
Also, let me just say that the background part using Tailwind was... something else 😭. I didn't think it was going to be that difficult! I wasn't sure on how to apply two different background images using Tailwind.
Any friendly suggestions or tips for a fellow explorer? 🚀🌐💻
Community feedback
- @Ezekiel225Posted 9 months ago
Hello there 👋 @jessicaArvizu.
Good job on completing the challenge !
Your project looks really good!
I have suggestions about your code that might interest you.
📌 First: Use
<main>
to wrap the main content instead of<div>
.Tags like
<div>
and<span>
are typical examples of non-semantic HTML elements. They serve only as content holders but give no indication as to what type of content they contain or what role that content plays on the page.📌If you don't have the Figma design files, I recommend using a browser extension called Perfect Pixel.
It allows you to compare your finished project with the design images that come along when you download the project and check the (almost exact) dimensions. It's very useful!
I hope this suggestion is useful for future projects.
Other than that, great job!
Keep up the excellent work and continue to challenge yourself with new projects. Your progress is impressive, and each project is a step forward in your front-end development journey! 🚀🌟.
Happy coding.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord