In this project you will create your personal website, based on one of three sample website templates. Each of these website templates has four web pages:
For each of the three websites, there is one stylesheet file for all four pages, named global-1.css, global-2.css and global-3.css. These three stylesheets are in the assets/css sub-folder.
There are also a number of images, all located in the assets/img sub-folder.
You can display finished versions of the three websites by clicking the images below.
Download the three sample Home web pages
Download the three sample Privacy web pages
Download the three sample Portfolio web pages
Download the three sample Contact web pages
Download the three sample CSS files
Choose the sample version for your personal website
Update the menu hyperlinks in your web pages
Update the meta tags in the <head>
Update the Google Analytics ID
Update the privacy pop-up code and message
Update your contact details in the footer
Update your contact details in the mobile menu
Your first step is to create folders that will store the web pages, CSS files, and images you will download.
Follow these steps to download the three 'Home' web pages to your websites folder.
You should now have these three HTML files saved in your C:/websites folder.
Follow these steps to download the three 'Privacy' web pages to your websites folder.
You should now have these six HTML files saved in your C:/websites folder.
Follow these steps to download the three 'Portfolio' web pages to your websites/portfolio sub-folder.
You should now have three HTML files saved in your C:/websites/portfolio sub-folder.
Follow these steps to download the three 'Contact' web pages to your websites/contact sub-folder.
You should now have three HTML files saved in your C:/websites/contact sub-folder.
That’s it. You do not need to download any more HTML files.
You will now download the three sample CSS files to the C:/websites/assets/css sub-folder.
You should now have these three CSS files saved in your C:/websites/assets/css sub-folder.
Right-click on the following images and download them to your C:/websites/assets/img sub-folder.
Review the three versions of the sample personal websites in your web browser. On a Windows PC, the 'Home' page files should be at the following locations:
file:///C:/websites/index-1.html
file:///C:/websites/index-2.html
file:///C:/websites/index-3.html
From the sample Home pages, click on the menu options to view the related Portfolio, Contact and Privacy web pages.
Which one of the three sample versions is closest to the one you would like for your own personal website?
Choose one.
You can change the text, fonts, colours and images of these web pages later, according to your requirements.
Whichever of the three sample personal websites you choose, you will need to update the names of the four HTML files. Follow these steps.
The folder and file structure for your four web pages should be as shown below.
Leave all four of your web pages with their new file names open in Visual Studio Code.
Your next step is to update the hyperlinks in your web pages. Here are the steps.
That's all your search-and-replace operations complete.
Open your four web pages in your web browser and check that:
Near the top of your four HTML files, just before the closing </head> tag, you can see a sample Google Analytics Tracking Code.
Each Google Tracking Code has a unique ID in its first and last line. For each of your fur web pages, replace the sample Google Tracking ID with your own Google Tracking ID. The instructions for viewing your website’s unique Google Tracking ID are here.
When finished, save your four HTML files.
You need to edit the ‘pop-up‘ privacy code and message in all four of your web pages.
For all four web pages, in the flyout-menu section of the mobile menu, are more details you will need to change.
Change the name 'Mary Smith', the profile image and the various contact details to your own. You can add or remove different social media contact points, such as Twitter, Facebook, YouTube or Instagram, as required.
When finished, save your four HTML files.
You need to update the form in your contact page so that details entered to the form by users are forwarded to your email address.
Feel free to make any changes you require to content and design of the four web pages.
When finished, save your four HTML files and your stylesheet.
The final step is to upload your project to GitHub.
Your web pages are now published on GitHub. Your Home page has a web address similar to the following, where username is the username you have chosen for your GitHub account:
https://username.github.io/index.html
or, simply:
https://username.github.io
It may take a few minutes for your uploaded files to appear on GitHub.
Return to Contents.