Skip to content

KatieNFerg/js-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is for the "Your First Program" example in the Introduction to Web Development textbook's How Programs Work chapter.

Your First Program: hello-world

  1. Use your terminal to locate where you want to save this repository.
  2. Fork and clone this repository at the location you have selected.
  3. Open the project in your IDE.
  4. Explore the code provided. Read any commented instructions.
  5. Open a terminal and cd into your project directory. Remember to use ls to verify your location. You are in the project directory when you see hello.js after running the ls command.
  6. Once inside your project, type the command: npm install. This will create a few new files and directories that contain dependencies your project may need. You will learn about this step more in the next lesson.
  7. Once that is installed, type the following into the same terminal: node hello. You should see the message you coded inside hello.js appear in your terminal.

See the textbook for more instructions.

Troubleshooting: If you don't see any output, check where you are in the terminal. Make sure you can see the hello.js file when you run the ls command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%