Question: Create a simple unit conversion application using JavaScript. Implement the following unit conversions: From Celsius to Fahrenheit and vice vers From Feet to Meters and

Create a simple unit conversion application using JavaScript.

  1. Implement the following unit conversions:
    1. From Celsius to Fahrenheit and vice vers
    2. From Feet to Meters and vice versa.
    3. From Inches to Centimeters and vice versa.
    4. From Pounds to Kilograms and vice versa.
  2. Display a single textbox, and eight buttons for each conversion.
  3. Clicking on a button calls the respective JavaScript function to perform the conversion.
    1. Make use of unobtrusive JavaScript i.e. functions based.
  4. Display the result in a

    tag below the buttons.

    1. The result should be in two decimal places, along with the units.
    2. Dont use any message boxes such as alert() or prompt().
  5. Add a button that clears the content of the textbox and the

    tag, and sets the cursor in the textbox. (Textbox gets the focus).

  6. All the JavaScript code should be in a separate file, saved within the scripts folder.
  7. Design the layout and appearance of the HTML page by using CSS.
  8. CSS should be used to provide a better layout. Use professional design and background, no loud colorful backgrounds please.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!