How to Create and Use External JavaScript Files

How to Create and Use External JavaScript Files

University

10 Qs

quiz-placeholder

Similar activities

IEN 217: Review "writing a business description for websites (1)

IEN 217: Review "writing a business description for websites (1)

University

15 Qs

SoS The story message-Introductions

SoS The story message-Introductions

University

11 Qs

Exercise grade 4 (unit 6)

Exercise grade 4 (unit 6)

4th Grade - University

11 Qs

LSC 1103 Reports: problem & purpose statements + subtopics

LSC 1103 Reports: problem & purpose statements + subtopics

University

10 Qs

ENG115 Midterm Grammar (Quantifiers & Tag Questions)

ENG115 Midterm Grammar (Quantifiers & Tag Questions)

University

15 Qs

Types of Assessments

Types of Assessments

University

10 Qs

Traditional games in Uruguay

Traditional games in Uruguay

8th Grade - University

15 Qs

Educational Technology.

Educational Technology.

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?