A front end website that compares an entered dates gold price (from 2019 onwawrds)... Then the react app compares the prices and offers you the ability to enter how many ounces you baught on that date to show how much money you have made!
This repo was created very late in the project as running npm audit fix --force
will actually break everyting, you can find the now decrepid repo at Jaorow/phase2Frontend
For Phase three I implemented five advanced fetures into my website
- UI Scalability with window size
- Mobile first development (using media query breakpoints, etc)
These first two requirements were rather easy to implement as i have worked with html and css before so knew my way around UI Scalability and Mobile First Dev using Meda Querys.
- The UI looked good on any ranges above 768px as is however when dropping below 768px ( large tablet size ) I changed the scaling percentage to fit the screen better, testing was made very easy with chromes build in screensize selector
- At least one fluid animation
I enjoyed making fluid animations with css Keyframes and animation methods so i made two animations inside my app
The first being a loading animation showen before the result is rendered and the second is the search button bouncing on hover
- Comprehensive unit testing
see
src/app.test.js
for unit testing. this task was much harder than the others as it was quite hard to find a tutorial showing how to test after an api call, testing the app before an api call was made was okay however simulating an api call and seeing the results proved more tricky
- Demonstration of complex FE logic
asuming Front end logic is coding logic in your front end app i compleated this by having a function that calculates the amount you have made of a set amount of gold.
- Progressive Web App (PWA) functionality w/ clear use of the service worker
After setting finding out that Front End Logic was in fact not logic on the front end of a web app and after spending many hours trying to learn and fiddlign with websockets (with no success) i settled on using a service worker to create a Progressive Web App.