Right now, the images in Section Two (Why Invest in Africa) and Section Five (Industries) are direct links to Unsplash Images
This is very slow. It slows down the image loading of the site by a ton. Instead we need to download them onto our repo, compress them, and import those images for use.
The downloaded images must be placed in a logical place. (As in, in the assets folder in their respective folders)
Objectives:
Open each Unsplash link for each image, and download the image (if possible - medium quality, not higher or lower)
Open https://squoosh.app/ and paste the image in. Follow the settings in the image below exactly
Set the left side as the original image, and the right side as WebP. 50% quality, 6 Effort. Do not turn anything else on. Click the blue download button
Place all the new WebP images in the respective folders
Import all new images into the repo and replace all the Unsplash links with them
Please take a look at this excel sheet, and come up with a general skeleton of the page structure, drawn on paper. (This is known as a lofi design) [Please Find the Namibia Data Excel Sheet in your college email.]
Press tab after scrolling to the top and refreshing the site. you will see a skip navigation button
What it does is for those who navigate the site through keyboard, it basically is a way to focus directly onto the first element on the page that isn't the navigation links. If you press tab normally, you will focus on all the nav links. If you press enter on skip nav, it will send you the first main content of the homepage, which is choose a country.
But currently, this is hard-coded to go directly to choose a country, no matter which page you're in. Try pressing the skip navigation button in the login or registration pages, it won't work.
Objectives:
Research the most optimal way to either dynamically set the link skip navigation goes it, or try to set it based on the current page
Implement this method so that skip nav works on every page (Login, Home, Registrations - Both)
Watch through the whole video, understand why these CSS properties could be beneficial to our project, and prepare to apply these properties to our repo.
Objectives:
Open up src/reset.css
Locate the img CSS block. it is already pre-exisiting.
After understanding the point of each, add these new CSS properties (CSS Image Reset) to the img block
Please take a look at this excel sheet, and come up with a general skeleton of the page structure, drawn on paper. (This is known as a lofi design) [Please Find the Morocco Data Excel Sheet in your college email.]
Please take a look at this excel sheet, and come up with a general skeleton of the page structure, drawn on paper. (This is known as a lofi design) [Please Find the Kenya Data Excel Sheet in your college email.]