rodivansito / capstoneproject

0 stars 0 forks source link

Don't Repeat Yourself or the DRY method #6

Open tommygebru opened 5 years ago

tommygebru commented 5 years ago

Consider using the DRY method to apply CSS styles to the HTML elements once or a few times, instead of having to write out font-family in your css document multiple times.

You also stacked your css selectors to group styles and apply them once 👍 for example:

h1, h2, a {font-weight: bold}
tommygebru commented 5 years ago

I have suggested a few sections and html elements that can reduce your codebase in a previous issue Layouts. You can also go further and implement a single html document layout, and use the CSS media queries to restructure your code using media queries, flexbox and background-images!