Hacker News new | ask | show | jobs
by codazoda 3387 days ago
Here are the quick steps to do this.

Visit github.com

Create an account or login

Click the green "New repository" button

Give your website a name like "hello"

Check the box to Initialize this repository with a README

Click the Create repository button

Click the Create new file button

Name the file index.html

Enter <p>Hello World</p> in the body of the file

Click the Commit new file button

Click the Settings gear icon

Scroll down to GitHub Pages

Select master branch under Source

Click the Save button

There's now a link to username.github.io/hello under the GitHub Pages heading. You can now edit the index.html file or add css and js resources in the same way you just added the index file. Uploading files, such as images, is also supported. All without using Git.

2 comments

Great start :)

You can also drag and drop files from your desktop to your repo.

Awesome, thanks for this!