This project was built for the Code Institute Hackathon in October 2021 by the Horrifying Terrible Monster Lurkers (HTML) team.
Please click here to view the deployed site.
Site owner's goal
Provide a fun experience for users that visit the site and be able to follow the story smoothly.
External user’s goal
Interact with the HTML Halloween story and be taken through an immersive journey.
As a user I want to be able to: Interact with the HTML Halloween story and be taken through an immersive journey.
Wireframes were created using Balsamiq
Wireframes for the project below.

Colours
The following colours have been used in the creation of the site.
-
#0B0E3A - Navy Blue - as the main background colour and to depict the night sky
-
#C5EED1 - Light green - used for the header font text and to depict slime - contrasts well against the background colour to enhance readability for the user.
-
#D9F7E2 - Light green - used for the story font text and to depict slime - contrasts well against the background colour to enhance readability for the user.
-
#0000 - Black - used for the vector images to portray shadows.
Typography
Heading text
Body text
Imagery
- Title page:
- Bats flying across title page with fog in background.
- Interactive Owl
- Page one:
- Castle foreground with bats on screen and spooky fog lights for castle.
- Corn rises up on scroll.
- Interactive witch
- Page two:
- Witch on a broomstick with cat and big moon on the 2nd page.
- Page three:
- Skeleton adorned in flowers
- Gravestones rise from the ground on scroll
- Page four:
- Chains imagery
- Interactive monster
- About Us page:
- Links to GitHub pages for each of the contributors.
- HTML
- CSS
- Javascript
Libraries and Frameworks
- Jquery
IDE, Version control, Repository storage
- Git - Distributed Version Control tool to store versions of files and track changes.
- GitPod - Workspace IDE.
- GitHub - Hosting service used to manage the Git repositories.
Resources
- Balsamiq was used to create the site's wireframes.
- Font Awesome was used for the arrow down and arrow up icons on the site's buttons.
- Inkscape a free and open-source vector graphics editor used to create vector images.
- Adobe Spark
- Adobe Illustrator was used to edit some of the artwork.
- Canva was used to create some of the artwork.
- W3C HTML Validator was used to validate the HTML on the site. This validator does show warnings that headings are not used in any of the site's sections - this is to be expected as the lack of headers is by design to promote an immersive experience. No errors are present in the HTML code otherwise.
- W3C CSS Validator was used to validate the CSS code in the style.css file. No errors are present.
- JSHint was used to validate the JavaScript code in the script.js file. No errors are present.
- Esprima was also used to validate the JavaScript syntax. Returned result: "Code is syntactically valid".
The site was tested across multiple browsers and device types, with no cross-browser compatibility issues to note.
- Browsers tested:
- Chrome (Windows, macOS, iOS, Android)
- Safari (macOS, iOS)
- Microsoft Edge (Windows, macOS)
- Firefox (Windows, macOS)
- Samsung Browser (Android)
The site is mostly responsive across a wide range of device sizes. The fog overlay does not scale to cover the entire viewport height on smaller screen sizes, so gaps in the fog are present at the top and bottom of each site section. A fix may be implemented for this in future, but for now it is a known issue due to time constraints. However, this issue does not detract from the story's immersiveness.
Manual testing was performed on the following elements that appear on all sections of the site, to ensure all are working as expected;
- Fog: overly images appear and animate on all pages where implemented.
- Animated bats spawn and flutter across the screen as expected.
- Interactive Owl displays text and plays hooting sound effects on click as expected.
- "Begin Story" button scrolls to the next section and plays evil laugh sound effect as expected.
- Witch animation triggers transition across the screen and plays cackle sound effect.
- "Next Page" button scrolls to the next section of the story.
- Witch graphic animates on scroll to fly diagonally across the section.
- Moon graphic plays howling sound effect on click.
- "Next Page" button scrolls to section 3.
- Gravestones graphic slides up on scroll.
- Mouseover event on text plays haunting voice sound effect.
- "Next Page" button scrolls to section 4.
- Mouse enter & leave events on monster graphic magnify & shrink monster as expected.
- "About the Creators" button scrolls to the "About Us" section and plays "Happy Halloween" sound effect when clicked.
- URLs for each collaborator open their GitHub profiles in a new tab.
- "Back to Top" button scrolls to the Title page when clicked.
The website was deployed to Github pages via the following steps.
- Log in to Github and locate the website's repository.
- Under the repository name click on settings on the top right of the menu.
- Under the source section select the dropdown 'None' and Master branch.
- The page will automatically refresh.
- Scroll back down through the page to locate the now published site link in the "GitHub Pages" section.
To run this project using Gitpod, you will need to use the Google Chrome browser, and a GitHub account. Then, follow the below steps:
- Install the Gitpod Chrome Browser Extension
- Log in to Gitpod using your GitHub account
- Head to this project's GitHub Repository
- Click the green "Gitpod" button that now appears in the top right corner of the repository, which creates a new Gitpod workspace using the code from the GitHub
- In Gitpod, create a branch to push your commits to using
git checkout -b branch_name. - After pushing changes to your branch using
git push origin branch_name, create a pull request in GitHub.
To run this project using a local IDE, for example VSCode, follow these steps to clone the project:
- Locate the project's repository in GitHub
- Above the list of files, click the "Code" button
- To clone the repository using HTTPS, copy the link under "HTTPS" in the dropdown box
- Open Git Bash and change the current working directory to the location you want the cloned directory to be
- Type
git clone, and paste the URL copied in Step 3, then press enter - Your local clone will be created
- Fog overlay on all pages adapted from: https://github.com/WebDevSHORTS/Fog-Overlay-Animation
- CSS Grid Generator
Images are a combination of graphics generated in Canva, and original artwork drawn in Inkscape.
- MrMonstar font downloaded from: https://www.fontspace.com/mr-monstar-font-f40444
- Counter Attack font downloaded from: https://www.fontspace.com/counter-attack-font-f60802
- Sound effects obtained from zapsplat.com and freesoundeffects.com
- Owl: https://www.zapsplat.com/music/owl-hoot-nighttime-1/
- Cackle: https://www.freesoundeffects.com/free-track/cackle3-466439/
- Evil Laugh: https://www.zapsplat.com/music/evil-male-horror-laugh-7/
- Howling: https://www.zapsplat.com/music/werewolf-howls-distant-1/
- Happy Halloween: https://www.zapsplat.com/music/male-voice-creepy-with-reversed-reverb-says-happy-halloween-2/
- Spooky Voice: https://www.freesoundeffects.com/free-track/haunting-466386/







