I need help with creatufb this HTML. Thank you. Create an HTML form that has one input text field for your Fahrenheit degrees Add a hidden field to the form, use this field to indicate the form is submitted Add a submit button to the form Make sure the form posts to the same file in the "action" Add the PHP code for: On load, populate the input text field with some default degree value, like 87 On Submit, or POST, read the input field value submitted and convert the value to a Celcius degree Use the standard formula (X°F − 32) × 5/9 = Y°C (where 5/9 = 0.5556) Display the resulting Celcius degrees Y°C in the page after you calculate the result, along with the rest of the form, so you can submit again another value
I need help with creatufb this HTML. Thank you.
Create an HTML form that has one input text field for your Fahrenheit degrees
Add a hidden field to the form, use this field to indicate the form is submitted
Add a submit button to the form
Make sure the form posts to the same file in the "action"
Add the PHP code for:
On load, populate the input text field with some default degree value, like 87
On Submit, or POST, read the input field value submitted and convert the value to a Celcius degree
Use the standard formula (X°F − 32) × 5/9 = Y°C (where 5/9 = 0.5556)
Display the resulting Celcius degrees Y°C in the page after you calculate the result, along with the rest of the form, so you can submit again another value
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images