
Frontend Web Development Bootcamp - Build a Twitter Clone - Make Post Modal Work
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What CSS property is used to hide the model initially?
position: absolute
opacity: 1
visibility: visible
display: none
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to select HTML elements in JavaScript?
getElementById
getElementsByTagName
querySelector
getElementsByClassName
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What event type is used to display the model when the button is clicked?
focus
keydown
click
mouseover
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the X closing button in the model?
To submit the form
To hide the model and enable the page
To refresh the page
To open a new tab
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to remove a class from an element in JavaScript?
deleteClass
removeClass
classList.delete
classList.remove
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the changeOpacity function?
To change text color
To adjust the opacity of elements
To change the background color
To hide elements
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which event is used to detect when a key is pressed in the input field?
keyup
keydown
input
keypress
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?