Originally a University assignment to design a calculator tool using form inputs to gather health information about an individual to estimate their 10-year cardiovascular risk.
The objective was to create a single-page-application that utilises JavaScript to give the illusion of multiple pages.
A model-view-controller approach was followed.
A stateful architecture was implemented to support the user's navigation through the application. A main.js file was used to manipulate the state object and simultaneously update the HTML DOM elements.
A welcome screen was created to serve as the default home position with a "Get Started" button as the entry point into the application. Users can then use "Next", "Previous", and "Start Over" buttons to navigate through the screens.
JavaScript was used to enrich the user experience by updating the UI when the user interacts with controls. Pink and blue accent colours were picked for the button elements to focus the attention of the user. Iconography, bright vibrant colours, hover effects, and shadows were used to build interest in the user.