The output of the below code is:
<p id="demo"></p>
<script>
var text = "";
var i;
for (i = 0; i < 5; i++) {
text += "The number is " + i + "<br>";
}
document.getElementById("demo").innerHTML = text;
HTML, CSS, Javascript

Flashcard
•
Computers
•
11th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

19 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
2.
FLASHCARD QUESTION
Front
Which of the following is the largest heading? h2, h3, h4, h6
Back
h2
3.
FLASHCARD QUESTION
Front
HTML tag that defines a division or a section in an HTML document
Back
div
4.
FLASHCARD QUESTION
Front
HTML tag defines a hyperlink
Back
5.
FLASHCARD QUESTION
Front
Symbol used in JavaScript to define a program block
Back
{ }
6.
FLASHCARD QUESTION
Front
Symbol used to end a JavaScript statement
Back
;
7.
FLASHCARD QUESTION
Front
It adds interactivity to web pages.
Back
JavaScript
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
HTML & CSS Basics

Flashcard
•
9th - 12th Grade
14 questions
jueves_3_abril

Flashcard
•
9th - 12th Grade
11 questions
HTML & CSS

Flashcard
•
10th - 12th Grade
15 questions
HTML Tables 1

Flashcard
•
9th - 12th Grade
15 questions
ความเข้าใจพื้นฐานเกี่ยวกับ Frontend

Flashcard
•
University
14 questions
Html e css

Flashcard
•
12th Grade
15 questions
Introduction to Web Development Flashcard

Flashcard
•
11th Grade
9 questions
Easy

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University