Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Make a folder named al-firstname-lastname. 2. Make a HTML file and save it with the name index.html within the al-firstname-lastname folder. 3. The tag
1. Make a folder named al-firstname-lastname. 2. Make a HTML file and save it with the name index.html within the al-firstname-lastname folder. 3. The tag should read: Assignment 1 for . 4. Display the following information in tag as heading in the index.html page: Assignment 1 Your Firstname Lastname Instructor: Sukhbir Tatla 5. Add a tag after the above heading. 6. Create a simple unit conversion application using JavaScript. 7. Implement the following unit conversions: a. From Celsius to Fahrenheit and vice versa. b. From Feet to Meters and vice versa. c. From Inches to Centimeters and vice versa. d. From Pounds to Kilograms and vice versa. 8. Display a single textbox on the page, and eight buttons for each conversion. 9. Clicking on a button calls the respective JavaScript function to perform the conversion. a. Make use of unobtrusive JavaScript. 10. Display the result in a
tag below the buttons. a. The result must be rounded off to two decimal places, along with the units. b. Don't use any message boxes such as alert 0 or prompt0. 11. Add a button that clears the content of the textbox and the p> tag and sets the cursor in the textbox. (Textbox gets the focus). 12. All the JavaScript code should be in a separate file, saved within the scripts folder (unobtrusive JavaScript). 13. Design the layout and appearance of the HTML page by using CSS
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