In this frontend challenge, you'll build a Feedback Modal Component. This challenge is perfect for you if you've been learning CSS and JavaScript and are looking to practice what you've learned by building something new and beginner-friendly.
About the Challenge
In this frontend challenge, you'll build a Feedback Modal Component. This challenge is perfect for you if you've been learning CSS and JavaScript and are looking to practice what you've learned by building something new and beginner-friendly.
You can use as many (or as few) tools, libraries, and frameworks as you'd like. If you're trying to learn something new, this might be a great way to push yourself.
Challenge Requirements
The Feedback Modal Component should be triggered by a button, and it should appear as a modal overlay on top of the current page.
The modal should include a rating scale that allows users to rate a product on a scale of 1 to 10.
Users should be able to select a rating by clicking on a number in the scale.
The modal should close when the user submits their feedback.
The modal should get closed by clicking on a “Cancel” button or by clicking outside of the modal.
Show the hover state of all the elements.
The component should be responsive and display correctly on different screen sizes.
Make this landing page look as close to the design as possible.
Taking your Project to the Next Level
Use a framework like React, Vue, or Svelte. Or, if you're feeling particularly adventurous, try writing everything in Vanilla JavaScript.
In this frontend challenge, you'll learn how to build interactive UI components using CSS and JavaScript. You will learn to use CSS flexbox to create responsive UI components. Additionally, you will also learn to handle the open/close functionality of a modal. You're going to love it! So what are you waiting for?
Getting Started
To get started, download the starter code(zip file).
Take a look around. Look at the project's Figma file. This is a great way to see how the pieces and parts should look within the browser.
Open the project's README.md file. It has additional information about the challenge.
Customize your project/file architecture to your liking.
Happy coding! 👍
Get Involved with the Community
Join our Discord community and share your solutions with others. Ask questions and get answers from the fellow developers, help others and get involved with the community.
It's an amazing place to learn and grow as a developer, and we'd love for you to be a part of it!
So, what are you waiting for? Click on the download button to get started.
Frequently Asked Questions
What is a frontend challenge?
A frontend challenge is a coding project or task that requires you to use HTML, CSS, JavaScript, or frontend frameworks and libraries like ReactJs or NextJs to create a frontend project or UI component. It's a great way to practice your coding skills, build your portfolio and showcase your frontend skills to potential employers.
How can these frontend challenges help me improve my skills as a frontend developer?
Frontend challenges can help you improve your skills as a frontend developer in several ways. By building these real-world frontend projects, you can gain practical experience with various frontend technologies and learn how to apply them to solve complex problems.
Can I use external libraries or frameworks in my frontend challenge submission?
Yes, absolutely! We're providing the vanilla HTML, CSS and JavaScript files, but you can use whatever tools and frameworks you'd like. We can't wait to see what you come up with.
What is the best way to get help when I'm stuck?
We have a great community of developers that are happy to help out with your project. You can join our Discord server and chat with other developers or post questions in our #help channel.
Can I add this frontend project in my portfolio?
Absolutely! These projects are perfect for your portfolio, and they're a great way to show off your web development skills. But, be honest about the work that you did.