Filtering with lots of animation using CSS and JS

Solution retrospective
This was an interesting challenge. However, I think it would have been much better to complete it using React or some other JS framework. Anyway, I decided to make the site with pure JS and HTML, CSS (with lots of copy & paste) π
Functionality:
- Click filter tablets to select the right jobs;
- Click on the job title to move the page to the top;
- Press "ESC" key or click "Clear" button to remove all the filters;
- You can also TAB through all the job vacancies and chosen filters using "tab" button (or shift + tab to go backwards);
Bugs & small issues:
- π In Firefox the clicking sound doesn't work well. (It either doesn't sound the way it should or not sound at all.) The "remove" sound works all right, though.
- β Firefox depicts "Γ" (the one that you see on the "remove filter" button) in a different way, which isn't pretty at all.
P.S. I created the JS functionality without using "data-*" attributes in HTML, which was advised in README.md. Probably, I'm missing out on something and don't understand the right way of going about this π
As always, any feedback would be highly appreciated π
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ApplePieGiraffe
Hi there, Bonrey! π
Amazing job on this challenge! π Those animations are pretty sweet and I love the sound effects you added to your solution! π€© Everything works great and I like your idea to add some extra keyboard functionality! π
Keep coding (and happy coding, too)! π
- @vincitaylaran
I love the work you've put into the animations. The animations don't ruin the user experience for me. They're also quite satisfying with the sound they make and the way they animate in and out of view. I tried doing that myself when I attempted this challenge but kinda failed.
Fantastic work!!!
Join 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