fork-commit-merge / fork-commit-merge

Fork, Commit, Merge. A project designed to help you familiarize yourself with the open source contribution workflow on GitHub!

Home Page:https://forkcommitmerge.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork, Commit, Merge - Easy Issue (Astro)

nikohoffren opened this issue · comments

Fork, Commit, Merge - Easy Issue (Astro)

Add a H1-tag that displays "Hello, Astro!" on the browser

Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

Description

The goal of this task is to add a simple H1-tag to the src/pages/index.astro file which shows text "Hello, Astro!" on the browser.

Start by navigating inside of the directory used in this project with the command:

cd tasks/astro/easy/hello

Then run npm i to install Astro and all the necessary dependencies for the project.

After installing the dependencies you can open the src/pages/index.astro file and start implementing your solution!

Run the server

Make sure you are in the tasks/astro/easy/hello directory in your terminal and run npm run dev to start the server.
Then, open a browser and go to http://localhost:4321/ to see your app.
The browser should display "Hello, Astro!" on the screen.
If it does, you are ready to make a pull request!


To work with this issue, you need to have npm and NodeJS installed to your local machine.
Check out README.md for more instructions of installing npm and NodeJS as well as how to make a pull request.


Feel free to ask any questions here if you have some problems!

Also, kindly give this project a star to enhance its visibility for new developers!