So you've the basic knowledge of html and css and now you want to see your site online!! Well this is something that comes to the mind of every web developer.But you don't always need a .com domain to set your site.Like as a beginner there are plenty of sites that provides free web hosting,but believe me those are very much complicate and messy.So what we do now????
Thanks to Github,a place for developers where more than 28 million people learn,share and work together to build software. Basically github is not for hosting websites,but you can do that using Github pages. So in this todays post i'll show you how to do that.
Let's get started....
Go to www.github.com and create your account.It's very simple,and I believe you'll do it by yourself.
After confirming your email,sign in to github. Now create a new Repository.
Name it something like your username.github.io. In my case my user name is GauravJD, so my web address will be gauravjd.github.io . Make sure to double check it. It's very important to match your web address with your username, otherwise you will get error.
Click on the checkbox against "initialize this repository with a README" and click on "create new Repository".See the above image for refrence.
Now click on create new file. Write a simple html "hello World" code. But first name it "index.html".
Write something in the "commit new file" box and click in the "commit new file" button.
That's all.You are all set to go!!!
Go to your username.github.io and check whether it's showing hello World!. If not then don't panic, wait for sometime. It will show up at last.
That's all.Now if you want to upload your own files,then just click on upload files button.
Thank you for visiting my blog.Keep Coding!