Search Header Logo

Frontend File Setup

Authored by Faith Mwangi

Computers

Professional Development

Used 1+ times

Frontend File Setup
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you link a JavaScript file to an HTML document?

<body> <script>script.js</script>

</body>

<script href="script.js"></script>

<script src="script.js"></script>

<js>script.js</js>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you link a CSS file to an HTML document?

<head> <style>style.css</style>

</head>

<style href="style.css"></style>

<link rel="stylesheet" type="text/css" href="style.css">

<css>style.css

</css>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the roles of HTML on a webpage?

Used to style the content and layout of the webpage

Used to add interactivity and dynamic behavior to the webpage

Used to structure and define the content of a webpage

Used to retrieve data from a database

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the roles of CSS on a webpage?

Used to add interactivity and dynamic behavior to the webpage

Used to structure and define the content of a webpage

Used to style the content and layout of the webpage

Used to retrieve data from a database

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the roles of JavaScript on a webpage?

Used to add interactivity and dynamic behavior to the webpage

Used to structure and define the content of a webpage

Used to style the content and layout of the webpage

Used to retrieve data from a database

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the DOM

(Document Object Model)

A markup language used to define the content of a webpage

A programming interface for HTML and XML documents

A server-side scripting language

A client-side scripting language

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is DOM related to HTML?

It represents the visual design of a webpage

It is used to define the content of a webpage

It represents the structure of a webpage as a tree-like structure

It is used to add interactivity to a webpage

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?