The Quiz Time Website is a site about personality quizzes. It is about testing how you spend your time. That is, how well you manage your time.
View the live Website on Github Pages Please note: To open any links in this document in a new browser tab, please press CTRL + Click.
Quiz Time is a website created for those who want to test their personality according to what they do in everyday life. It is simple and seeks to understand how you spend your time on everyday activities.
Initially, I utilised Balsamiq to produce low-fidelity wireframes to organise the site structure and potential content placement locations.
- The navigation bar features a simple design with only a moon symbol for the Dark Theme and a sun symbol for the Light Theme. Therefore, there are two options that the user can choose between them.
- Only the home page includes a circle that makes an apology that our lives are based on circles. The main page has two questions. The first one makes the user curious to know what he will know at the end of the quiz. The second asks if he is ready for the quizzes. Just below, there is a button to start the quiz.
- The lower section of the common footer includes logo links to each of the social media platforms. This provides the user with a visual call to action to prompt them into visiting the social media profiles.
- These links offer an unintrusive method of promoting the social media channels to the user, providing benefits to the organisation by the way of increased social media following.
- There are 8 questions and 4 options. The questions and options will be updated as the user answers the quiz.
- The progress bar will be filled as the user answers the quiz.
- The result will be displayed according to the answers to the quiz.
- The user has two options to choose between dark and light themes.
The website has been tested by friends in different browsers ( Chrome, Firefox, Safari) and on different smartphones, laptops and desktops. I have personally tested the site extensively with development tools to ensure that the site works responsively not only on mobile devices but also on medium to large screens. This website is supports by resolutions Desktop(1600x992px and over), Laptop(1280x802px), Tablet(768x1024px), Mobile(320x480px).
- The process included are as follows:
- Home: Includes a button to start the quiz, a circle spinning and two questions to involve the users to do the quiz.
- Quiz: Includes eight questions and four options. A progress bar will be filled according to the options selected by the user.
- Result: Includes the results about the personality's users. A button to, return to the home page.
- The clock symbol above the progress bar is for visual design only.
-
The official WC3 HTML Validator website showed an error in the HTML file as screenshot below. To fix this error I had to create a script function inside the file. The function only aims to click on the 'Start Quiz' button' and take you to another page. The same problem is with the 'Test Again' button. Problem solved successfully. Therefore, all HTML files got 100% Validator without errors.
-
No errors were returned when passing through the official W3C Validator.
- No errors were returned when passing through the official (Jigsaw) Validator.
-
No errors were returned when passing through the official JSHInt
- Test quiz.js file
- Test result.js
-
I generated a lighthouse report for the deployed site through the Google Chrome Dev Tools. I generated both a desktop and mobile report. The two reports, both for mobile and desktop, reported that the image sizes were too heavy to load. I redacted the images and turned them into Webp archive by the site EZGIF.COM and then I improved the performance score.
- I have tested all the pages HOME - QUESTIONS - RESULTS for the following analyses:
On all the pages no errors were detected! Link to results
-
The site was deployed to GitHub pages. The steps to deploy are as follows:
- In the GitHub repository, navigate to the settings tab.
- Select the pages to link from the setting menu on the left-hand side.
- Under the GitHub Pages from the source section drop-down menu, select the master branch.
- Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.
The live link can be found here - The Quiz Time Live Site
- The logic for all quizzes was created by myself.
- The reference material on HTML and CSS provided by w3schools.com was utilised to implement flexbox and as general reference material for other areas.
- The logo for the footer I used for this project was taken from Font Awesome.
- The materials and ideas utilized to create the Toogle Theme were found in a couple of videos by Youtube.
- The Favicon, links and meta code were generated by favicon.io.