Design comparison
Solution retrospective
Hi👋. This is my solution to the Room-Homepage challenge. I'm proud of the time spent thinking of CSS, it was much faster than before, and I was able to use grid-line-names to implement the layout in no time.
I also made sure that the carousel was progressively-enhanced. Without JavaScript, the carousel navigation buttons are faded out and the content is made a scrollable area, so that users can still access all their content. When the script comes in, then the complete functionality is implemented
I also added a dark mode, and in line with progressive enhancement, I made the primary navigation to always be seen, with or without JS
My stack as usual is HTML, SCSS, and TypeScript using Vite to bundle it all
If you have the time, check it out, and feel free to comment on anything in the code,
Happy Coding, Ayobami
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