PROJECT TRACKER INTRO COMP đ¯ [ ACCESSIBLE - ES6 - BEM - VANILLA CSS ]

Solution retrospective
đž Hello, Frontend Mentor Community,
This is my solution for the Project Tracker Intro Component.
- Scored
98.4%
on Google Pagespeed Insights! 𤊠- Added outline for interactive elements like
buttons
,a
to ensure better accessible solution - Minified the
css
&js
files to improve site performance đ - Used
Prettier
code formatter to ensure unified code format âī¸ - Layout was built responsive via mobile first workflow approach đ˛
- Had a lots of fun while building this challenge ! đ¤
- Feel free to leave any feedback and help me to improve my solution đĄ
Thoughts :
- My primary goal during building this project is to build it accessible as much as possible. In the end i figured about how we can make accessible hamburger menu for Mobiles without affecting the horizontal menu for Desktops.
- The Hamburger menu for mobile will support
Enter
,Space
,â
to open the menu, and then we can useâ
to traverse the menu items. - Used
inclusive-menu-button
script byHeydon
to quickly implement these functions. Actually this script was build for dropdown menu, in our case we use for Hamburger menu. - The edge case i faced is to apply implement these logics on for mobile devices, so that i added conditionals to watch
window
size whether it's mobile or not & useswatchMedia
api to set these logics otherwise the logics won't be applied - The
watchMedia
is not added as a eventListener, So if you try to switch Desktop to mobile in RWD Mode then the Hamburger menu will won't work, I'll try to add an event listener for that - Feedback regarding these implementations are also welcome!
.
đ¨âđŦ Follow me in my journey to finish all junior challenges to explore solutions with custom features and tweaks
Ill be happy to hear any feedback and advice !
Please log in to post a comment
Log in with GitHubCommunity feedback
- @SalahShadoud
nice work here mate <3
- i think the menu button is not working :')
- for the
attribuation div
they gave with the file, i always make itsposition: absoulte
bottom: 0
left: 50%
transform: translateX(-50%)
so i can get rid of the overflowing by the y-axis
keep up the hard work man <3
- @marcosaureliosl
ParabÊns, excelente resultado.
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