Hosting your website using Github Pages

Prerequisites

Getting Started

Create A Github Repository

Screenshot of the Github create repository page

The Content

index.html
stylesheets/
style.css
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>My Website</title>
<link rel="stylesheet" href="stylesheets/style.css" />
</head>
<body>
<h1>Hello World</h1>
</body>
body {
text-align: center;
background-color: black;
color: white;
}

Deployment

git add .
git commit -m "Initial Commit"
git push origin master
Deployed Hello World

Moving Forward

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store