Question: Use your code editor to open the project 0 2 - 0 1 _ txt . html and projectu 2 - 0 1 _ ixL.js

Use your code editor to open the project02-01_txt.html and projectu2-01_ixL.js and the date in the comment section of each file and save them as project02-01.html and project02-01.js, respectively.
Go to the project02-01.html file in your code editor and in the head section add a script element to load the project02-01.js file. Include the defer attribute to defer loading the external script file until the entire page is loaded. Study the contents of the HTML file and then save your changes.
Go to the project02-01.js file in your code editor. Create a function named FahrenheitToCelsius() containing a single parameter named degree. Insert a statement that returns the value of degree minus 32 and then divided by 1.8.
Create a function named CelsiusToFahrenheit() containing a single parameter named degree. Insert a statement that returns the value of degree multiplied by 1.8 plus 32.
Add an onchange event handler to the element with the id " CValue ". Attach an anonymous function to the event handler and within the anonymous function do the following:
cDegree equal to the value of the element with the id "cValue".
Use your code editor to open the project 0 2 - 0

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 Programming Questions!