
javascript
Authored by Dania Bioncio
Computers
10th Grade
Used 2+ 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
Inside which HTML element do we put JavaScript?
<js>
<javascript>
<script>
<scripting>
script
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct JavaScript syntax to change the content of the HTML element below?<p id="demo">This is a demonstration.</p>
#demo,innerHTML="Hello World!";
document.getbyName("p").innerHTML = "Hello World!";
document.getByIdElement("demo").innerHTML = "Hello World!";
document.getElement("p").innerHTML = "Hello World!";
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
where is the correct place to insert javascript?
The <head> section
The <body> section
The <Title> section
Both <body> and <head> section
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The external JavaScript file must contain the <script> tag.
true
false
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a function in JavaScript?
function:myFunction()
function myFunction()
function = myFunction()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you call a function named "myFunction"?
call my function myFunction()
myFunction()
call MyFunction()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you add a comment in a JavaScript?
//This is a comment
'This is a comment
<!--This is a comment -->
*This is a comment*
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?
Similar Resources on Wayground
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
12 questions
BAI 25_TINHOC
Quiz
•
10th Grade
15 questions
Access 2013 - 4(consultas)
Quiz
•
10th Grade
10 questions
Bitmap v Vector Images
Quiz
•
KG - University
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
15 questions
Bluetooth and Wi-Fi Quiz
Quiz
•
7th Grade - University
10 questions
Diagramas de Flujo
Quiz
•
7th - 10th Grade
12 questions
Web II: CSS Positioning
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade