Giter VIP home page Giter VIP logo

javascript-project-4's Introduction

Cheese Mines Quiz™🧀

Description

A fun online quiz meant to educate people about the cheese mines in the USA! How did they start? Why? Is it all a conspiracy? 👀

This website tries to have the old 90s conspiracy website vibe/design. To poke fun of the people that make everything a conspiracy, especially if it involves the government.


Existing Features

Logo & Banner

  • Featured at the top of the page, the logo and banner, which is a gif, are easy to see for the user. Logo and Banner

Navigation Bar

  • It features
    • Two links:
      • In the Homepage, there are two links, one takes the user to a history channel article about the "cheese mines", if the user wishes to learn more.
      • In the quiz page thr user has a third link in the nav bar, a link to get to the homepage. nav-bar-img

Quiz

  • Seven questions.
    • Three answers.
      • A submit button at the end of the quiz.
        • It will highlight if you got the correct or wrong answer, if it is correct it will highlight in green, if it is wrong it will highlight in red.
        • It will also show how many questions, out of four, the user got right. quiz-section


Planning

  • First I've had to figure put who is this website for?
    • Is the topic interesting?
      • Why this topic?
        • Cheese mines sounds more like an amusment park ride than goverment warehouses full of cheese.
        • People in the USA somewhat now what they are (or think that they are fake) but not here in here in Europe. So I thought their fun and turn into a fun quiz.

I've drawn a small outline on how the website should like first, before start coding. sketch


Bugs & Fixes

  • The JavaScript Quiz would not show on HTML page. Managed to fix by retyping last part of the code in JS and fixing file arrangement.
  • If the user selects the correct answer, it will still mark it as wrong. Fixed, the bug was caused by a typo in JS.

Unfixed Bugs

When the user get an answer right or wrong, the entire section get's highlighted not just the answer.

bug


Testing

Validator

  • HTML

    • A couple of erros were found in index.html html
  • CSS

    • No errors were returned when passing through the official W3C validator css-test
  • JS

    • No errors were found when passing through the official (Jigsaw) validator
    • Metrics returned:
      • There are 5 functions in this file.
      • Function with the largest signature take 2 arguments, while the median is 0.
      • Largest function has 8 statements in it, while the median is 4.
      • The most complex function has a cyclomatic complexity value of 3 while the median is 1.

Browers tested on

  • Opera GX
    • Worked normally
  • Microsoft Edge
    • Worked normally
  • Google Chrome
    • Worked normally


Credit

Code inspired by

Gifs

Languages used

  • HTML
  • CSS
  • JavaScript

Note taking & Planning

  • Obsidian Notes
    • It is an interesting productivity application. It is a Markdown-based system that incorporates tags, plugins and back-links to create a compelling to use system. Great tool for note-taking and planning out projects. Later you can export your notes as PDFs.

javascript-project-4's People

Contributors

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