ah2389 / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Modular files #3

Open aubreywullschleger opened 6 years ago

aubreywullschleger commented 6 years ago

Simplify! Consider keeping your files as modular as possible by avoiding inline-styles in your HTML. For example, instead of setting font-family: helvetica;, font-weight: bold;, and color: blue; on your p span elements (the <span> elements nested inside of the <p> elements) in your HTML, I would use a selector for those elements in your CSS and set font-family, font-weight, and color there. For example, you could use this in your CSS:

p span {
  font-family: helvetica;
  font-weight: bold;
  color: blue;
}

Then remove those inline styles on your p span elements in the HTML.

ah2389 commented 6 years ago

Ahh, this makes perfect sense.. as i was writing all of that inline I knew there was a better way.. lol