Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: 1. Make a folder or project named a2 -lastname--firstname 2. Make a HTML file and save it with the name index.html within the a2-firstname-lastname

image text in transcribed

Instructions: 1. Make a folder or project named a2 -lastname--firstname 2. Make a HTML file and save it with the name index.html within the a2-firstname-lastname folder. 3. The tag should read: Assignment#2 for <your name>. 4. Display the following information in <h1> tag as heading in the index.html page: WEB PROGRAMMING Assignment 2 Your Firstname Lastname 5. Add any background color, border, text color for H1 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 </h1><p> tag below the buttons. a. The result must be rounded off to two decimal places, along with the units. b. Display the result in different color. C. Don't use any message boxes such as alert() or prompt(). 11. Add a button that clears the content of the textbox and the </p><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_Jscripts folder. 13. Design the layout and appearance of the HTML page by using CSS</p></your>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago