Design comparison
SolutionDesign
Community feedback
- @SurajHadagePosted over 2 years ago
You are using div inside div inside div and its making your code only worse. First thing first don't upload unnecessary files and folders to save server space. use "role" attribute to make semantic and accessible webpages without knowing semantic HTML elements as a beginner. Like follow:
<div role="main"> <div role="article"></div> <div role="section"></div> <div role="figure"></div> </div> Always use main & top level heading. You can use box shadow generator like CSSMATIC. Try to make code shorter. Try to avoid use of div tag. take a look at this solution (https://surajhadage.github.io/single-price-grid-component/). Happy coding!Marked as helpful0@rajvirsiinghPosted over 2 years ago@SurajHadage Thanks you bro! this was very insightful, Definitely going to use this in future code.
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