
Web development 1
Authored by Pelumi Aceall
Other
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When you type a URL in a browser and hit Enter, what is the first thing the browser does?
When you type a URL in a browser and hit Enter, what is the first thing the browser does?
Makes a DNS request to resolve the domain
Sends an HTTP request to the server
Fetches the JavaScript files from the server
Starts rendering the page
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What happens if you use an invalid HTML tag, like <txt>?
What happens if you use an invalid HTML tag, like <txt>?
The browser throws an error
The tag is ignored, and the rest of the page renders normally
The browser displays the tag as text
The browser automatically fixes the tag
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which CSS rule has the highest precedence in this list?
Which CSS rule has the highest precedence in this list?
Inline styles
Class selectors
ID selectors
External stylesheets
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following JavaScript code?
console.log(2 + 2 + '4')
What will be the output of the following JavaScript code?
console.log(2 + 2 + '4')
8
44
6
Error
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What HTML element is used to define a navigation menu?
What HTML element is used to define a navigation menu?
<nav>
<menu>
<ul>
<section>
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will happen if you try to print a variable that has not been declared in JavaScript?
What will happen if you try to print a variable that has not been declared in JavaScript?
The code will throw a reference error
The value will be undefined
The browser will automatically declare the variable
The value will be null
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If an element has a width of 200px and a padding of 20px, how wide will the element be?
If an element has a width of 200px and a padding of 20px, how wide will the element be?
200px
240px
180px
220px
Access all questions and much more by creating a free account
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?