Responsive web app made with JS and CSS

Solution retrospective
For this challenge I applied the preferred user theme by setting a 'data-theme' attribute on the root element (instead of applying a theme to each individual element). I attempted to use radial buttons to switch the user theme but I might come back and refactor parts of this. Feels like I might have made it too complicated.
I enjoyed this challenge a lot but wanted so badly to build it with React 😉
Let me know what you think!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Dudeldups
Hello 👋🏻
There seems to be an issue in your JS:
Your
getUser
function doesn't work, you are using a variable inside the function before initialization.Also both the classname and id for your form element are a bit misleading, I think mentioning the word "form" in any way would be more suitable.
search-submit
sounds more like the submit button 🙂Marked as helpful
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