@correlucas
Posted
๐พHi Giovanni , congratulations for your first solution!๐ Welcome to the Frontend Mentor Coding Community!
Great solution and great start! By what I saw youโre on the right track. Iโve few suggestions to you that you can consider to add to your code:
Donโt use id
to give the style of your elements, it's not a good idea because id
is a too specific selector used for forms
and Javascript code. Instead, use class
for styling and let the id
for much specific stuff. It's also not advisable to use IDs as CSS selectors because if another element in the page uses the same/similar style, you would have to write the same CSS again. Even if you don't have more than one element with that style right now, it might come later.
โ๏ธ I hope this helps you and happy coding!
Marked as helpful
@MagnificoRettore
Posted
@correlucas Ah got it! In the next exercises, I'll use class selectors on my css file