From 50991a821d84002e20089e2c0cf30839429c2651 Mon Sep 17 00:00:00 2001 From: Luis Avecilla Date: Fri, 22 Dec 2023 03:12:55 -0500 Subject: [PATCH 1/2] says Hello World! --- hello.js | 4 +++- package-lock.json | 36 ++++++++++++++++++++++++++++++++++++ package.json | 4 +++- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 package-lock.json diff --git a/hello.js b/hello.js index 6f10866..32091bf 100644 --- a/hello.js +++ b/hello.js @@ -4,7 +4,9 @@ Enter your code on line 7 to print 'Hello, World!' to the console (the panel on the right) */ -console.log("Hello"); + + +console.log("Hello World!"); /* Next, PLAY! diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..3990714 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,36 @@ +{ + "name": "hello-world", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "hello-world", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "chalk": "^5.3.0", + "readline-sync": "^1.4.10" + } + }, + "node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/readline-sync": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", + "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==", + "engines": { + "node": ">= 0.8.0" + } + } + } +} diff --git a/package.json b/package.json index 33407b0..442cf67 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "hello.js", "author": "Launchcode", "license": "ISC", + "type": "module" , "dependencies": { + "chalk": "^5.3.0", "readline-sync": "^1.4.10" } -} \ No newline at end of file +} From 3c740847a85bb402dd400360e20485a06febc824 Mon Sep 17 00:00:00 2001 From: Luis Avecilla Date: Fri, 22 Dec 2023 03:35:20 -0500 Subject: [PATCH 2/2] first commit --- hello.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hello.js b/hello.js index 32091bf..46a3603 100644 --- a/hello.js +++ b/hello.js @@ -6,7 +6,13 @@ to the console (the panel on the right) -console.log("Hello World!"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); +console.log("Hello World! two chains"); /* Next, PLAY! @@ -21,4 +27,4 @@ Modify your code on line 7 to try to accomplish the tasks listed below: 7. Print two messages on the same line. 8. Print a message that contains quote marks, such as Quoth the Raven "Nevermore". 9. Other. You choose! -*/ \ No newline at end of file +*/