Hello, welcome to my first Javascript project! 🎉 !
A calcultator for blockchain enthusiasts to understand:
- Which Nodes can they run with their current hardware
- Understanding the costs of running a node in a particular blockchain
- Getting a report with the CAPEX, OPEX and ROI
The UI asks for 5 pieces of data, the first 3 are relevant for the user flow. See below which one to enter to go through the different use cases:
- Use case 1: Insuficient hardware: enter the sequence 1, 1, 1
- Use case 2: Ethereum only: enter the sequence 3, 3, 3
- Use case 3: Gnosis only: enter the sequence 2, 5, 5
- Use case 4: Both: enter the sequence 5, 5, 5
Use case 3 will prompt a request to confirm if you want a report on both networks or pick one of them. Choose your own adventure.
first deliverable: functions, methods, variables and arrays Wireframe: img\wireframe.jpg Source: js\scriptPE1.js
Second deliverable: DOM, Local Storage handling Wireframe: img\wireframe.jpg Source: js\scriptPE2.js
Use a library (Sweet alert) Fetch data from an API (requirements.json) Async functions