Web Development Mastery

Quiz
•
Information Technology (IT)
•
Professional Development
•
Easy
Mohammad Allam
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you center a div using Flexbox?
Set the parent div to 'display: flex; justify-content: center; align-items: center;'
Set the parent div to 'display: block; margin: auto;'
Apply 'text-align: center;' to the parent div
Use 'display: grid; place-items: center;' on the parent div
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in JavaScript?
A function in JavaScript is a type of variable that cannot be reused.
A function in JavaScript is a reusable block of code that can take inputs, execute logic, and return a value.
A function in JavaScript is a single line of code that performs a task.
A function in JavaScript is a method that only returns a value without taking inputs.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between function scope and block scope in JavaScript?
Function scope restricts variable access to the function, while block scope restricts access to the block.
Block scope allows access to variables outside the block.
Function scope allows access to all variables globally.
Function scope is only applicable to loops and conditionals.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you make a website responsive to different screen sizes?
Avoid using any CSS styles.
Use only fixed pixel sizes for layout.
Implement JavaScript for all layout changes.
Use CSS media queries, flexible layouts, and scalable images.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to select an element in the DOM?
getElementsByTagName
getElementsByClassName
getElementById
querySelector
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the text content of an HTML element using JavaScript?
document.getElementById('elementId').innerHTML = 'New Text';
document.getElementById('elementId').setText('New Text');
document.querySelector('#elementId').text = 'New Text';
document.getElementById('elementId').textContent = 'New Text';
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'display' property in CSS?
To add animations to elements on a web page.
To define the color of text on a web page.
To specify the font size of elements.
To control the layout and rendering of elements on a web page.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Quiz tentang Layout Responsive dengan HTML dan CSS

Quiz
•
Professional Development
15 questions
EVOLUÇÃO DOS DISPOSITIVOS MOVÉIS

Quiz
•
Professional Development
15 questions
Manipulação de Arrays em React Native

Quiz
•
Professional Development
13 questions
Exploring Information Technology Concepts

Quiz
•
Professional Development
10 questions
[FE] Ice Breaking - React Fundamentals: Building Interactive Use

Quiz
•
Professional Development
15 questions
Mastering CSS Concepts

Quiz
•
Professional Development
15 questions
Quiz1 30.07.2025

Quiz
•
Professional Development
8 questions
Programing dan AI

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development