Design comparison
SolutionDesign
Solution retrospective
Hi there š, This is my solution for this challenge.
š Features:-
- Achieved 95% Accessibility, 100% SEO, 100% Performance and 95% Best Practices in Desktop Lighthouse. š
- Achieved 95% Accessibility, 100% SEO, 100% Performance and 95% Best Practices in Mobile Lighthouse. š
- Styling implemented using Tailwind CSS šØ
- Reading data on JSON file & rendering it to the JavaScript using JSON.parse( ) š
- For loop method & If else statement in JavaScript š
- Document Object Module ( DOM ) š
- classList.add/remove( ) in JavaScript. š
- onmouseover & onmouseout attributes for showing bar results while hovering. āØ
- FlexBox š¦
- Code formatted using Prettier š»
The issue I've stumbled into was that I wanted to show the results of each bar while hovering individually on each bar using JavaScript, I've tried several ways in my JavaScript coding but couldn't achieve it and instead shows all of the results together, If anyone could check the script.js and suggest to me a better way for showing the results individually, I'll be very appreciated.
I'll appreciate any suggestions & feedback to achieve better performance.
Thank you. āļø
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