lotus-1 / FirstProject---AHS

Portfolio Website for our team developers -- week-1
0 stars 3 forks source link

Use css classes instead of Id or html tags #11

Open MynahMarie opened 5 years ago

MynahMarie commented 5 years ago

It's best practice to style css by adding classes to your html element. If you style directly your html tags, you will find that it becomes difficult to maintain when your project grows. It's ok when you have only a 1 page website but imagine what would happen if you had 20-30 files... (which will happen very soon). So as much as possible, always add classes to elements and style according to classes, you will see that it will make your life easier in the long run 😸