sonyaagirman / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

Avoid inline styles #3

Open zannain opened 6 years ago

zannain commented 6 years ago

Stay away from using inline styles in your HTML. This goes to seperation of concerns where you want to avoid having everything in one file. The purpose of HTML is to write markup that can be styled using CSS. Thus best practices recommend putting your stylesheet in a separate file. This allows for your stylesheet to be extensible by which I mean it can be used for other pages and is not tied to one webpage. It also makes debugging easier because you do not have to go through a ton of HTML to fix what is a CSS issue.

sonyaagirman commented 6 years ago

made the changes