
How to Create and Use External JavaScript Files
Authored by Marina Savintceva
English
University
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
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?
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?