Design comparison
SolutionDesign
Solution retrospective
Hi everyone!!
All feedback is welcome :)
I've been starting on using Semantic HTML. Please let me know if I made any mistake in that (or any) field.
-
Is a good practice to avoid creating classes to style in CSS?
-
Let's say that we have in a project two buttons with the same class, and we need to create an event to each one (differents). Is it better to call them from JavaScript using className Selector or should I give an id to each one and call them separately?
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord