diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..c32700a Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 30bc162..90157b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/node_modules \ No newline at end of file +/node_modules +.DS_Store \ No newline at end of file diff --git a/hello.js b/hello.js index 6f10866..c01f5b3 100644 --- a/hello.js +++ b/hello.js @@ -4,12 +4,10 @@ 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! Modify your code on line 7 to try to accomplish the tasks listed below: - 1. Change the message that is printed. 2. Figure out what the parentheses do. Will the code work without them? 3. Remove one or both quotation marks. Do we need to include both opening and closing quote marks? Is there a difference between using a single or a double quote (' vs. ")? diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..bab5a83 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "hello-world", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "hello-world", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "readline-sync": "^1.4.10" + } + }, + "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" + } + } + } +}