Skip to content

rutherfordaaron/tip-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Tip calculator app solution

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.

Table of contents

Overview

The challenge

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

Screenshot

Links

My process

Built with

  • Flexbox
  • CSS Grid
  • React - JS library

What I learned

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.

Continued development

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.

Useful resources

  • 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.

Author

About

Tip splitting calculator challenge from codementor.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published