Your Personal Portfolio Website: 2

Continuing your personal portfolio website with four pages.

Introduction

You will continue building the personal portfolio website you began in the previous Tutorial.

1: Replace the hero image

Replace the sample hero image with a visual of your own choice.

Use the options at the link below to resize the dimensions and compress the file size of your image as required:

In the <head> of your Home page, preload your hero image as follows:


<link rel="preload" href="assets/img/hero-image.jpg" as="image">

2: Add a favicon to your web pages

A favicon is a small icon (really a set of icons for different screens) that is displayed within the browser tabs and bookmarks bar of a web browser.

Projects

If you have not already done so, create a favicon using the instructions in the Working with Favicons Tutorial.

Place your favicon files in your 📁 websites/assets/img/favicons sub-folder.

In the <head> of your Home page, the links to your favicon files will be as follows.


<link rel="apple-touch-icon" sizes="180x180" href="assets/img/favicons/apple-touch-icon.png">    
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/favicons/favicon-32x32.png">    
<link rel="icon" type="image/png" sizes="16x16" href="assets/img/favicons/favicon-16x16.png">    
<link rel="manifest" href="assets/img/favicons/site.webmanifest">

For your Portfolio, Contact and Store pages, your links will begin with "../assets" and not just "assets". See below.


<link rel="apple-touch-icon" sizes="180x180" href="../assets/img/favicons/apple-touch-icon.png">    
<link rel="icon" type="image/png" sizes="32x32" href="../assets/img/favicons/favicon-32x32.png">    
<link rel="icon" type="image/png" sizes="16x16" href="../assets/img/favicons/favicon-16x16.png">    
<link rel="manifest" href="../assets/img/favicons/site.webmanifest">

4: Choose a colour palette

Use the websites below or similar to choose a nice colour palette (colour combination) for your Home, Portfolio and Contact pages.

Update your custom.css stylesheet with your colour choices.

5: Add one or two Google Fonts

Follow the instructions here to add a Google Font or Fonts.

Here are the more widely-used serif and sans-serif fonts at the moment.

SERIF FONTS SANS SERIF FONTS
Playfair Display (headings) Bebas Neue (headings)
Prata (headings) Work Sans
Abril Fatface (headings) Source Sans Pro
PT Serif Rubik
Domine Outfit
Libre Baskerville Montserrat
Roboto Slab Open Sans


See the websites below for font-pairing inspiration.

6: Check for any performance issues

After you have uploaded your work to GitHub, check your Home, Portfolio and Contact web pages for any issues that affect their performance using the website below from Google: