Skip to content

Commit 394c23d

Browse files
feat: solved 1st stage of the Hyperskill project "Chalkboard Printer"
1 parent 871898f commit 394c23d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

hyperskill/08_chalkboard_printer/01/.gitkeep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// We have imported the 'sync-input'
2+
// This package allows you to get user input.
3+
// Like so:
4+
// let name = input("Type your name: ");
5+
// let age = Number(input("Type your age: "));
6+
7+
const input = require('sync-input');
8+
9+
const name = "Bart";
10+
const surname = "Simpson";
11+
const message = "I will not skateboard in the halls.";
12+
13+
for (let i = 0; i < 5; i++) {
14+
console.log(`This is ${name} ${surname} and ${message}`);
15+
}

0 commit comments

Comments
 (0)