Skip to content

MrCCampbell/milestone-project-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1st Milestone Project

Build a personal portfolio

The project I have decided to build is a portfolio for myself. As I do not have any projects at this moment on time, I will use random sites which I like for their interactivity and styles to be has placeholders until I can use my own projects to add to the site.

First Steps

  • Went to GitHub projects, and added a new board with 8 items in the todo section with. They have acceptance criteria and tasks in each item. Prioristised each items in order of importance to build the site.
  • Next I am starting to work on the wireframe. I have attempted using Balsamiq but we haven't been trained enough on the making a wireframe especially using Balsamiq, so spoke to my mentor and he has advised me to sketch and take an image of the sketch to add it to my project's Readme file, if I cannot use the Balsamiq to get the desired result, I will sketch the wireframe and take a photo of it to add it.
  • Completed wireframes on Balsamiq. I did a wireframe for mobile phone, Tablet, and Laptop/ computer.

Link to Github Project Board

Here is the link for the project's Github Project Board

alt text

Wireframe for Homepage

alt text

Wireframe for Projects page

alt text

Wireframe for Contact page

alt text

Wireframe for Confirmation page

alt text

  • With the planning phase of the project complete, it is now time to move on to the coding of the site.

Deploying the project

Deployment steps

  1. Logged in to Github. alt text
  2. Entered Repositories.
  3. Navigated to Milestone-project-1 repository. alt text
  4. Next went to Settings. alt text
  5. In settings on the left hand side of the menu under Pages. alt text
  6. Changed source to "Deploy from Branch" and then in the Branch section, selected "Main" branch and folder "/root". Then saved and the site was published (See link below.).

Link to the 1st milestone's project website

Here is the link for the project's live website Chris Campbell | Web designer

alt text

Coding the website

  • I have use the code institute template for this project.
  • Added Heroku and mongoDB8.
  • Added HTML5's index, confirmation, contact, and project.
  • Added Bootstrap5.
  • Added a personal favicon's
  • Added CSS3.
  • Added font awesome6.
  • Git committed " added htmls index, contact, confirmation, and project with bootstrap, favicon, css, as well as font awesome."
  • Worked on adding items to GitHub project board.
  • Git committed " Completed github project board and updated readme file. "
  • added wireframes to the images folder.
  • Git committed " Added wireframes from Balsamiq. "
  • Addded the wireframes to the readme file.
  • Git committed " Added wireframes to readme. "
  • Added navbar to index.html with personal logo.
  • Git committed " Added navbar to index.html with personal logo."
  • Added a carousel to the main section class as influnces of the index.html.
  • Git committed " Added carousel to influnces section in index.html. "
  • Changed photos for influnce carousel, as was unhappy with original choices.
  • Added credits for each photo on carousel from [1] to [18].
  • Git comitted " Added credits for each photo on carousel. "
  • Change the readme file to as didn't like the way it presented.
  • Git committed " Changed the readme file for a better look. "
  • Git committed " Updated readme file to change look. "
  • Change ref numbers for credits as the still did not look right.
  • Git committed " Changed numbers for credits. "
  • Tidy up code on carousel.
  • Git committed " Tidying up carousel and test styles. "
  • Styled navbar.
  • git committed " Styled navbar. "
  • Added photo and credit 19 for hero image.
  • Styled header on css.
  • Added heading and paragraph to influnces carousel.
  • Added header to contact, project and confirmation html's.
  • Git committed " Styled header, added header to other html's and finished the influences carousel section go the homepage. "
  • Added form to the contact.html and connected the confirmation.html when the form is sumbitted.
  • Git committed " Added form, which each field required to be filled in, to contact.html and it is connects to the confirmation. html when it has been submitted. "
  • Deployed project, which is now online.
  • Added bootstrap cards to project.html.
  • Git committed " Added cards to project.html. "
  • Git committed " Added photos and credits for project.html. "
  • Added photos to the project.html.
  • Git committed " Added photos to project.html. "
  • Added headings to footer of index.html.
  • Git committed " Added headings to index.html's footer. "
  • Added contact details and font awesome picture for social media and the relevant link to the footer.
  • Git committed " Added contacts details and social media links to footer. "
  • Changed saturation of the hero image.
  • Added custom buttons to all html's.
  • Git committed " Added custom buttons. "
  • Added footer to project.html, contact.html, confirmation.html and started to style project cards.
  • Git committed " Added footer to other html's and started style project cards. "
  • Migrated file to vscode due change of code institutes change of IDE.
  • Git committed " Migrated project file to vscode. "
  • Git committed " Started styling carousel on index.html. "
  • Git committed " Testing styles to improve website. "
  • Git committed " Test images sizes as vscode won't open from port. "
  • GIt committed " Test images sizes as vscode won't open from port pt2. "
  • Git committed " Test images sizes as vscode won't open from port pt3. "
  • Git committed " Test images sizes as vscode won't open from port pt4. "
  • Git committed " Test images sizes as vscode won't open from port pt5. "
  • Git committed " Changed images for carousel. "
  • Added calendar and book now button to home page.
  • Git committed " Added calendar and button to homepage. "
  • Git committed " Added credit for calendar. "
  • Git committed " Added link to calendar button. "
  • Changing card styling to fit website goals.
  • Git committed " Changed card styles. "
  • Adjusting card style to look better on website.
  • Git committed " Adjusted card styles 1. "
  • Removed active link on confirmation.html.
  • Tested contact.html and test location of button.
  • Git committed " Adjust confirmation.html. "
  • Change size of cards on project.html.
  • Git committed " Adjusted cards on project.html. "
  • Changed disclaimer color from red to yellow on footer to standout better.
  • Git committed " Changed color on disclaimer. "
  • Added bug and issue section on readme file.
  • Git committed " Added bug/ issues section to readme file. "
  • Added coming soon section to the confirmation.html.
  • Git committed " Added coming soon to confirmation.html. "
  • Updated coming soon on confirmation.html.
  • Git commit " Updated coming soon on confirmation.html. "
  • Changed code on confirmation.html for better look.
  • Git commit " Changed code on confirmation.html for better look. "
  • Used to Squoosh to optimise all the images used on index.html and project.html
  • Git committed " Optimised images to cut loading issues. "
  • Removed google calendar, due to third party issues on google chrome from index.html and replaced with button link to calendly instead.
  • Git committed " Removed google calendar, then replace with calendly button instead. "
  • Checked that all links connected to images.
  • Git committed " Rechecked the image links. "
  • Updated readme file with lighthouse checks and images of screenshots.
  • Git committed " Update readme file with lighthouse checks. "
  • Optimised images did not look right so reverted them to originals.
  • Git committed " Swapped 3 optimised images back to originals, due clarity issues. "
  • Relinked orginal images to project.html.
  • Git committed " Relinked orginal images to project.html. "
  • Reran Lighthouse after reverting to orginal images.
  • Git committed " Reran Lighthouse after image change. "
  • Validated and fixed issues for all html's and css.
  • Git committed " Validation complete. "
  • Fixed issue rechecked as performance was not was should be.
  • Git committed " Fixed issue rechecked. "
  • Checked all outside links went to a new page.
  • Git committed " Outside link open new page. "
  • Used https://coolors.co/ to change the website color palette.
  • Git committed " Changed color palette in style.css. "
  • Added a readme-image file folder in assets, removed unresponsive buttons from carousel to make it autoplaying, added black background for carousel captions so the text is easier to read, and added _blank to Calendly button.
  • Git commit " Added readme-images folder, added background for captions and remove buttons on carousel. "
  • Added link and image of the project's Github project board.
  • Git committed " Added link and image of the project's Github project board. "
  • Added headings for testing and deployments in the readme file.
  • Git committed " Added headings for testing and deployments in the readme file. "
  • Added id to carousel captions.
  • Git committed " Added id to carousel captions. "
  • Removed carousel css and added style to index.html.
  • Git committed " Removed carousel css and added style to index.html. "
  • Added black background to one carousel image for test and then added to all carousel images.
  • Git committed " Added background to all carousel images captions. "
  • Added deployment section to the readme file with site links and images.
  • Git committed " Added deployment section to the readme file. "
  • Added testing section to the readme file.
  • Git committed " Added testing section to the readme file. "
  • Added tour of final website to readme file.
  • Git committed " Added tour of final website to readme file. "
  • Completed readme file and added future of the website.
  • Git committed " Completed readme file. "
  • Went over the readme file and checked for issues or mistakes, then fixed them.
  • Git committed " Double checked Readme file. "
  • Added youtube video to projects.html.
  • Git committed " Added youtube video to projects.html. "
  • Changed height and width of youtube video.
  • Git committed " Changed height and width of youtube video. "
  • Reverted size of video.
  • Git committed " Reverted size of video. "
  • Remove video due to google new policy on 3rd party cookies.
  • Git committed " Remove video due to google new policy on 3rd party cookies. "
  • Readded button back on carousel to see if the are responsive again.
  • Git committed " Readded button back on carousel to see if the are responsive again. "
  • Removed the buttons from carousel as they are still non responsive.
  • Due to google third party cookie policy, I can't complete craiteria 1.6: Design the site to allow the user to initiate and control actions such as pop-ups and playing of audio/video. As the best practice score is serverally decreased.
  • Git committed " Removed the buttons from carousel as they are still non responsive. "
  • Issue with hero image, so had to check the relative path to fix problem.
  • Git committed " Issue with hero image, so had to check the relative path to fix problem. "
  • Hero image was having issues so reverted to old image.
  • Git committed " Hero image was having issues so reverted to old image. "
  • Readded video after spoken to mentor about the issue of third party cookies policy."
  • Git committed " Readded youtube video section. "
  • Added readme on youtube video.
  • Git committed " Added readme on youtube video. "
  • Added incognito mode run lighthouse.
  • Git committed " Added incognito mode run lighthouse. "

Testing

Bugs/ Issues

Know Issues

During the building of the website there has been issues crept up, the first such issue was with the carousel and the images placed inside it, on the index.html. The images in the carousel were not the same size, and made the carousel unkempted. I tried using CSS and Bootstrap to adjust the images sizes to be uniformed throughout the carousel, the results did not look the way it needed to be. The only option I had was to edit every image to be the same size individually to 768x432px. Once done the carousel performed the way required.

The second known issue was the on the project.html, the card were different sizes and changing the sizes via CSS and changing the images sizes, made the issue worse with the cards being mashed on top of each other or sizes were different. Certain image sizes made the cards unable to be all the size I had envisioned to be. I had to make the choice of getting the cards the same size that I wanted or lose the quality of certain images and make them unreadable. So I adapted the cards to be bigger but all the same size. Making them all uniformed.

Lighthouse checks

I have ran index.html through Lighthouse on devtools.

alt text

The first big issue was the images took to long to load on the page. So on devtools recommendation I used Squoosh app to optimise all images for the website to make it run more efficiently.

Rerun Lighthouse to see any improvement.

alt text

The second issue was that the google calendar which google chrome had issue with the "third party cookies". Therefore I removed the calendar and put a button link to calendly instead. Giving it a better score on Lighthouse.

alt text

Next I ran Lighthouse on project.html, which showed the score was good.

alt text

Then I ran Lighthouse on contact.html, which showed the score was good too.

alt text

Finally I ran Lighthouse on confirmation.html, which also showed a good score.

alt text

The optimised images on project.html for 3 images made them unreadable so return to orginal images and reran Lighthouse and the for performance went down but still in green.

alt text

HTML Validator

Using website https://validator.w3.org/ to valid the HTML's of my website.

First to validate was index.html. As you can see no issue to the code according to the validator.

alt text

Second to validate was project.html. There were two issues to fix.

alt text

In the image above show the issues, which were located and fixed, then revalidated.

alt text

Next to validate was contact.html. There was only one issue to fix.

alt text

The issue from the image above was fixed and revalidation was done.

alt text

Last to valid was confirmation.html. There were four issues to fix.

alt text

All issues from the image above was fixed and revalidation complete.

alt text

All issues are fixed and validation complete.

Google's third party cookies policy

To comply with the criteria 1.6 of the milestone project, I tried to put a youtube video on my project.html but due to google's third party cookies policy, it brought my best practice score to 74.

alt text

The only option was to remove the video to revert the best practice score back to the score of 96 for best practices.

alt text

Spoke to my mentor and he advised to run the website in incognito mode to bypass the policy.

So readded the video and rerun lighthouse in incognito mode.

alt text

CSS Validator

Using website https://jigsaw.w3.org/css-validator/ to the CSS of my website.

Validated CSS with no issues to be fixed.

alt text

Even though it gave me no issues to fix. I did give me three warnings shown in the image below.

alt text

Validation complete.

Testing the Website

  1. Testing the navibar on all pages, the Favicon image takes you to the beginning of the home page as well as Home icon. The project icon takes to the Project page and the contact icon takes you to the Contact page.

  2. The carousel automatically plays through the images.

  3. On the availibility section, the Book now button takes you to the contact pages and the Calendly button opens a new page to the Calendly website

  4. On the footer of all pages, the social media icons opens up a new page, taking you to the website of the corresponding social media Icon.

  5. On the Project page, each button, on each card opens a new page and takes you to the relevant website of each card.

  6. On the contact page, the contact form must be completed before the form can be sent. Then once sent, it opens to the confirmation page.

  7. On the confirmation page, the "Return to the Homepage!" button, takes you back to the beginning of the home page.

Tour of the finished website

Here is a tour of the website, and all it's features.

Homepage

The view as you enter website. Also known as the top of the Homepage.

alt text

Navbar

alt text

  1. The custom Favicon image is a link, which when clicked on returns back to the start of the Homepage. The header follows as you scroll down, so pressing it will return you to the top of the Homepage.

alt text

  1. The Navigation section of the navbar, shows the names of the other pages which is freely able to access by pressing them as they are link to each different pages. Each link is hightlighted dependant on which page you are currently on.

alt text

Hero image

  1. The hero image is where the name of the website and brief introduction of myself is located.

alt text

Influnces

  1. The influnces section where there is a brief description is followed by an autoplaying carousel with multiple images with captions of the media that has influnced my interest into web design.

alt text

alt text

alt text

Availibility

alt text

  1. The availibility section is where you can use the book now button which takes you to the contact page.

alt text

alt text

Or you can use the Calendly button, which opens a new page to the Calendly website.

alt text

alt text

Footer

alt text

  1. The footer section is where the contact details, and social media links. Each social media links opens a new page to the corresponding social media website.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Project page

The view as you enter the Project page.

alt text

Navbar

alt text

  1. The custom Favicon image is a link, which when clicked on returns back to the start of the Homepage. The header follows as you scroll down, so pressing it will return you to the top of the Homepage.

alt text

  1. The Navigation section of the navbar, shows the names of the other pages which is freely able to access by pressing them as they are link to each different pages. Each link is hightlighted dependant on which page you are currently on.

alt text

Past projects

  1. The past projects section is where I would put my previous website built. As I don't have any of website that I have built, I choose website I like the design of, and have used quite regularly.

alt text

alt text

  1. Each card has an image representing the website, heading, brief description and button which opens a new page to the corresponding website.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Dream collabs

  1. The dream collabs section is where I put companies that I would like to collab with or work for.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Day in the live of a Google UK employee with office tour

  1. The Day in the live of a Google UK employee with office tour section has a video from youtube with controls.

alt text

Footer

alt text

  1. The footer section is where the contact details, and social media links. Each social media links opens a new page to the corresponding social media website.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Contact page

The view when entering the Contact page.

alt text

Navbar

alt text

  1. The custom Favicon image is a link, which when clicked on returns back to the start of the Homepage. The header follows as you scroll down, so pressing it will return you to the top of the Homepage.

alt text

  1. The Navigation section of the navbar, shows the names of the other pages which is freely able to access by pressing them as they are link to each different pages. Each link is hightlighted dependant on which page you are currently on.

alt text

Contact form

  1. The contact form needs to be completed fully by the user is taken to the confirmation page. If the form is missing fields then it prompts you to fill in missing field.

alt text

alt text

alt text

alt text

alt text

alt text

Footer

alt text

  1. The footer section is where the contact details, and social media links. Each social media links opens a new page to the corresponding social media website.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Confirmation page

This is the view, when entering the Confirmation page. This page can only be reached after filling the contact form on the contact page.

alt text

Navbar

alt text

  1. The custom Favicon image is a link, which when clicked on returns back to the start of the Homepage. The header follows as you scroll down, so pressing it will return you to the top of the Homepage.

alt text

  1. The Navigation section of the navbar, shows the names of the other pages which is freely able to access by pressing them as they are link to each different pages. Each link is hightlighted dependant on which page you are currently on.

alt text

Congratulations

  1. The congratulations section confirms that the contact form has been completed and has a button, which returns to the Homepage.

alt text

alt text

alt text

Coming Soon

  1. The coming soon section shows upcoming, possible updates of website.

alt text

Footer

  1. The footer section is where the contact details, and social media links. Each social media links opens a new page to the corresponding social media website.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Future updates

As shown on the the confirmation page, in the coming soon section are potential upcoming updates when I am more established.

  1. A newsletter, to inform followers of news relating to web design, be industry news or upcoming projects that I'm involved in.

  2. Testimonals/ reviews, to show potenial clients, previous clients experiences with my work.

Credits

Content

Media

About

milestone project for lvl 5 web design course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published