Git Product home page Git Product logo

bicycle-scotland's Introduction

#Bicycle Scotland

Overview

Bicycle Scotland is a single page site with links to other external sites that show off the different bike rides around Scotland he has ridden and the places he plans to go in the future. The site splits down the different rides into different geographical areas and displays them on an interactive google map.

UX

This site is designed for leisure cyclists looking to find new destinations and routes to ride their bikes in Scotland. It can help separate the rides by geographical location and displays exactly where it is. Users can they pick whatever suits them best and it will take them to an external site which will give them extra information about that ride and destination. There are three rides that are yet to be completed therefore the links are only conected to the google home page however it does inform the user on the image that the ride is still to be ridden in the future and it informs the user in the opening about section that not all rides have been completed. As a user if I wanted to discover a ride near to me I could either click on the location I am in and see what’s available. I could also look at the google map below to see where I wanted to visit. Or I could simply fill out the contact form at the bottom and ask questions. The initial mock drawings for this site were drawn by hand.

Features

When the user initial opens the site, they will see the title and the Bicycle Scotland logo followed by the different geographical locations. Once one of the geographical locations have been clicked, an image (taken by Stewart Martin) with a link attached will show. That link will then take the user to another external page in a new tab with more information about that ride. The user can open more than one geographical location at a time. Each location is clearly labelled and each image makes clear the name of the destination. When a location is clicked the about information disappears but can easily be brought back when the about button is clicked and it will remove the location images. Following on from the location images there is an interactive google map showing the locations of the diffrent maps. the map clearly shows the different locations of the rides which will help the user have a greater understanding of exactly where the ride is. To finish the page of there is a simple fully functional contact form for the user to ask about any further questions they may have.

Future features could include a most recent ride section when there is a bigger library of rides completed.

Technologies Used

Google Chrome developer tools (https://www.google.com/chrome/)- I used these to test my site on different device sizes and to receive information from javascript in the console.
Bootstrap (https://getbootstrap.com/)- Bootstrap was used throughout this site for its grid system. It has allowed me to change sizes and features depending on the screen size. This has helped the site look neat and tidy across all devices.
JQuery (https://jquery.com/)- JQuery has made it easier to target specific aspects of the site in javascript by simplifying the DOM.
emailJS (https://www.emailjs.com/)- EmailJS is a platform I have used so that any website users can contact me for further questions and has created a smooth and effective communication platform.
W3C validator (https://validator.w3.org/)- The W3C validator allowed to check my code is clean and had no faults.
Caniuse (https://caniuse.com/)- This site helped me to overcome the diffrent problems I encountered on the diffrent browser types.

Testing

I used multiple methods of testing to be sure my site is complete.

Firstly, I tested the site using Chrome developer tools to display my site on different screen sizes. I tested from a smallest width of 320px to a largest of 3500px. I then continued to modify the size of images and the layout until I was happy with the appearance and the quality. Following this I continued to use the console to track any errors that were being logged through javascript. I then went onto the javascript file to modify the code so that it would run clean. I then opened the site and did the best I could to break it by going through it in a way that was never intended. I found no problem and it was easy to navigate back to any point in the site. All links open to a new tab and uncomplete rides had no links attached. In the contact form I left sections uncomplete, attempted to send it and it wouldn't send without all the information being filled in as it should. When I had been through the site enough and couldn’t find any bugs I put it through the W3C validator to check both my HTML and CSS code was clean and free of bugs. The validator gave clear feedback on the code which I then went back to fix for example I had a open

tag but hadn't closed it. When testing the site myself I found an issue with getting the "about" section to reappear when but when looking deeper into the code I found I was linking the about button to the other geographical locations which was causing issues so I had to create it's own class.

After testing the site myself I sent links to 5 different people and asked them to use the site and give feedback. I asked them for faults they found, how the images appear on their different screens and if the site was easily navigated. The feedback I received from everyone was positive but it helped me to find bugs with my sea-image and my bg-image.

When I using my site on different browsers it made the sea-image stretched out and out of proportion. To overcome this, I used the box-sizing property and set it to a value of content-box. However, this still didn't completely solve the problem as it left a very large gap at the top and the bottom of the image so Using max height and setting it for the different screen sizes, I managed to remove this empty gap as much as possible.

For the bg-image it is a known problem that using the fixed background on android devices can be a problem therefore I had to set its position value to scroll for mobile devices. This means it now still appears on all mobiles and still appears as fixed on desktops.

Deployment

As this site was initial started on the Cloud 9 software before moving it over and finishing it on the AWS cloud 9 I found some issues. When moving the files across via github I found that when I cloned the files onto the new platform, it brought multiple files that where never therebefore. It made the code look untidy and confusing. With help from the code institute tutors I found that by changing the directory to the only one I wanted to upload to git hub and then using a forced push it would clean my code down to only what I wanted.

I updated my github repository often with changes that I'd made to the site and noted clearly what changes had been made. Both the deployed version and the development version are completely identical.

Credits

Content

The external sites for the rides of Stewart Martin were made by Stewart Martin himself.

Media

The logo image was bought from and created by London Logo Designs.
The location images from the East and Central locations and the opening sea-image were taken by Stewart Martin.
The location image from Dunnottar Castle is labelled for reuse and taken from https://www.flickr.com/photos/spike77/1592456268.
The location image from Loch Torridon is labelled for reuse and taken from https://www.flickr.com/photos/91451979@N00/39714971580.
The location image from Floors Castle is labelled for reuse and taken from https://www.geograph.org.uk/photo/3222915.
The location image from McCaig's tower is labelled for reuse and taken from https://www.geograph.org.uk/photo/3910662. \

Acknowledgements

Stewart Martin was the one who came up with the idea for this site and the concept of creating a site for people to visit that will help them look and find their own adventures.

bicycle-scotland's People

Contributors

grantymartin 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.