wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 1 - Webdev

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.

What does HTML primarily provide for a website?

a)

Styling

b)

Structure

c)

Behavior

d)

Database connection

2.

Which language is used to style the HTML structure?

a)

JavaScript

b)

CSS

c)

PHP

d)

HTML

3.

What is the role of JavaScript in modern websites?

a)

To provide structure

b)

To connect to databases

c)

To style the website

d)

To add dynamic behavior

4.

Which of the following is an example of a simple website?

a)

Wikipedia

b)

Stripe

c)

PopWebDesign

d)

Bruno Simon’s Portfolio

5.

What is the purpose of CSS in web development?

a)

To manage server-side logic

b)

To style the HTML structure

c)

To create database connections

d)

To add interactivity

6.

What does console.log() do in JavaScript?

a)

Displays a popup alert on the screen

b)

Outputs a message to the console

c)

Create a new variable

d)

Changes the color of the webpage

7.

Which is the correct way to print "Hello World" to the console?

a)

console.log = ("Hello World")

b)

console.log("Hello World")

c)
echo 'Hello World'
d)
print("Hello World")
8.

Which of the following correctly declares a constant named city with the value "Jakarta"?

a)
const city = "Jakarta";
b)

variable city = 'Jakarta';

c)

city is 'Jakarta';

d)
define city = 'Jakarta';
9.

To declare a constant in JavaScript, we use the keyword

a)

constant

b)
define
c)
var
d)

const