loader image

Azaber Portfolio

azaber logo

What To Tip

SPA (Single Page Application) that calculates how much you should tip based on the order price, number of people and tip %.

Tech stack

The Goal

This was for me to test if I can use React hooks without any tutorials. I also timed myself and tried to make this within an hour.
I completed this in around 40 minutes.
What To Tip

My process

Design

First I tried to come up with a basic design, its not my best but I wanted to finish this task within the time frame.

Develop

After the design was done I started the coding, still adding comments so if someone else wants to look at the code it will be easy for them to understand.

Testing

I finally tested the application with different values and tried incompatible value types to make sure the calculations and input validation was working.

The Result

Project result


I managed to finish the short project within the time frame with no errors. I think this is a good project for practice.

Learn

What I learnt


This project was practise for me to use my knowledge and also complete a task as quick as possible without cutting corners.