Design comparison
Solution retrospective
Do you see necesary to put the image and text into the divs, So i can put style directly to the div? Or is it better to do it with out it so the code is cleaner? thanks!
first challenge!!
Community feedback
- @erenymoPosted about 1 year ago
Hi Patricia👋
First of all, welcome to the Frontend Mentor and congratulations to finish your first challenge🥳🎉! By these projects, you will practice your web development skills so much and gain hands-on experiences. 💪
To answer your question:
-
No, it is not necessary to put the image and text into the divs everytime. Actually, it depends on the situation. If you . Sometimes divs can help you to style your components easily while working with flexbox or grid. If you know what you're doing, this won't cause much confusion for you. You will be confident when you build more projects.
-
What is more, please do some search about css units. At the beginning, there is no problem to use px unit while writing css to cover the fundamentals of the css BUT it will cause some responsive problems in the future.
You did a great job, have fun and keep coding🔥🚀
Marked as helpful0 -
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