Design comparison
Solution retrospective
I did it fast, without any tips.
What challenges did you encounter, and how did you overcome them?In this challange I didn't get any issues.
What specific areas of your project would you like help with?I'm interested in any advices. Should I maybe use any technologies in this project?
Community feedback
- @VivekMadhavanPosted 7 months ago
Got it! I think as the project gets bigger, the importance of multiple classes as reusable components will become more apparent :)
0 - @VivekMadhavanPosted 7 months ago
Hi Ivan, your code is well written but as a beginner, I was wondering why the use of many divs and classes instead of styling the layout using one div and one class? Does it give you more options to customize?
0@IvanBerkutPosted 7 months agoHi @VivekMadhavan. Using multiple divs and classes helps in organizing and styling your webpage effectively. It offers modularity, making it easier to reuse components and maintain code. Each div or class represents a specific part of your webpage, allowing for better separation of concerns and flexibility in styling. Additionally, it facilitates responsive design implementation. Overall, while it might seem simpler to use fewer divs and classes, employing multiple ones provides better structure, maintainability, and customization options for your webpage. But in this case, you could also use one div and one class as you described above. I can't be sure that my version is better than yours. I'm here to get some experience too =)
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