Question
Create a web page that acts as a temperature converter. (HTML/JAVA) 1. The user should be given the option to enter the temperature in degrees
Create a web page that acts as a temperature converter. (HTML/JAVA)
1. The user should be given the option to enter the temperature in degrees Fahrenheit and the program will convert the temperature to degrees Celsius. (2 marks)
2. Alternatively, the user can enter the temperature in degrees Celsius and the program will convert the temperature to degrees Fahrenheit. (2 marks)
3. HTML Static Content - Instructions (1 mark) Be sure to explain to the user what your web application is supposed to do. Include details on how to use the application.
4. Programming Style and Standards (2 marks) It is a good idea to practice conforming to a set of programming standards. Refer to the posted summary of the Programming Standards used by the CP/CPA programs.
5. In-class Demo (2 marks) Your group will be providing in-class demos on the due date. Marks will be given for general knowledge of the submitted solution.
Enhancements: To receive full marks, you will be required to complete at least one of the following enhancements. The first completed enhancement is worth 1 mark. For each additional enhancement, you will receive 0.5 marks. Your final grade cannot exceed the maximum 10 marks.
1. HTML Dynamic Style - Colour Dynamically style the output based upon the resulting temperature. If the result is negative, make the text colour blue. If the result is positive, make the text colour red. If the result is equal to 0, make the text colour black.
2. JavaScript - User Input Range Set a constraint on the range of valid input values that the user may enter. You may choose the range based on any criteria that you wish to use.
3. JavaScript - Data Validation Do not accept non-numerical user input. Also, do not accept user input that would lead to a non-physical result. For example, the temperature scale does not drop below -273.15oC.
Deductions: (-1 mark) will be deducted for any errors or mistakes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started