@12Kentos
Posted
Hey @Mastza28,
Nice job on completing this challenge! It looks great. :)
While it's definitely more cumbersome to give everything a class name, I think in general it's better than using a direct selector like
P{ font-size: 1.6rem; }
I noticed you did this a couple of times in your css, and I would suggest you avoid doing that for the most part, as that will effect every single element on the page, and this Will cause headaches for you on larger projects.
Also, you mentioned thinking about doing some in-line styles. I would try to avoid using in-line styles as much as you possibly can. Honestly there should hardly ever be a situation where you should/need to use in-line style. It is really, really bad practice, and makes code infinitely harder to maintain and understand.
Here is a good video by Kevin Powell on specificity and best practices.
Hope that helps, let me know if you have any other questions!
Marked as helpful