Font size
WorksheetsLesson 1 - Webdev
Total questions: 9
Worksheet time: 5mins
What does HTML primarily provide for a website?
Styling
Structure
Behavior
Database connection
Which language is used to style the HTML structure?
JavaScript
CSS
PHP
HTML
What is the role of JavaScript in modern websites?
To provide structure
To connect to databases
To style the website
To add dynamic behavior
Which of the following is an example of a simple website?
Wikipedia
Stripe
PopWebDesign
Bruno Simon’s Portfolio
What is the purpose of CSS in web development?
To manage server-side logic
To style the HTML structure
To create database connections
To add interactivity
What does console.log() do in JavaScript?
Displays a popup alert on the screen
Outputs a message to the console
Create a new variable
Changes the color of the webpage
Which is the correct way to print "Hello World" to the console?
console.log = ("Hello World")
console.log("Hello World")
Which of the following correctly declares a constant named city with the value "Jakarta"?
variable city = 'Jakarta';
city is 'Jakarta';
To declare a constant in JavaScript, we use the keyword
constant
const
