How to Create and Use External JavaScript Files

How to Create and Use External JavaScript Files

University

10 Qs

quiz-placeholder

Similar activities

Creating a document

Creating a document

1st Grade - Professional Development

9 Qs

FILMS / All Clear / klasa 7

FILMS / All Clear / klasa 7

6th Grade - University

15 Qs

Legal Vocabulary 3

Legal Vocabulary 3

University

10 Qs

ENG IV - QUIZ No II - TAGS Q & P.P

ENG IV - QUIZ No II - TAGS Q & P.P

University

10 Qs

Unit III: Structure of the contract

Unit III: Structure of the contract

University

15 Qs

UHB 3331 REVISION

UHB 3331 REVISION

University

12 Qs

English II

English II

University

10 Qs

"The Free-Rider Continent"

"The Free-Rider Continent"

University

10 Qs

How to Create and Use External JavaScript Files

How to Create and Use External JavaScript Files

Assessment

Quiz

English

University

Practice Problem

Hard

Created by

Marina Savintceva

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language is used to create external JavaScript files?

Java

Python

PHP

Ruby

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if JavaScript occupies a large part of the content of a web page?

What happens if JavaScript occupies a large part of the content of a web page?

It makes it difficult to reuse JavaScript functions on other pages

It improves the page ranking in search engines

It does not affect the operation of the web page

It speeds up the page loading

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the attribute that tells the browser where the external JavaScript file is located?

url

link

src

href

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What suffix is commonly used for JavaScript files?

.css

.php

.html

.js

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'src' attribute do in a script tag?

Specifies the path to an external JavaScript file

Creates animation

Sets the background color

Sets the font size

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you refer to an external JavaScript file from any web page?

Using the 'link' tag

Using the 'script' tag

Using the 'style' tag

Using the 'div' tag

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какой тег используется для обозначения начала и конца JavaScript кода в HTML?