d) Implement a simple "Hello World" HTML page. Using CSS and JavaScript, add a radio button that will allow the user to switch between day mode (i.e., white background, black text) and night mode (i.e., black background, white text). e) Implement HTML and JavaScript code that displays 3 text fields and a button. When a user inputs a number in the first text field and a number in the second text field and then clicks the button, the third text field should display the average of the two numbers.

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
d) Implement a simple "Hello World" HTML page. Using CSS and JavaScript, add a radio
button that will allow the user to switch between day mode (i.e., white background, black
text) and night mode (i.e., black background, white text).
e) Implement HTML and JavaScript code that displays 3 text fields and a button. When a user
inputs a number in the first text field and a number in the second text field and then clicks
the button, the third text field should display the average of the two numbers.
Transcribed Image Text:d) Implement a simple "Hello World" HTML page. Using CSS and JavaScript, add a radio button that will allow the user to switch between day mode (i.e., white background, black text) and night mode (i.e., black background, white text). e) Implement HTML and JavaScript code that displays 3 text fields and a button. When a user inputs a number in the first text field and a number in the second text field and then clicks the button, the third text field should display the average of the two numbers.
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage