Giter VIP home page Giter VIP logo

javascript-quiz-2's Introduction

Javascript Quiz

Logo

Link: Javascript Quiz

Javascript Quiz is an interactive quiz made for users to test their Javascrip knowlage and by using the quiz improve the knowladge over time. The target audience are any level software developers who want to test and improve their Javascrip knowlage. Additionally this can be used to prepare for technical interviews or tests.

Mockup

First Time Visitor Goals

  • To easily understand the main purpose of the site
  • To be able to intuitively act on optins presented
  • To view the website and content clearly on any device and screen sizes
  • To test their Javascript knowladge
  • To learn more by answering questions and by getting visual feedback

Returning Customer Goals

  • To improve the score
  • To improve their knowlade of Javascript
  • To gain confidence talking about Javascript theoretical points

Frequent Visitor Goals

  • To improve the score
  • To improve their knowlade of Javascript
  • To gain confidence talking about Javascript theoretical points

Design

The inspiration for design at the beginning was taken from "Do you want to be a millionaire TV quiz show. However, the end result doesn't look that similar, which also wasnšt exaclty the goal. Design is aimed to be smart and simple, so user would not be destracted whilst answering the questions.

Features

Quiz Rules

As soon as the website is loaded, user is presented with the quiz rules. This helps the user to understand the rules of the quiz. When user is ready, the START button can be pressed which would then start the quiz. The button has a hover effect applied to it, which indicates to the user that it is a clickable button.

Rules

Correct Answer

Answers also has a hover effect applied to them, which shows that answers are buttons. When user clicks on the correct answer, user is presented with the feeback that the user asnwered question correctly as the selected answer turns green. This instant feedback is useful to make the quiz more interesting for the user.

Correct Answer

Incorrect Answer

When user clicks on the incorrect answer, the answer turns red which indicates to the user that the question is answered incorrectly. The user can click on other answers to check which one is the correct one, this helps the user to learn and memorise the correct answer for the future. However, the score won't increase if the user didn't get the right answer with the first clikck.

Incorrect Answer

Questions counter & score

Score is incremented by 100 every time user gets the correct answer, this encourages user to get more correct answers. Question counter is incremented by one after each questions, showing how many questions have been answered. This help the user to stay engaged until all 30 questions have been answered as the progress is presented.

Questions counter & score

End Result

Once the user answers all 30 questions, then results are presented, showing the total score. The RESTART button is also presented to encourage user to play again and get the better score next time.

End Result

Features left to implement:

Music effects

Short music clip would be played, each time user answers the question. This would work togetehr with the color feedback, to indicate to the user weather the question is answered correctly.

User name

Option to enter the user's name before statign the quiz. This would encourage users to compare results and competete between themselves.

Tools and Technologies

Styles have been applied to the website using CSS.

Functionality to the website have been applied using Javascript.

The fav icon was generated from Favicon.io

The fonts were taken from Font.google.com

Logo was designed using Canva.com

Multi site mockup genrated on Techsini.com

Site was built on deplyed using Github

The website was built using Git version control to commit and push code on to deductaed github raspitory

Google Developer Tools was used to test responsivness and effectively check what changes necessary in css coding to get desired results.

Testing

Testing was performed on three different browsers: Chrome, Firefox and Apple Safari. Some errors were found during the process(marked in yellow), but were rectified quickly by adding some if statements. Repeaded testing was performed once changes were made to ensure all tests were passed. Website was also tested on actual mobile device additionally to in depth responsivness testing performed on Google Developer tools.

Testing

Validator Testing

HTML

The site passes W3C Validator testing on W3C Validator

HTML validator

CSS

The site passes all tests on CSSjigsaw validator

CSS validator

Javascript

The site passes through Java script validator: JShint.com

Accessability

Accessability was tested using Lighthouse on Google Developer Tools, passmark 100% achieved on all pages.

Accessability

Deployment

Creating the site

The site was created based on This template

  • Click 'Use this template'
  • Change the name
  • Click on 'Create new respository"
  • Once created, click on 'Gitpod'
Version Control

The site was built using temrinal commands to "commit" and "push" changes on to github: -git add . (To prepare files to add) -git commit -m "Some description of the commit" (To decscribe partiular commit/changes made) -git push (push the changes on to github)

Deploymnet

The site was deployed to GitHub pages. The steps to deploy are as follows:

  • In the GitHub repository, navigate to the Settings tab
  • Go to pages and select main branch
  • Click save

The live link can be found here - https://lauraz-15.github.io/javascript-quiz/

Credits

Thank you so much my mentor Daisy Mc Girr for all the guidance throughout this project.

Content

The questions were taken from: Pdfcookie.com

Proprofs.com

Media

The photos on all pages were taken from Pixabay.com

javascript-quiz-2's People

Contributors

lauraz-15 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.