@Spaceman-In-DisguiseSubmitted about 3 years ago
Any Advice to better organize the divs? or a way to reduce the number of classes used?
Any Advice to better organize the divs? or a way to reduce the number of classes used?
Hey, instead of div's, try to use the html semantic elements (https://www.w3schools.com/html/html5_semantic_elements.asp). In order to reduce the classes used, take advantage of the ordering/element selection capabilities of css. Or better, use SCSS stylesheets, so it's easy to put some hierarchy. Personally, I'd try to keep all layout related things in CSS and only content related stuff in the HTML. So instead of <div class="column", just nothing or a semantic element. and then specify a column layout with css.
Hello! Some general observations