Design comparison
SolutionDesign
Solution retrospective
Hi, I started learning HTML and CSS 3 weeks ago and I know that my solution is not perfect :-( I hope my next solutions will be better :-). If someone have any advice for improvement of my solution, I will appreciate it. Thank you.
Community feedback
- @daudi13Posted almost 4 years ago
Hi, I've taken a look at your code and I Just have a few comments and suggestions.
- Your code HTML code is really impressive for a 3 week old beginner.
- I want you to know there are many ways of solving the same problem don't get scared of sophisticated code many are just sphagetti code.
For suggestions i suggest the following:
- Give a class to the
div
immediately after thebody
you can give it any class name you want but.wrapper
or.container
are used universally. - As a beginner I suggest you learn BEM naming conventions as early as you can. because 1) it will make working on your CSS much easier and 2) it's gonna be helpful when you start working with Javascript. It is really easy to muster.
- When resting default values like
margin
,box-sizing
andpadding
it is safe to include::before
and::after
. - I know you're still new in the game but after you learn and muster Flexbox and Grid things will start getting much easier. I wish you good luck in your journey and have fun. Happy coding. you can upvote this comment if you found it helpful.
1@KristynRihoPosted almost 4 years ago@daudi13 Hello, thank you very much for your feedback and for the tips!
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