This is a solution to the Tip calculator app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Calculate the correct tip and total cost of the bill per person
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Flexbox
- CSS Grid
- React - JS library
I learned a lot during this project, as this was the first project I've ever done with not only React, but JavaScript. The biggest learning curve was understanding how to structure the app. First going in, I tried building everything inside App.js as one big component. It didn't go well.
I also learned alot about props and how to pass state from the parent component into the children component via props.
I also learned how to customize styles based on a state value.
I want to continue focusing on React apps. React seems incredibly powerful and I want to make larger, more intricate apps. Plus, I have a lot to learn.
- Sitepoint React Calculator Tutorial - This helped me understand how to structure a react application. It also showed me what a wireframe was. This was very helpful for planning out my own program.