Themepark Finder is a website created with HTML, CSS and JS utilising the Google Maps API to allow a user to search for an amusement, theme park and accommodation and view additional information about that park.
The website was created to enable a visitor to search, view and plan a trip (vacation) to an amusement or theme park in the United Kingdom.
THe website is deployed here
The website was created as a single page that is split over 4 pages (landing page, about us, carousel, Google Map with some filtering and results and a contact form to allow a visitor to the site to make enquiries)
As a user to the site:
- As a visitor, I want to perform an action, so that I can achieve a goal.
- As a visitor, I want to be able to search for a city in the United Kingdom and see a list of themeparks.
- As a visitor, I want to be able to search for a city in the United Kingdom and see a list of corresponding hotels.
- As a visitor, I want to be able to filter the search results between themeparks and hotels.
- As a visitor, I want to be able to find additional information about a theme park or hotel by selecting the name from search results.
The design started out on paper and I did a quick mockup to get some ideas down, from there I moved over to Balsamq and finalised the design.
My plan was to have a simple navigation that was responsive and intuitive for a user.
- Landning page / top image of a rolldercoater and some text
- About us / intro to to why and how the website was created.
- Find a theme park / using Google Maps API to create a searchable country list that autocompletes and lists the avaialbe themeparks.
- Contact Form / to make enquires or to make a booking.
- Enhancements to the search function.
- Add additional countries to expand coverage.
- Add additional filters and navigation.
- Add FAQ and additional page with information about different theme parks and their attractions.
- Add function to allow visitors to submit reviews, recommendations and tips.
This website uses HTML, CSS and JS programming languages.
- Gitpod IDE Editor
- Bootstrap The project uses Bootstrap 4 to create a responsive website.
- Bootstrap 4 with CDN Boilerplate extension to provide Bootstrap 4 starter template. With jQuery, popper.js and Font-Awesome 5
- Google Fonts The project uses Google fonts to style the website fonts.
For this project I checked to ensure the website would work with 3 popular web browsers Chrome, Firefox and Edge (although this will be deprecated) To check the website is responsive and sizes correctly deepening on the size of the browser window.
- Website navigation and functionality
- Try to click on each button in the navigation menu and that each button links to the relevant section (About Us Find/Google Map and Contact form).
- Try to submit the empty form and verify that an error message about the required fields appears
- Try to submit an invalid city in the UK and only shows an overview map of the United Kingdom.
- Try to submit the form with all inputs valid and verify that a success message appears.
- Try to enter a UK city name, such as London, Manchester, Blackpool and the map populates with locations.
- Try and click on the amusement button and
-
Interesting bugs or problems you discovered during your testing.
- Testing the contact form - the required fields are not working as intended and am troubling shooting this. (this is likely an issue with the html tags)
-
The developer used W3C CSS Validation Service and W3C Markup Validation Service to check the validity of the website code.
- W3C CSS validation
- W3C Markup Validation
- Font Awesome - Social Media Logos
- GIT - Version Control
- GitHub - to host the repositories for this project and the live website preview
This project was developed using the Gitpod Cloud IDE, committed to git and pushed to GitHub using the built-in function within Gitpod.
To deploy this page to GitHub Pages from its GitHub repository, the following steps were taken:
- Log into GitHub.
- From the list of repositories on the screen, select barrydalton/ThemeparkFinder.
- From the menu items near the top of the page, select Settings.
- Scroll down to the GitHub Pages section.
- Under Source click the drop-down menu labelled None and select Master Branch
- On selecting Master Branch the page is automatically refreshed, the website is now deployed.
- Scroll back down to the GitHub Pages section to retrieve the link to the deployed website.
At the moment of submitting this Milestone project the Development Branch and Master Branch are identical.
To clone this project from GitHub:
- Follow this link to the Project GitHub repository.
- Under the repository name, click "Clone or download".
- In the Clone with HTTPs section, copy the clone URL for the repository.
- In your local IDE open Git Bash.
- Change the current working directory to the location where you want the cloned directory to be made.
- Type
git clone
, and then paste the URL you copied in Step 3.
git clone https://github.com/USERNAME/REPOSITORY
- Press Enter. Your local clone will be created.
Further reading and troubleshooting on cloning a repository from GitHub here.
- W3Schools for its endless resources
- Google Place autocomplete hotel search
- [Bootstrap Modal] (https://getbootstrap.com/docs/4.0/components/modal/)
- [Place Autocomplete Hotel Searc] (https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-hotelsearch) I adapteted that Google provided to find hotels and added a "amusement_park"
- Google Maps API Places
- Bootstrap 4 with CDN Boilerplate extension provied the boilerplate template for Gitpod.
- The photos used in this site were obtained from Google image search.
- I received inspiration for this project from many travel programs and watching rollercoaster videos on YouTube.
- My mentor Brian Macharia - for his guidance.
- Code Institute Slack Community!