/hello-world

Homework 01

Primary LanguageJavaScript

Hello World Repository

This repository was created as part of a tutorial to learn the basics of using Git and GitHub. It will guide you through the following steps:

  1. Create a new repository on GitHub called hello-world.
  2. On your machine, open the terminal and navigate to the folder where you organize your studies.
  3. Clone the hello-world repository to your machine in the chosen folder. Run the following command in the terminal:
git clone https://github.com/your-username/hello-world.git

Replace your-username with your GitHub username.

  1. Create a file named hello-world.js and open it in a code editor. Add the following code to the file:
console.log("Hello World");

Save the hello-world.js file.

  1. In the terminal, navigate to the repository folder using the cd command. For example:
cd path/to/hello-world
  1. Execute the hello-world.js file in the terminal using the node command:
node hello-world.js

You should see the message "Hello World" printed in the console.

  1. In the terminal, run the following commands to commit the changes:
git add .
git commit -m "Add hello-world.js file"
  1. Push the commit to GitHub:
git push origin main

Verify if the changes appear on your GitHub repository.

If everything worked correctly, congratulations! You can proudly show your beautiful GitHub repository to your mom.

Feel free to explore, experiment, and have fun while learning Git and GitHub!


Student: Suellen Priscilla de Camargo
School: Cubos Academy


Thank you for checking out this repository! If you have any questions or feedback, feel free to reach out. Happy coding!

License This project is licensed under the MIT License.