Using html, css and JavaScript. Create the below. Just use any image

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Using html, css and JavaScript. Create the below. Just use any image

1) First, we need to add an onclick event to the checkbox with the ID "check1" in
movies_ex3.html. You will do this much like you did Step 1 of Exercise 2. When the checkbox
is clicked, we want to call a function that we will name checkUncheck1 ().
onclick="checkUncheck1 ()"
2) Then, we need to write the checkUncheck1 function in movies_ex3.js. Remove the lines
that we ask you to remove in the javascript file in order to uncomment checkUncheck 1 (). Then
add each of the following commands where appropriate.
document.getElementByld ("poster").style.display="inline";
document.getElementByld("poster").style.display="none";
The 'if' statement in the javascript file will be used to determine if the image is displayed or not.
If the checkbox is checked, we should display it, but otherwise we should hide it. The image
below shows what you should see when the Movie checkbox is checked.
3) Mimic steps 2 and 3 above for toggling the image that is displayed in the Director and Actors
panel. If all three check boxes are checked, you should see three images.
Movie
Солярис
My Computational Thinking Kit
Ex2+3
Ex4+5
Director
Actors
A psychologist is sent to a space station orbiting a planet called Solaris to investigate the death of a doctor and the mental problems of cosmonauts on the station. He soon
discovers that the water on the planet is a type of brain which brings out repressed memories and obsessions.
Transcribed Image Text:1) First, we need to add an onclick event to the checkbox with the ID "check1" in movies_ex3.html. You will do this much like you did Step 1 of Exercise 2. When the checkbox is clicked, we want to call a function that we will name checkUncheck1 (). onclick="checkUncheck1 ()" 2) Then, we need to write the checkUncheck1 function in movies_ex3.js. Remove the lines that we ask you to remove in the javascript file in order to uncomment checkUncheck 1 (). Then add each of the following commands where appropriate. document.getElementByld ("poster").style.display="inline"; document.getElementByld("poster").style.display="none"; The 'if' statement in the javascript file will be used to determine if the image is displayed or not. If the checkbox is checked, we should display it, but otherwise we should hide it. The image below shows what you should see when the Movie checkbox is checked. 3) Mimic steps 2 and 3 above for toggling the image that is displayed in the Director and Actors panel. If all three check boxes are checked, you should see three images. Movie Солярис My Computational Thinking Kit Ex2+3 Ex4+5 Director Actors A psychologist is sent to a space station orbiting a planet called Solaris to investigate the death of a doctor and the mental problems of cosmonauts on the station. He soon discovers that the water on the planet is a type of brain which brings out repressed memories and obsessions.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Properties of CSS
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education