@correlucas
Posted
👾Hello again Marius, Congratulations on completing this challenge!
Nice solution and nice code! I can see that you paid a lot of attention to your code/design. If you don’t mind I’ve some tips for you:
I saw that you’ve used id
to give the styling for your component, its not a good idea because id
its a too much specific selector used for forms
and Javascript code. Instead, use class
for styling and let the id
for much specific stuff.
It is 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