Solution for a challenge from frontendmentor.io.
This challenge will test both your layout and state management skills. As visitors make pledges, your goal is to keep track of the changes.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Make a selection of which pledge to make
- See an updated progress bar and total money raised based on their pledge total after confirming a pledge
- See the number of total backers increment by one after confirming a pledge
- Toggle whether or not the product is bookmarked
- Semantic HTML5 markup
- CSS custom properties
- Grid & Flex
- Desktop-first responsive workflow
- Vanilla JavaScript
A very easy project to keep updated with the Frontend Mentor projects and remember the basics!
- Figma - Paste your design image to check the size of containers, width, etc.
- Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.
A big thank you to anyone providing feedback on my solution. It definitely helps to find new ways to code and find easier solutions!