Modify your surface.html page so that it ensures that both the height and weight values entered by the user are positive values. If either of the values in the text boxes is less than or equal to 0 when the button is clicked, then the surface area should be displayed as NaN. Otherwise, the surface are should be calculated and displayed as before.

What will be an ideal response?


```







Mosteller Formula





Mosteller Formula



Height: inches
Weight: pounds








```

Computer Science & Information Technology

You might also like to view...

MC When an object is created, it said to be______ .

a) instantiated. b) referenced. c) casted. d) None of the above.

Computer Science & Information Technology

To make the best use of your To-Do list, you should review it often to identify tasks that can be marked as completed, removed, or updated.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In the If…Then…Else statement, the condition must be a(n) ____ expression.

A. arithmetic B. conditional C. constant D. Boolean

Computer Science & Information Technology

When you place an image in a frame, the frame displays a ____, which is a graphical representation of the original image file and not the file itself.

A. shadow B. mask C. preview D. rendering

Computer Science & Information Technology