Question: Assignment 1 : Inch - To - Cm Converter Description Write an Angular mobile application ( using visual studio code ) to convert inches to
Assignment : InchToCm Converter
Description
Write an Angular mobile application using visual studio code to convert inches to centimetres and vice versa. Both values in the input text
fields should be automatically synchronized bidirectional data binding using Angular data binding technique. For
the inch it allows to enter a decimal or fractional number, for example, or For centimeter
it only allows a decimal number, for example,
The application must be responsive to fit in any mobile device width eg pixels for either portrait or landscape
mode, and to place input boxes in a row without clipping.
Option A max points
Must use Angular framework.
Must be responsive the page must fit in at least pixelwide device width
Must use Angular data bindings ngModel or signal to sync the values of both elements.
Must label clearly "inch" and cm for the elements.
Must accept either a decimal or a fractional number, such as or for the "inch" cinput element.
Must accept only decimal number, such as for the cm element.
Must define a constant for the conversion formula, for example FACT
Must display the conversion with units, eg
Must define toDecimalfractionstring function to convert a fractional string to a decimal number up to
digit accuracy
Must test your toDecimalfroctionString in your constructor or ngOnInit with the following decimal inches
using console. or Logger.
toDecimal
toDecimal
toDecimal
toDecimal
toDecimal:
toDecimal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
