The goal of this web site is to provide a challenging quiz to entertain online users.
-
-
- As Visitor, I want to be able to create a user account
- As Visitor, I want to be able to login with my credentials after creating my account
- As Visitor, I want to be able to play the quiz by answering questions.
- As Visitor, I want to be able to see my score at the end of the quiz.
-
-
-
- The two main colours used are dark gray, and white and red.
-
- The Poppins and the Jost font are the main font used throughout the whole website with Sans Serif as the fallback font in case for any reason the fonts aren't being imported into the site correctly. Poppins and Jost are a clean font, so they are both attractive and appropriate.
-
- Images are not really widely used in this project.
-
-
Responsive on all device sizes
-
Interactive elements
-
Registration / Login and quiz forms
- Google Fonts:
- Google fonts were used to import the 'Roboto' font into the style.css file which is used on all pages throughout the project.
- Font Awesome:
- Font Awesome was used on all pages throughout the website to add icons for aesthetic and UX purposes.
- Git
- Git was used for version control by utilizing the Gitpod terminal to commit to Git and Push to GitHub.
- GitHub:
- GitHub is used to store the projects code after being pushed from Git.
- JQUERY:
- jQuery is a fast, small, and feature-rich JavaScript library.
The W3C Markup Validator and W3C CSS Validator Services were used to validate every page of the project to ensure there were no syntax errors in the project.
- W3C Markup Validator - [Results] No errors were found
- W3C CSS Validator - [Results] No errors were found
- JS Hint - [Results] No errors were found
-
-
As Visitor, I want to be able to create a user account
- Upon entering the site, there is a login form visible with a textual description on were to click to create an account
- When the link is clicked, the user is presented a form to create his account
- upon submission, the form is validated. if passed, an account is created and the login form becomes visible again.
-
As Visitor, I want to be able to login with my credentials after creating my account
- Upon entering the site, there is a login form visible with a textual description on were to click to create an account
- The user can choose to enter his username and password and click on the login button
- When the login button is clicked, the form is sent, validated, if passed the user is given a quiz session
-
As Visitor, I want to be able to play the quiz by answering questions.
- When the user is logged in, the quiz becomes visible
- The user can answer the questions and move on to the next question
-
As Visitor, I want to be able to see my score at the end of the quiz.
- After the lattest question, a thank you pages becomes visible, with the score
-
- The Website was tested on Google Chrome, Microsoft Edge and Safari browsers.
- The website was viewed on a variety of devices such as Desktop, Laptop, iPhone7, iPhone 8 & iPhoneX.
- A large amount of testing was done to ensure that all pages were linking correctly.
- Friends and family members were asked to review the site and documentation to point out any bugs and/or user experience issues.
The project was deployed to GitHub Pages using the following steps...
- Log in to GitHub and locate the GitHub Repository
- At the top of the Repository (not top of page), locate the "Settings" Button on the menu.
- Scroll down the Settings page until you locate the "GitHub Pages" Section.
- Under "Source", click the dropdown called "None" and select "main Branch".
- The page will automatically refresh.
- Scroll back down through the page to locate the now published site link in the "GitHub Pages" section.
By forking the GitHub Repository we make a copy of the original repository on our GitHub account to view and/or make changes without affecting the original repository by using the following steps...
- Log in to GitHub and locate the GitHub Repository
- At the top of the Repository (not top of page) just above the "Settings" Button on the menu, locate the "Fork" Button.
- You should now have a copy of the original repository in your GitHub account.
- Log in to GitHub and locate the GitHub Repository
- Under the repository name, click "Clone or download".
- To clone the repository using HTTPS, under "Clone with HTTPS", copy the link.
- 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/YOUR-USERNAME/YOUR-REPOSITORY
- Press Enter. Your local clone will be created.
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
> Cloning into `CI-Clone`...
> remote: Counting objects: 10, done.
> remote: Compressing objects: 100% (8/8), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (10/10), done.
Click Here to retrieve pictures for some of the buttons and more detailed explanations of the above process.
- MDN Web Docs : For Pattern Validation code. Code was modified to better fit my needs and to match an Irish phone number layout to ensure correct validation. Tutorial Found Here
- All content was written by the developer.
-
My Mentor for continuous helpful feedback.
-
Tutor support at Code Institute for their support.