Design comparison
SolutionDesign
Solution retrospective
Hi everyone, I was struggling to get the the first indicators looking active when selecting a page in Mozilla Firefox. In Chromium everything works fine. I made it work by using a querrySelector to get the first element and switch its aria-selected-attribute to "true". So I hadn't to write If-Clauses in the map-Functions, which render the Indicator-elements. Is there a better or easier practice to acquire this effect?
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