Giter VIP home page Giter VIP logo

ci-project-one-3's Introduction

Halloween in Barrenborough

Halloween in Barrenborough is a website aimed at people from the fictional town of Barrenborough.
Its primary goal is to set the stage for an exciting night of trick or treating and fun for all.
The spooky website, cute informative Halloween videos and inspirational costume gallery are designed to enthuse children (and adults) for the holiday and encourage them to sign up.

Families with children can sign up for trick or treating through a sign up form where they can choose between two different routes.
Everyone living on one of the roads which are part of either route can sign up through a second sign up form to add their address to the map.

The project was made using only HTML and CSS.

Halloween in Barrenborough on multiple platforms


Features

  • Logo
    The Halloween Logo is styled in the 'Ghastly Panic' font and positioned at the top left of every page.
    The bottom of the Logo 'bleeds' over onto the image(s) underneath it on bigger screen sizes to give a spookier effect.

  • Navigation
    The navigation menu is positioned at the top right of every page or below the logo on smaller devices.
    It contains the options: 'Home', 'Costume Gallery' and 'Sign Up'.

    • 'Home' leads back to the main page.
    • 'Costume Gallery' leads to the separate gallery page.
    • 'Sign Up' leads to the separate sign up page, containing both forms.

    The navigation menu is styled so that the active page-name is shown in a different color.

  • Social Media Footer
    The social media footer is positioned at the bottom of every page,
    it contains the logos for Facebook, Instagram, Twitter and Youtube.
    Clicking on one of these opens the corresponding website in a new tab (as Barrenborough is fictional, they lead to each respective main page rather than the specific 'Halloween in Barrenborough' social media platforms).

  • Color Scheme:
    Hex value color scheme


  • Header
    The Header contains a large hero-image of two scary Jack-o-Lanterns which will come forward to haunt you when you move over them with your mouse.
    The purpose of the website is summarized in a small heading in the 'Ghastly Panic' font, placed over the image.

Logo, Navigation Menu and Header

  • Mid Section
    The Mid-Section of the main page contains short summaries of text and bullets regarding why you should sign up.
    The time, date and which streets will be included on which routes is also indicated.
    A toothy green Jack-o-Lantern adds flair in the center.

Mid section image

  • Video Section
    The Video section contains three animated youtube videos (aimed at children) about Halloween.
    'The Origin of Halloween', 'The Origin of Halloween Costumes' and 'The Origin of Jack-O-Lanterns'.
    Below these, the website's footer can be seen.

Video section image


  • Costume Gallery
    The Costume Gallery is exactly that, a Photo Gallery of people dressed up for this special Holiday.

Costume Gallery image top


  • Sign Up Page
    The Sign Up page is the page where people can sign up for either 'Trick or Treating', or for their address to be visited on Halloween Night.
    Each form is closed until the person signing up clicks on the one they wish to use, leaving both forms optional.
    A background of a Pumpkin eating another Pumpkin makes the page more playful.

Sign up forms closed Sign up form Trick or Treat


  • 404 Page
    The custom 404 error page gives viewers something nicer to look at than a regular error page and keeps the Halloween atmosphere despite an error occuring.

404 error page image


Testing

  • I tested that this website works in different browsers: Chrome, Microsoft Edge, Safari

  • I confirmed that this project is responsive, looks good and functions on all standard screen sizes using the devtools device toolbar and double-checking on my own iphone SE, ipad, laptop and the office computer.

  • I confirmed that all written text on the pages is all readable and easy to understand.

  • I confirmed that all videos embedded in the website work and the social media icons open on a new tab.

  • I confirmed that both forms work, will only accept an email in the email field and all required fields are made required.

Validator Testing

  • HTML

    • No errors were returned when passing through the official W3C Validator for pages index.html, signup.html and 404.html.
      page gallery.html came back with the warning: 'Section lacks heading'.
  • CSS

    • No errors were returned when passing through the official W3C Validator.
  • Accessibility

    • I confirmed that the colors and fonts chosen are easy to read and accessible by running it through Lighthouse in devtools:
      Index.html result:
      Lighthouse results Home
      Gallery.html result:
      Lighthouse results Gallery
      Signup.html result:
      Lighthouse results Sign Up

Bugs

Solved Bugs

  • The 'trick-or-treat' sign up form input fields would change color when hovering over the 'add-your-home' sign up form.
    While making the forms I had copied the code of the first form, to use in the second form.
    I forgot to change the ID names linking the labels and input fields, changing these IDs fixed the issue.

  • A horizontal scrollbar showed up on the mobile version of the website.
    As I could not find what was causing this overflow, I googled a solution.
    using overflow-x:hidden on both the html and body elements seemed to do the trick.
    The pages now look as they should on mobile phones.

Unfixed Bugs
As the costume gallery is self explanatory and contains only visual elements in the form of photos I deliberately did not add a heading, despite this causing a warning on the W3C validator for the gallery.html page. In my opinion, adding a heading would ruin the page's aesthetic.


Deployment

  • The site was deployed to GitHub Pages. The Steps to deploy are as follows:
    • In the GitHub repository, navigate to the Settings tab.
    • Scroll down to the GitHub Pages section and click the 'Check it out here!' link.
    • From the source section drop-down menu, select the Main branch.
    • Once the Main branch had been selected, the page provided the link to the completed website.

The live link can be found here: Halloween in Barrenborough


Potential Future Features

  • Ideas for future additions could be:
    • A spooky stories page.
    • A Halloween recipes page (make your own spooky treats).
    • Adding a simple 'Halloween' themed game for children.

Credits

Content

Media

  • All images were taken from Pexels
  • All videos were taken from Youtube
  • The custom HR line was taken from Seekpng

ci-project-one-3's People

Contributors

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