Giter VIP home page Giter VIP logo

codequiz's Introduction

Coding Quiz

Description

Created a short 5 question coding quiz that starts at 60 seconds and counts down. For every question you get right, you get 1 point added to your final score, and for every question you get wrong, 2 seconds are subtracted from your time.

Built With

  • HTML
  • CSS
  • JavaScript

Installation

There is no installation required for this website. Simply click on the link below and you will be taken directly to the website!

Link: https://nicnolen.github.io/CodeQuiz/

When you click on the link, you should see a webpage similar to the one below.

JavaScript Quiz Homepage

If you see this page, you're good to go!

codequiz's People

Contributors

nicnolen avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

discoveren

codequiz's Issues

Timer

Make a timer that

  • Starts a 60 second countdown as soon as the start button is clicked
  • Subtracts 2 seconds for each incorrect answer
  • Stops the quiz when the timer reaches 0 or as soon as the quiz is completed

High Scores Data

** To Do **

  • Make sure users cant input a highscore without putting in initials

High Score

When the game is over, the user should be presented with

  • A message that says whether or not the high score was beaten
  • The user's score
  • The high score
  • A textbox to enter their initials to be stored in the localStorage

Start Button

Make a start button that

  • Presents a question and a list of possible answers when clicked
  • Starts a timer countdown when clicked
  • Hides the start button when clicked

Submit Answer Button

Make a button that

  • Submits the user's answer when clicked
  • Says "correct!" if the user submits the correct answer, or a description of why the answer is incorrect if the user is incorrect
  • Subtracts 2 seconds from the timer if the answer is incorrect

Quiz-Box

Make a quiz that has

  • At least 5 different questions
  • Each question has 4 answer choices

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.