GithubHelp home page GithubHelp logo

coding-quiz's Introduction

Coding Quiz

Bootcamp Week 4 - A coding quiz using vanilla JS

Purpose

This is a quiz application designed to show 5 questions about basic JavaScript to the user which has to be completed within 60 seconds, losing 10 seconds for each incorrect answer. If the user is able to complete the quiz successfully, they will be asked to save their time with their name to local storage.

Built with

  • HTML
  • CSS
  • Vanilla JavaScript

Live Site

https://auralise.github.io/coding-quiz/index.html

Coding-Quiz

Contributions & Attribution

All of the code in this project was written by James Prince.

Challenges

With this challenge, I have attempted to make this as extensible as possibe so that if/when more questions are added, they are automatically put into rotation. If an insufficient number of questions are provided, the quiz will allow repeats. I have randomised the questions presented to the user in addition to this.

Due to my relative unfamiliarity with both JavaScript and effective software design structures as well as the time constraints of this exercise, I am not entirely satisfied with the quality of the code. When reviewing and refactoring the code, I am not entirely certain the best way to proceed to both simplify the code and increase its readability. It is functional in its current state and has been commented extensively.

Notes

Please forgive the humour in the questions. This would not be a quiz written by me without a little joke here and there.

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.