Karatesaurus-Rex / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

CSS a little unneeded repetitive #1

Open farishkash opened 7 years ago

farishkash commented 7 years ago

font-family: helvetica; is written many times.

We can cover the website by just applying a universal selector the font family to a global selector that covers the who page.


body {
font-family: helvetica;
}
Karatesaurus-Rex commented 7 years ago

Thank you very much for bringing this issue to my attention. When programming this assignment, I only considered whether or not my code checked all the boxes visually when displayed on a browser.

Now I realize the scope of what I am embarking on is much greater than that, and that I should stop to ask myself "is this the most simple and intuitive approach?" sometimes. Once I realized that the entire document was the same font, I did not stop to go back and polish the code like you showed was possible. Now I plan to do it frequently!