Question: The requirement for this exercise is to use JavaScript (together with CSS and HTML) to produce a dynamic table of data listing conversion weight in
The requirement for this exercise is to use JavaScript (together with CSS and HTML) to produce a dynamic table of data listing conversion weight in kilograms and pounds (lbs). The web page must obtain from the user the range (in kilograms or pounds) of the weights to be displayed and produce a table showing each weight in the range alongside its equivalent in the other unit, which must be displayed to exactly one decimal place. The user must be able to select whether the conversion is from kg to lbs or from lbs to kg. The JavaScript may be invoked by either a button-click of a menu selection. Table header cells must have a background colour that differ from data calls; alternative rows must have different text colours. Text box input fields should be used for the entry values for the start and end of the range. Validation must be performed for negative values.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
