Skip to content

Commit

Permalink
Merge pull request #81 from LaunchCodeEducation/hotfix-hello-js
Browse files Browse the repository at this point in the history
hotfix .js reference
  • Loading branch information
jwoolbright23 authored Aug 13, 2024
2 parents d5ab93c + b4edb3c commit 87cec7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/how-programs-work/reading/your-first-program/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ We have used the phrase `Hello, World` as an example throughout this chapter bec
![file tree for hello-world repo](../images/visual-studio-code-view.png?classes=border)
1. Double click on `hello.js` to open the file. You should see instructions and `console.log("Hello");`. You can type in this file now. Follow the instructions to complete your first program.
1. Double click on `hello.py` to open the file. You should see instructions and `console.log("Hello");`. You can type in this file now. Follow the instructions to complete your first program.
1. Enter your code on line 6 to print 'Hello, World!'
1. Open a terminal inside Visual Studio Code. If you need a refresher, checkout the [installation guide]({{% relref "../../../installations/install-visual-studio" %}}).
1. Inside your terminal type the following commands
1. Next type the command `python3 hello.py`. This should run the program, which in this case prints your message in the terminal.
```bash
python3 hello.js
python3 hello.py
Hello World!
```
1. Try out the other prompts starting at line 10.
Expand Down Expand Up @@ -186,4 +186,4 @@ Which of the following correctly prints Coding Rocks? There may be more than one
1. `print("Coding Rocks');`
1. `print("Coding Rocks");`
<!-- ans: 3 and 5 -->
{{% /notice %}}
{{% /notice %}}

0 comments on commit 87cec7d

Please sign in to comment.