Kindri9 / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

could reduce repeated code #4

Open cgrad01 opened 7 years ago

cgrad01 commented 7 years ago

could use something like this to limit repeated font-family attribute

body {
  font-family: Helvetica;
}

https://github.com/Kindri9/prj-rev-bwfs-dasmoto/blob/master/DasmotoArtCraft/resources/css/style.css#L2

Kindri9 commented 7 years ago

Ha - I find that amusing because I asked that exact question to the group when we were doing one of the earlier projects since that made more logical sense if the entire body of a webpage was going to be the same font. The answer was that in the real world we could use:

body { font-family: Helvetia; }

but for the project we should do it exactly as it said to do it, which is what I did for this project to keep in line with earlier projects. I will definitely follow my gut on this type of unnecessary repetition.