Website Development

Creation of this website

I used Atom to write my codes for this website and I found that a few packages and themes in Atom made the editing process a lot easier. These packages and themes are: 1. atom-html-preview package by harmsk 2. atom-material-syntax theme by atom-material 3. fonts by braver.

Before I created the website I thought about a simple template for my "About" page.

Website Template

After creating the sufficient HTML and CSS files, I uploaded my website to GitHub. I go through the steps on how to do this below, click here to jump to that.

I tried to make this website as adaptable as possible so you can view it in almost any window size. But of course there are some images with a specified size so they may be only viewed to full on a computer screen.

Process in creation

To start off I watched Learn CSS in 12 Minutes by Jake Wright. You should watch this if you want to get a simple understanding of website layouts.

I first created a HTML file called about.html, note that the first page of your website must be called index.html but subsequent ones can have any name of your choice. Next I gave my page a title, a header, some content (body) and a footer. I then reorganised the body content into different divisions with different IDs. I later added in a navigation bar, for this I will go into more details later on.

To make my wesite look the way it is, I used a stylesheet written in CSS called style.css. This is what makes the website have an organised and aesthetic feel to it. Without this, the website would just be very plain and full of text without any design or filled with misaligned images and texts. To use this stylesheet you need to link it to your HTML file in the head segment.

There are many other elements in this website that also made use of CSS stylesheets and they will be listed below.


HTML file for "About" page

This is what my about.html file contains. I will talk about the navigation bar later on.

about.html Content

CSS file for "About" page

This is what my style.css file contains for the 'About' page. I changed my font to the current one by adding a link in the html file as you can find above. This font "Oxygen Mono" by Veron Adams can be found here.

CSS for About page (1) CSS for About page (2)

Navigation bar creation

To start off I created a simple unordered list using the class function. This was placed in the body. I wanted my navigation bar to have a dropdown function when I hovered over it. I wanted it to also stay at the top of my page when I scrolled down. For this navigation bar I used references from W3Schools and How To Make Drop Down Menu Using HTML And CSS by Easy Tutorials.


Here is the HTML codes for the navigation bar. Remember to put the active tag on the link that is currently active so that your CSS will work.

Navigation Bar HTML

This is the CSS code I used for my navigation bar. It is not perfect but it works and does its job. There are some things that I couldn't figure out a way to change but it looks fine, just don't stare too long at it :).

Basic Navigation Bar CSS DropDown Navigation Bar CSS

Using GitHub

How do you setup a website through GitHub?
Firstly, create an account on GitHub.com
Next, download GitHub Desktop, this will be the place we create our repositories. Make sure you are logged in.
Next, create a new repository with what ever name you want it to be. Make sure you know the path of this so you can find it in your own local drive.

Create Repository

Next, publish this repository to GitHub.com. Make sure to uncheck "Keep this code private" so that is can be viewed publicly.

Publish Repository

Next, add whatever files you want into this repository file found in your own local drive. make suer to include your index.html file. In that folder should already contain some files, do not remove them. Once you are done, you have to 'commit to main' and 'push to origin' so that the changes made are logged into the system.

Commit to Main

Finally, go to GitHub.com and check that your repository is updated. Head over to settings > pages and follow my settings in the picture down below so that you get the link to your website. This is the address of your website.

GitHub pages

You are done! Remember to commit to main when you add or change some things in your repository and also push to origin so that your website is updated.

Here is some extras found in this website

Let's start with the vertical timeline found in the "My Projects" page. For this timeline, I took references from Super Simple Timeline by HTML Codex. I took their timeline and changed up some things to make it fit below the navigation bar and also fit my aesthetics. I simply just adjusted the navigation bar to have a z-index of 10. Also for this timeline I used a different stylesheet called style_timeline.css as I didnt want to mix up the contents found in my original stylesheet. This timeline also made use of icons found from Font Awesome.

HTMl for Vertical Timeline

Timeline HTMl

CSS for Vertical Timeline

Timeline CSS (1) Timeline CSS (2) Timeline CSS (3) Timeline CSS (4)