# Do Programming Challenges #1, 2, and 3 on pages 211-212 Put your solutions in a folder lab5, zip it and submit it Use the following PC_3-1.html PC_3-2.html PC_3-3.html Function getAlert for PC_3-2.html #1. Save it as number1.html NOTE: the for

I need help with a Javascript question. All explanations and answers will be used to help me learn.

Do Programming Challenges #1, 2, and 3 on pages 211-212

Put your solutions in a folder lab5, zip it and submit it

Use the following PC_3-1.html PC_3-2.html PC_3-3.html

#1. Save it as number1.html

NOTE: the formula for conversion from Fahrenheit to Celsius is incorrect in the book.

It should be Fahrenheit = (Celsius * 9/5) + 32

First prompt the user for C or F (whether the temperature will be input as Celsius or Fahrenheit)

Then prompt the user for the temperature, and display the converted temperature followed by either a C or F.

For example, the first prompt :”Will the temperature be input in Celsius or Fahrenheit? Enter C for Celsius, F for Fahrenheit”

Second prompt: “Enter the temperature to be converted”

If the user entered F and 32, the output would be: 32 degrees F = 0 degrees C

#2. You can add code to number1.html so you don’t need a separate file for this. After you have output the converted temperature, then put one of the comments on the page . In the example I gave (temp of 32 degrees F) you would write “Pretty cold with a chance of snow” You will need to write nested if statements for this part. Save as number2.html.

#3. Again, nested if statements. Save in the Chapter3 folder as number3.html

<a href="https://sxu.instructure.com/courses/19767/modules/items/498042" role="button" class="Button module-sequence-footer-button–previous" data-tooltip="right" data-html-tooltip-title=" Lab 3″ aria-describedby=”msf0-previous-desc”>Previous