Skip to content

Klied/Klied_IT114LM1W3-Introduction-to-JavaScript

 
 

Repository files navigation

IT114LM1W3-Introduction-to-JavaScript

Getting Started with the Exercise

  1. Install the current version of Node.js. The default installation options should work fine.
    • After installing, make sure to close all instances of VS Code and other terminals (cmd, powershell, bash, etc)
  2. Fork the repository
  3. Clone your fork to your machine and open the folder in VS Code
  4. Create a file called index.js in the 0. Hello World folder
  5. Type in console.log("hello world) in index.js and save the file
  6. Open the terminal of VS Code. You will see that the terminal is currently in IT114LM1W3-Introduction-to-JavaScript but index.js is in the 0. Hello World folder
  7. Change the present working directory to 0. Hello World by typing in cd "0. Hello World"
    • The cd command means "change directory"
    • Tip: terminals have an auto-complete feature. just type in cd 0 then press tab to quickly enter the folder name starting with "0"
  8. Now that you are in the folder where index.js is located, you may run index.js by typing in node index.js in the terminal. This will show Hello World in the terminal
  9. Now that you are done with exercise 0, commit and push your changes
  10. Change the present working directory of the terminal to the folder of exercise 1
    1. You are currently in 0. Hello World but 1. Variables, Data Types, and Operators is in the parent directory
    2. Move to the parent directory by entering cd .. in the terminal
    3. Move to the directory of exercise 1 by entering cd "1. Variables, Data Types, and Operator" in the terminal. See the tip in one of the previous steps.
  11. Start doing exercise 1. Once you're done with exercise 1, follow the same process for the other exercises

Happy coding 😄

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%