
WEB L7
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Practice Problem
•
Easy
Alaa Ahmad
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which syntax is used to change the text color of an element with id="title" in JavaScript?
document.style("title").color = "red";
document.getElementById("title").style.textColor = "red";
document.getElementById("title").style.color = "red";
document.style("title").color = "red";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if
prompt("What is your name?")
is left empty?
username is an empty string (" ")
The page reloads
JavaScript throws an error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let title = document.getElementById("title");
What will
title.innerHTML = "Hello " + username;
do?
Create a new HTML element
Update the HTML content of an element with id "title"
Log a message to the console
Display a prompt asking for the user's name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of addEventListener() in JavaScript?
To execute a function when a specified event occurs
To loop through an array
To create a new HTML element
To modify CSS styles dynamically
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of media query in CSS?
To create animation
to apply styles based on the device characteristics
to add java script to CSS
to change HTML
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which device width range does the following media query cover?
@media (min-width: 400px) and (max-width: 768px)
Less than 400px
Greater than 768px
Between 400px and 768px
All screen sizes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid media query?
@media screen-width: 768px
@media (max-width = 768px)
@media (max-width: 768px)
media @ (min-width: 500px)
Create a free account and access millions of resources
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?
Similar Resources on Wayground
15 questions
Kelas 7 - Halaman 74 (UH Bab 4)
Quiz
•
7th Grade
12 questions
Computer Network Connection
Quiz
•
8th Grade
14 questions
Career and Business Opportunities in Agriculture Quiz
Quiz
•
7th Grade
14 questions
Explorando Gmail
Quiz
•
6th Grade
10 questions
Uji Pemahaman Microsoft Word
Quiz
•
8th Grade
10 questions
PH SISKOM 2
Quiz
•
7th Grade
10 questions
INFORMATIKA 2
Quiz
•
8th Grade
10 questions
informatika ceria
Quiz
•
7th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
23 questions
Academic Vocabulary Pre-assessmsent
Quiz
•
6th Grade
21 questions
Convert Fractions, Decimals, and Percents
Quiz
•
6th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Exponents
Quiz
•
6th Grade
