Giter Club home page Giter Club logo

therealbond-portfolio-1-forest-running_julyresub's Introduction

Forest-Running

This website is built using HTML and CSS to create a Forest of Dean running guide providing the user a choice of different running start points and run types with a recommended rough route to start their exploration of the beautiful Forest of Dean.

It is designed to attract new runners to the area and encourage local runners to explore new routes with the use of spectacular images that can be found on each particular run. It does not give the user an exact route to follow as I want to encourage runners to explore and enjoy the challenge of trying to find the view shown on the website. They can then share this on various social media services which are linked on this website to drive running tourism in the Forest of Dean.

Features

  • Welcome Image and Header

    • This image and Header title welcomes the user to the website and remains there across all five pages. It provides a clear site title so the user knows what the topic of this site is straight away and also a bold visual image of one of the great views that can be found when running in the Forest of Dean. Inviting them to explore the website and the Forest of Dean further.

    Header image

  • Navigation Bar

    • Provides the user site navigation via a bar with links to each internal page for fast intuitive movement around all pages. This encourages them to look into all the types of runs that they can enjoy and what other views they may be able to find.

    navigation bar image

  • Run type selection section

    • Allows the user to choose what type of run they wish to go on that when clicked takes them to the relevant internal page with more information providing a starting point, a recommended route, and a glimpse of the type of views they may be able to enjoy on that route.

image of run selector section

  • Image of forest view

    • An image to engage the user with another beautiful view of the area they can choose to explore is shown on the home page which then displays a new view that they can find depending on which run type they choose and are currently viewing that runs page.

      image of running view

  • Google Maps links with weather widget

    • Google Maps link is provided so that the user can find out how they can get to the area and their chosen start point with a weather widget showing the local forecast to allow them to plan their run and kit choice.
  • Youtube iframe

    • One of the best running songs to help motivate the user to get out and run is linked to a youtube video so they can control and listen when they want as they browse the website.
  • Footer

    • Links are provided to the user so that they can share their run with people via social media to encourage the growth of running tourism in the Forest of Dean.

Future Feature Ideas

  • A feature that could be introduced in the future is the introduction of a share your route function enabling users to connect socially with other runners and also to build an online community where they can share their photos of the views they have found also. This has not been implemented yet as it would require a database to be built to allow users to upload routes and photos which would need funds to have it hosted by a service.

Testing

  • General

    • The website has been tested to work on different browsers: Chrome, Safari, and Edge.
    • All text is easily readable and laid out in a logical way to help navigation.
    • All links internal and external are functioning correctly.
    • The website is responsive and all functions work across a variety of screen sizes.
  • Bugs

    • When the website was first deployed via GitHub Pages no images were being loaded.
    • This has now been fixed by adding . before the / on the file path for all images as shown here (src="./assets/images/forest-sunny-view.jpg")
  • Unfixed Bugs -None

Validation testing

  • HTML through official W3C validator returned: No errors returned when each page was run through the HTML validator individually.

  • CSS through official W3C validator jigsaw returned: No errors returned from the official site.

  • Accessibility through Lighthouse in dev tools returned:

Lighthouse test result image

Deployment

  • Deployed to GitHub Pages via the following steps: Create the site on GitPod from the Repository (Portfolio-1-Forest-Running ) on GitHub. From the Repository go to the settings tab. Select the Pages section from the Code and automation section. Select the Main branch as the source, /(root), and click save. This then published the site with all updates being pushed from GitPod using the Git Push terminal command.

  • Git Pod: This website was built using Git Pod, running in the chrome browser tool which allowed it to be built and tested using the python3 -m http.server command in the terminal. That hosts the website internally before then publishing it to GitHub as described above. This allowed the quick setup and testing of features as they are built, as any changes made to the code are shown immediately when the python3 opened page is fully refreshed. The index.html was created first with basic holding text placed and the assets folder that now holds the CSS and images folder was also created before the remaining html pages were added. Once all the html pages were created and the links between them were confirmed as working, images could start to be added and CSS styling was also added as the structure of the website was in place.

  • link to live running site

Credits

  • Content

    • favicon provided the medal icon that is seen at the top of the browser tab next to the page title that gives a charming medal appearance as all runners love a medal after a run favcion.io.

    • Icons used for social media links in the Share your run section with others and the runner icon in the run type selection section are provided by Font Awesome

    • Weather widget provided a great item to add to the website to provide weather information that would help the user plan their run, code used:

      <script>
      !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
      </script>
      
  • Media

    • All images used have been provided by myself.

    • Youtube iframe to show one of my favourite running songs by the artist Snow Patrol called Run, code used:

      <iframe width="560" height="315" src="https://www.youtube.com/embed/AOBs8dU4Pb8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
      

therealbond-portfolio-1-forest-running_julyresub's People

Contributors

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