Question: help me with javascript code below is html below is javascript need help with the red circled part this is instruction. In script.js, write the

help me with javascript code

below is html

help me with javascript code below is html below is javascript need

below is javascript

need help with the red circled part

help with the red circled part this is instruction. In script.js, write

this is instruction.

  1. In script.js, write the fahrenheitToCelsius function where indicated. The fahrenheitToCelsius function should have one parameter named fahrenheit, representing a Fahrenheit temperature. If fahrenheit is a finite number, your function should return that temperature converted to Celsius. If fahrenheit is not a finite number, your function should do nothing (the value undefined will be automatically returned).
  2. In script.js, notice the event handler that runs when the user clicks the button with id equal to calc-celsius-temp; it reads the input as a number and calls your fahrenheitToCelsius function to store the converted temperature in the outputNumber variable. Finish it by writing one line of code where indicated in the event handler. It should output the variable outputNumber to the element with id equal to celsius-output with exactly two (2) digits after the decimal point.
°C

L

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!