GithubHelp home page GithubHelp logo

js-hello-world's Introduction

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.

js-hello-world's People

Contributors

speudusa avatar jovantone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.