Design comparison
Solution retrospective
I thought the organization of my JS code was very good, and easy to follow. Doing easy projects like this helps me reinforce the different logical aspects of working with JS. variables, functions, event listeners, etc.
What specific areas of your project would you like help with?Any feedback on my JS would be great!
Community feedback
- @Alexandru736Posted 2 months ago
Hi @dolapobj!
Nice project! The logic in the JS file looks great. Regarding the styling updates you need to make when you click the buttons, I believe that you should make use of ARIA attributes. For example, the way your tip buttons work is the same as radio buttons. Therefore, you could use
aria-checked
. Another thing, this time regarding the HTML tree, avoid usingdivs and spans
as much as possible. This recommendation comes from using HTML semantics more. They make web accessibility a lot easier.Keep up the good work!
Best, Alex
0
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