Giter Club home page Giter Club logo

bp-fitness-project's Introduction

Ben's BP Fitness Project Website

User-Centric Frontend Development Milestone Project

View my live website here

View of my home page for all device types including mobile, tablet, laptop & desktop

Table of Contents

UX

Project Goals

The primary goal for BP Fitness is to provide an easy to navigate, friendly and informative website for the BP Fitness gym. The main aim/ goal was to provide what BP Fitness has to offer and why people should join us whether that be as a student or on a full monthly or yearly membership. The target audience for this project were people of any age and gender who were looking for their first gym experience or looking to join a new gym, personal training sessions or gym classes they could attend to keep fit.

User Goals

New User Goals

  1. User is able to find the personal trainers available to them at BP Fitness.
  2. User is able to find the gym classes available to them as well as who will be teaching the class, the activity and what day/ time.
  3. User is able to find and contact the gym by having the address & phone number/ email address in the footer for each page as well as an interactive map on the About BP Fitness Page.
  4. User is able to contact the gym using the conact us page and selecting options for the reason contacting using the contact form options proivded.
  5. User is able to contact us regarding dietary and workout plans which are cruical for reaching your body goals.
  6. User is able to find the memberships available to them as wel as any offers/ discounts available at that time.

Returning User Goals

  1. User is able to find the personal trainer and contact them for more personal training sessions.
  2. User is able to find the gym class timetable.
  3. User is able to find the membership options available to them.
  4. User is able to contact BP Fitness through the Contact Us Page contact form.

User Stories

As A Business Owner

  1. I would like to present my BP Fitness website to potential customers who are looking for a new gym or personal training sessions.
  2. I would like potential customers to be able to contact us if they are interested in a new membership, personal training sessions, classes and general questions that may have.
  3. I want to build relationships with current and new customers so they will stay with BP Fitness.
  4. I would like my website to be responsive, well designed and easy to navigate around for new and current customers to find the information they are looking for easily.

As A New Member

  1. I would like to purchase a gym membership or personal training sessions.
  2. I would like a contact form and company details to find out more information about membership prices, personal training sessions, weekly classes, gym equipment and general questions/ company information.
  3. I need to see the opening/ closing hours as well as a map of where the gym is located.
  4. I would like the site to be easy to use so I can find out what I am looking for without any trouble.
  5. I would like to see what personal trainers are available to me.

As A Returning Member

  1. I would like to contact BP fitness to cancel my membership or book more personal training sessions.
  2. I would like to check what classes are available.
  3. To need to find out if there are any membership rewards/ offers.

Back to Table of Contents

WireFrames

Home Page and About BP Fitness Page Wireframes for Desktop & Mobile devices

Wireframes for my home page and about bp fitness page for desktop & mobile devices

Member Benefits and Contact Us Page Wireframes for Desktop & Mobile devices

Wireframes for my member benefits and contact us page for desktop & mobile devices

Back to Table of Contents

Assets

Colors

The main colors used in my project were:

  1. #333
  2. #fafafa
  3. #42e3f5
  4. #0c1f34
  5. #000

Fonts

The main font used throughout my project was Lato and my backup font used was Sans-Serif

Images

The images I used in my project were from Adobe Stock, Pexels, Pixabay & Unsplash

Back to Table of Contents

Features

The BP Fitness website consists of five pages altogether. There are four main accessible pages from the navigation menu and there is also a form submission confirmation page for the form on the Contact Us Page.

The BP Fitness website has the following features:

Navigation Bar

The navigation bar is visible at the top of the website for each page. I have made the navigation bar responsive and will adapt to all devices. At page sizes of 768px and less, a burder menu will appear instead of the navigation links to make it easier to navigate and make the website look more presentable.

Navigation bar elements:

  • The main logo which is BP Fitness in text is on the left of the navigation bar
  • The main navigation links are on the right hand side of the navigation bar. The navigation links are:
    • Home
    • About BP Fitness
    • Member Benefits
    • Contact Us

Footer

The footer is the same for each page and consists of:

  • The company phone number and email address are on the left hand side of the Footer.
  • The company address is in the center of the footer.
  • The social media links with the icons are on the right hand side of the footer.

Home Page

The layout of the Home Page is:

  • Navigation Menu
  • Hero Image at the top of the home page
  • Membership Offers
  • Member Benefits Available
  • Icons section
  • Member Testimonials
  • Footer

About BP Fitness Page

The layout of the About BP Fitness Page is:

  • Navigation Menu
  • Why Choose BP Fitness
  • Membership Options
  • What BP has to offer
  • Inside BP Fitness
  • Member Testimonials
  • Member Benefits
  • You can find us here
  • Footer

Member Benefits Page

The layout of the Member Benefits Page is:

  • Navigation Menu
  • Enjoy the member benefits we have to offer
  • Personal Trainers Available
  • Gym Class Timetable
  • Workout & Dietary Plans
  • Footer

Contact Us Page

The layout of the Contact Us is:

  • Navigation Menu
  • Contact Form
  • Footer

Future Implementations

  • Create Diet and Workout Plans Section for members to create their own plan from the website.
  • Add a login section for members.
  • Create a new section for Personal Trainers to make it easier for clients/ new members to contact them and find out more information about them.

Back to Table of Contents

Technologies Used for my website

HTML5

HTML5 was used as a structure language for my project.

CSS

CSS was used as a styling language for my project.

Bootstrap

Bootstrap was used as a CSS framework to keep my project responsive for all device sizes as well as imlement elements a lot easier.

Font Awesome

I used Font Awesome to implement icons into my project.

Google Fonts

I used Google Fonts to implement my primary font used in my project which was Lato and my backup font as Sans-Serif

Adobe XD

I used Adobe XD as a wireframe tool for my project.

Paint 3D

I used Paint 3D to edit the images I was using in my project.

GitHub

I used GitHub as a software hosting platform for my project.

Git

I used git as a version-control system tracker for my project.

GitPod

I used GitPod as my Development Hosting Platform for my project

Back to Table of Contents

Testing the Functionality

While building my website I found Chrome Developer Tools the best tool throughtout my project to help view my website as well as to find any issues within my coding and solve any problems that arose.

Testing the Compatability

Chrome Developer Tools was also great for testing the responsiveness of my website for many devices such as phones, tablets and laptop screen sizes. This allowed me to change many sections within my website without any difficulty and to still keep my website looking professional and still easily navigatable to different screen sizes.

User Stories Testing

As A Business Owner Testing

  1. I would like to present my BP Fitness website to potential customers who are looking for a new gym or personal training sessions.
  • I have created a well navigatable website with a lot of information, images and content to provide customers information regarding BP Fitness.
  1. I would like potential customers to be able to contact us if they are interested in a new membership, personal training sessions, classes and general questions that may have.
  • I have a contact form that customers can use to fill out any problems or questions that they may have and can find this form on the contact page.
  1. I want to build relationships with current and new customers so they will stay with BP Fitness.
  • By offering great membership prices for customers but also students as well as all of the member benefits that are included within the membership to build relationships with our members.
  1. I would like my website to be responsive, well designed and easy to navigate around for new and current customers to find the information they are looking for easily.
  • My website is navigatable from every page of the website and always at the top of the page for easy access. when the size of the screen is reduced to 768px the navigation links are removed and replaced with a burger menu icon to make navigation betweens pages a lot easier on smaller screen sizes.

As A New Member Testing

  1. I would like to purchase a gym membership or personal training sessions.
  • To purchase a gym membership or personal training session, customers are able to contact us using the contact form.
  1. I would like a contact form and company details to find out more information about membership prices, personal training sessions, weekly classes, gym equipment and general questions/ company information.
  • The contact form is on the contact us page where customers or members can ask any questions/ queiries or problems they are having and can find all of the company details in the footer at the bottom of each page.
  1. I need to see a map of where the gym is located.
  • There is a interactive map customers can use to find where we are located on the About BP Fitness page.
  1. I would like the site to be easy to use so I can find out what I am looking for without any trouble.
  • The website is made up of 4 main pages where all relevant information can be found as well as company contact details and a contact form to get in touch.
  1. I would like to see what personal trainers are available to me.
  • Members can find out what personal trainers are available to them on the Member Benefits page and the Personal Trainers section.
  1. I would like to see what gym classes are available to me.
  • Members can find what gym classes are available each week on the member Benefits Page and weekly gym classes section.

As A Returning Member Testing

  1. I would like to contact BP fitness to cancel my membership or book more personal training sessions.
  • Members can cancel their memberships or can book more personal training sessions through the contact form on the contact us page.
  1. I would like to check what classes are available.
  • Members are able to check the weekly gym class table for updates on the next set of classes.
  1. To find out if there are any membership rewards/ offers.
  • Membership offers/ rewards can be found on the home or about bp fitness page with the relevant information regarding pricing and time limit.

Back to Table of Contents

Issues I have found during the development of my website

Horizontal scrolling bar at the bottom of my website

Horizontal scrolling bar issue with my website

To fix this I created two classes in my style.css file.

  1. The first class I created was for .row and I gave that the elements of margin-right and margin-left the value of 0.
  2. The second class I created was for .container-fluid and I gave this the elements of padding-right and padding left the value of 0.

Horizontal Scrolling Issue Fixed

Burger Menu was not clickable on all pages except the home page

Horizontal scrolling bar issue with my website

To fix this I found out that I had missed out the JavaScript code within the style of my web pages within the header. After copying the Javascript code and Bootstrap code from my Home page to my other pages, the web pages worked perfectly and navigated throughout my website.

Burger Menu Issues Fixed

Back to Table of Contents

Performance Testing

I used the Lighthouse tool to test the performance of my website pages.

Home Page Performance

Home page performance using lighthouse tool on chrome developer tools

About BP Fitness Page Performance

About BP Fitness page performance using lighthouse tool on chrome developer tools

Member Benefits Page Performance

Member Benefits page performance using lighthouse tool on chrome developer tools

Contact Us Page Performance

Contact Us page performance using lighthouse tool on chrome developer tools

Back to Table of Contents

Code Validation

At the end of building my website, I found these two websites to validate my code

By checking the validation of my code using these two websites, I found a lot of small errors that I was able to change within my code that was incorrect.

One example was the incorrect code I had for comments within my code.

I had written my comments like this <! ----- content ----- !> and the code validator told me this was a warning

Code validator warning for comments

I then edited all of my comments to the correct style of <! ----- content ----->

Back to Table of Contents

Deployment of my Website

My project was deployed using GitHub pages and I used GitPod as my development hosting platform. I used the git commands to commit all of the changes I made to my project with an updated message of what changes/ improvements I have made. I then used the git push command to push my changes through to my GitHub pages.

To develop my website using GitHub pages

  • Log into my GitHub account and find my site repository.
  • Select Settings on the far right and find the GitHub Pages section.
  • Find the source section and set thhe branch to master the folder to the right to /root.
  • click save and page was deployed after auto-refresh.

My site is published as this url

To run my website locally

  • Log into my GitHub account and find my site repository.
  • Find the code dropdown tab and select Download ZIP.
  • After the download is complete, you can use these files in your local environment.

Back to Table of Contents

Credits

Template Used

I used the Code Insitiute Student Template to complete my website project: Gitpod full template

Ideas for my website project

I used a lot of gym websites for ideas and motivation. The four main websites I looked at were:

  1. The Gym Group
  2. Pure Gym
  3. Anytime Fitness
  4. Better Gym

Websites I used for help or tutorials

I used many websites if I was stuck or confused. These websites were:

  1. YouTube
  2. Boostrap
  3. W3Schools
  4. CSS Tricks
  5. Developer Mozilla

Coding I used from external websites

Bootstrap: Bootstrap Jumbotron Menu Bootstrap: Bootstrap Burger Menu

Google Maps

I used Code Institute for the location of my Google Map: Code Institute

Google Map Location: Code Institute Google Map Location

Contact Form

The contact form I used for my Contact Us page was taken from the Love Running project in the CSS Essentials/ Love Running section.

Contact form: Love Running Project Form

I changed the color/ form to match my website requirements.

Images

The images used within my website came from three websites:

Pexels

Pixabay

Abode Stock

Unsplash

Back to Table of Contents

Screenshots from my Website

Home Page Screenshots

First screenshot from my home page

Second screenshot from my home page

Third screenshot from my home page

About BP Fitness Page Screenshots

First screenshot from my about bp fitness page

Second screenshot from my about bp fitness page

Third screenshot from my about bp fitness page

Fourth screenshot from my about bp fitness page

Member Benefits Page Screenshots

First screenshot from my member benefits page

Second screenshot from my member benefits page

Third screenshot from my member benefits page

Fourth screenshot from my member benefits page

Contact Us Page Screenshot

First screenshot from my contact us page

Back to Table of Contents

bp-fitness-project's People

Contributors

benpruden97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.