This is a website I have created for a fictitious barbershop known as "Fade Zone Barbers". I chose to create my own project idea to demonstrate my capabilities of HTML/CSS.
The website contains a home page that includes content about the barbershop and the pricelist. The gallery page includes a masonry style gallery to showcase some of the barbershops haircuts. And the contact page for the user to make an enquiry or give feedback.
This website is created for the owner of Fade Zone Barbers to attract more customers to the barbershop, my project helps them achieve this by providing a sleek and simple design that is pleasing to the eye.
As a customer I would want to see basic information about the barbershop and what they would charge for their services. I would also want a gallery to see the quality of their service, and in addition a contact page for me to get in touch with the barbershop if I had any further enquiries.
This section is also where you would share links to any wireframes, mockups, diagrams etc. that you created as part of the design process. These files should themselves either be included as a pdf file in the project itself (in an separate directory), or just hosted elsewhere online and can be in any format that is viewable inside the browser.
I wanted the Home page to contain important information about the barbershop such as what it's about and the pricelist, so the user is greeted with this when they first load the website.
I chose to go for a masonry approach when creating the Gallery page as I wanted to showcase a large number of images as examples of the types of haircuts the barbershop specializes in to the user, desktops will display these images in 5 columns, whereas smaller devices will collapse the page into 3 columns.
The contact form has a simple layout, a box split into two sections, one contains basic contact information and the address, the other contains a standard contact form for the user to submit feedback.
- Feature 1 - My first feature allows the user to interact with the navigational items by hovering the cursor over them.
- Feature 2 - Similar to the navigational bar, the social media links in the footer also interact with the user when the cursor is hovered over.
- Feature idea - I would like to build a functioning form on the "Contact" page so that the user can submit feedback and it is sent accordingly to the barbershop.
- Feature idea - I would like to implement JavaScript to achieve a modal whereby when a gallery image is selected it will enlarge to the screen.
-
HTML
-
CSS
-
- The project uses FontAwesome to include the social media icons in the footer
-
- The project uses Google Fonts to achieve fonts more relevant to the styling of the webpage.
-
Navigational Bar
- Hover the cursor over any of the navigational links.
- The hover pseudo class will transition the text from white to gold.
- Once activated the page will load the relevant internal link in the same tab.
-
Navigational Bar
- Navigate to any of the three pages.
- The "active" class will be applied to the link relevant to the page the user is on.
- Font size is increased, gold color applied to the text, and a gold bottom border will also apply.
-
Social Media Icons
- Hover the cursor over any of the social media icons.
- The hover pseudo class will transition the icon from white to gold.
- Once activated the page will load the relevant external link in a separate tab.
-
Contact Form Text Inputs
- Go to the "Contact" page.
- Activate any of the text input fields.
- The background color will transition from black to white.
-
Contact Form Submit Input
- Go to the "Contact" page.
- Hover the cursor over the input submit button.
- The background color will transition from black to gold.
- The font color will transition from white to black.
The project has media queries that makes the following elements responsive:
- Header "Fade Zone Barbers"
- Footer "Social Media"
- Social Media Icons
- About Us cover text
- Price List
- Gallery layout
- Contact overlay layout
One bug I have encountered is with the navigational bar. The navigational links seem to appear slightly off center, from what I can identify this is due to an issue with the size of the anchor tags. This has now been fixed as my mentor identified the bug.
Another issue that my test users and mentor identified was the white space between the gallery images and footer. I have attempted to troubleshoot this and debug the code but I was unable to find a solution to this problem.
Finally when the navigational links are used too quickly it can cause the webpage to load slower, I believe this is due to the file size of the images.
This site is hosted using GitHub pages, I have deployed the site directly from the master branch. Now it has been deployed this site will update automatically following any new commits to the master.
To run locally, you can clone this repository directly into the editor of your choice by pasting git clone https://github.com/Boofy360/fade-zone-barbers into your terminal. To cut ties with this GitHub repository, type git remote rm origin into the terminal.
- The "About Us" content in the home page section in this website was taken from Headcase Barbers
- All photos were taken from Pexels, a stock image library. And a slightly transparent filter was applied to the "About Us" hero image to lower the brightness.
- I received a large majority of inspiration from the CSS Fundamentals Mini Project Love Running.
- My mid point review session with my mentor gave me the idea to amend the Gallery layout to a masonry style instead of the previous grid I was trying to achieve.
- The Tutor support team offered me assistance that allowed me to align the "About Us" text in the center of the hero image on the Home page.
- My Mentor informed me that the bug on the navigational bar was due to the padding initially being removed, this has since been amended.
- I reference W3Schools as the online library that I used for basic troubleshooting.
- The CSS code has been validated using the CSS W3C Markup Validation Service
- The HTML code has been validated using the HTML W3C Markup Validation Service