Question
create an Angular App o Create a page that inputs 2 numbers ? Add CSS support for the inputs ? When the input for either
create an Angular App o Create a page that inputs 2 numbers ? Add CSS support for the inputs ? When the input for either field is not a number >= 0 o change the font to bold and red to show an error o font should change back to NOT bold and black when the input is valid ? Test cases for the inputs ? Any value -1 or less should cause the button to be disabled ? value => 0 should be considered a valid input ? Any text values should cause the field to be disabled
o Provide a button to calculate the results ? When clicked the application should take the 2 numbers and multiply them using a directive ? The calculate button should only be enabled when both inputs have a valid number entered in it
o When I access the application it should check the database and load the last inputs and results if they exist ? Requires database and service portions to be completed
- Mongo/MySQL/SQLServer/Oracle o Create a database that you can save the 2 inputs and the results of the calculation o The type of database is up to you, Mongo or MYSQL are preferred but not required - NodeJS restful service o Create a simple service that has two paths: /saveData, /getData o This service should take the inputs and results and save them in the database o Should also provide a way to read the data from the database and populate UI
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started