Interactive Rating Component Main Solution - HTML + CSS + JS

Solution retrospective
Things I found difficult:
- centering the modal vertically
- dynamically sizing containers
- how to think of CSS when making larger projects (how to make wise CSS choices that not only work, but are maintainable)
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@jonnywillrees
Some small things I would suggest is create a script.js file in the project root and then link to it at the very bottom between your <body></body> tags.
This way you will get much better intellisense and code format if you are using an editor like VS Code. Also you won't have to add an event listener to the window to check if everything has rendered before running the javscript code.
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