Giter VIP home page Giter VIP logo

time-quiz's Introduction

The Quiz Time!

Introduction

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.

Responsive Screenshot

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.

Table Of Contents:

UX

Quiz Time

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.

Colour Palette

color used in this project

Wireframe mockups

Initially, I utilised Balsamiq to produce low-fidelity wireframes to organise the site structure and potential content placement locations.

Features

Common Features

Navigation Bar

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

Navigation bar Dark Theme screenshot

Navigation bar Light Theme screenshot

Hero Image

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

Screenshot Hero Immage

Footer

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

Screenshot Footer

Quiz Page

  • There are 8 questions and 4 options. The questions and options will be updated as the user answers the quiz.

Quiz page screenshot

Progress Bar

  • The progress bar will be filled as the user answers the quiz.

Progress bar screenshot

Result Page

  • The result will be displayed according to the answers to the quiz.

Result page screenshot

Dark Theme and Light Theme

  • The user has two options to choose between dark and light themes.

Screenshot of themes

Technologies

  • Technologies / Tools Used

    • html5
    • css3
    • javascript
    • balsamiq
    • adobecolor

Testing

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

Feature Testing

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

Fixed Issues

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

    • Error in index.html file fixed. Screenshot html index.html error

    • Error in result.html file fixed. Screenshot html result.html error

Validator Testing

HTML

Screenshot WSC Validator

CSS

  • No errors were returned when passing through the official (Jigsaw) Validator.

Screenshot Results CSS validator

JavaScript

  • No errors were returned when passing through the official JSHInt

    • Test quiz.js file

     Screenshot Test quiz.js file

    • Test result.js

    Screenshot Test result.js file

Lighthouse

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

    • Mobile
      Screenshot Mobile Score

    • Desktop
      Screenshot Desktop Score)

WAVE Web Accessibility Evaluation Tool

  • I have tested all the pages HOME - QUESTIONS - RESULTS for the following analyses:

Wave Screenshot

On all the pages no errors were detected! Link to results

Deployment

  • 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

Credits

Content

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

Media

  • The Favicon, links and meta code were generated by favicon.io.

time-quiz's People

Contributors

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