Create a variable called carName, assign the value Volvo to it.
let ________ = "________"
JS - Knowledge Check
Passage
•
Computers
•
University
•
Medium
John Oli
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Create a variable called carName, assign the value Volvo to it.
let ________ = "________"
2.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Fill in the Blank( See Picture )
Display the sum of 5 + 10, using two variables: x and y.
3.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Fill in the Blanks ( See Picture )
Create a variable called z, assign x + y to it, and display the result in an alert box.
4.
FILL IN THE BLANK QUESTION
2 mins • 5 pts
Fill in the Blanks (See Picture)
On one single line, declare three variables with the following names and values:
firstName = "John"
lastName = "Doe"
age = 35
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Fill in the Blanks ( See Picture )
Make the function return "Hello".
6.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Fill in the Blanks ( See Picture )
Create a function called "myFunction".
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the correct JavaScript syntax to change the content of the HTML element below?
<p id="demo">This is a demonstration.</p>
document.getElementByName("p").innerHTML = "Hello World!";
#demo.innerHTML = "Hello World!";
document.getElementById("demo").innerHTML = "Hello World!";
document.getElement("p").innerHTML = "Hello World!";
21 questions
quiz 2nd/3rd year
Quiz
•
University
18 questions
Web Programming Lab PCS-693
Quiz
•
University
12 questions
HTML, JAVASCRIPT,XML
Quiz
•
University
13 questions
JavaScript
Quiz
•
University
15 questions
REACTOR
Quiz
•
University
18 questions
Debriefing B3
Quiz
•
University
20 questions
Quiz 2 Front-End Development
Quiz
•
University
15 questions
JavaScript basics
Quiz
•
8th Grade - University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade