
HTML, CSS, and JavaScript Basics
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
esraa emad
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the
The
The
The
The
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you link an external CSS file in HTML?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare a variable in JavaScript?
var x; // using var let y; // using let const z = 10; // using const
const z; // missing value
let = y;
variable x = 5;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access an HTML element by its ID in JavaScript?
document.getElementById('yourElementId');
document.getElementByIdById('yourElementId');
getElementById('yourElementId');
document.querySelector('#yourElementId');
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What attribute is used to execute JavaScript when a button is clicked?
onfocus
onclick
onchange
onhover
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does CSS stand for?
Computer Style Sheets
Cascading Style System
Creative Style Sheets
Cascading Style Sheets
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the background color in CSS?
background-color
color-background
background
bg-color
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: var x = 5; alert(x);?
10
undefined
5.0
5
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
