Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

countdown javascript

// To make a countdown you can use a for loop and console.log(msg);

console.log("We have liftoff in T minus...");
for (let i = 10; i >= 0; i--) {
	console.log(i);
}
console.log("We have liftoff!");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #countdown #javascript
ADD COMMENT
Topic
Name
6+6 =