Skip to content

Jadessu/Project-Quiz-Game

Repository files navigation

So You Think You Can Code

A vanilla JS browser Quiz Game

SYTYCC WEBSITE

SYTYCC is an online education game that quizzes the user on their programming knowledge. The topics featured in the game are as follow:

  • HTML
  • CSS
  • FLEXBOX/GRID
  • JAVASCRIPT

Features

  • User can navigate through the website which features many CSS effects.
  • Study the topics in the quiz with flashcards in the study section of the website.
  • Take a quiz on your chosen topic
  • Receive a score based on your quiz results and a fail/pass response.
  • Have fun learning!

Tech

Languages

  • [HTML] -The standard markup language for documents designed to be displayed in a web browser.
  • [CSS] - A style sheet language used for presentation of a wesbite.
  • [JAVSCRIPT] - Prototype based object oriented language.
  • [Bootstrap] - based design templates for interface components.
  • [FLEXBOX] - A layout model that allows elements to align and distribute space within a container.
  • [GRID] - Enables an author to align elements into columns and rows.

Websites

  • ICONS8 - Download design elements for free: icons, photos, vector illustrations, and music for your videos.
  • uiGradients - A handpicked collection of beautiful color gradients for designers and developers​.
  • neumorphism.io - CSS code generator that will help with colors, gradients, and shadows.

Audio

  • Bensounds - Download royalty free music for free and use it in your project.
  • freesound - A collaborative database of creative commons licensed sounds for free.




PSEUDOCODE

Home-Page

Upon loading the page, the user will be presented with the homepage, which includes the title, navigation-bar, and logo

The user can either use the navigation bar to access the contents of the page or scroll to each section. These sections include the Quiz and Study session

The Quiz Section

On the quiz page, the user will have access to 4 different categories of quiz. These categories will include Html, Css, Flebox & grid, and Javascript on the left side of the screen.

On hover, the user will receive the quiz direction on the left side of the screen. This direction will read as follow:

                      Quiz Name

This quiz contains 10 questions and there is no time limit. A minimum socre of 70% is required to win the game. Click to start!

The user will also be presented with a button that reads "I am not ready" Upon clicking this button, the user will be redirected to the study session, which will open on a new page.

If the user select a topic to be quizzed on, the user will be directed to the quiz section of that category.

  • On the quiz page, the user will be presented with a navigation bar that includes the home and all the other quiz categories

Clicking any of the quiz categories will result in the user switching over to that quiz. Clicking the home menu will redirect the user to the landing page.

  • The quiz section includes a tracker at the top to track the question the user is on. This will be out of 10 questions. This will be followed by the actual question and 4 different options for the user to choose from and a next button to go to the next question. A timer will also be present at the top of the quiz box to track the duration of the quiz.

If the user selects the correct option, the box of that option will change to a color of green and a message at the bottom that reads "You know your stuff!"

Otherwise, if the user selects the incorrect option, the box of that option will change to a color of red, the correct answer will also appear with a color of green and a message at the bottom that reads "You will get it next time!"

  • At the end of the quiz(10 questions), the user will receive a new box that pops up as an evaluation box. This box will report the user's score, a pass or fail response, the duration of the quiz, and a button to try again. An example of this will read as follow:
                 Your Evaluation

You got 4 out of 10 answers correct. That is 40%. You failed. A minimum score of 70% is required to win the game. It took you 8 minutes and 38 seconds to complete the quiz.

There is also a toggle button at the top of the page that will switch the style to a dark or light mode

Study section

The study page includes 4 categories. These categories are the same as the categories for the quiz. The user will see a message at the top that reads:

Choose a topic to study

  • The user will be presented with the 4 label boxes and a button of get started. Upon clicking that button, the user will be redirected to the study section of that category.
    • The page includes a navbar and a question and answer drop box in the form of an accordion. Clicking on a question will open a drop down box that includes an explanation of the answer. This box will go away as soon as the user clicks on another question.

At the bottom of the page, there is a text that reads:

Don't like the background color? Click here to change it.

  • Upon clicking that text, the user will be faced with a prompt box that asks for a color. If the user enters a color, the background of the page will change to that color. The user can also enter an RGB number or Hex Colors.

WIREFRAME

SPECIAL THANKS

  • First and foremost, to all my instrcutors and peers from GA SEIR-EC-6-7. My peers design ideas from our prior tic tac toe project were great inspirations to use on this project.

  • BreanD - Reached out to him to inccorporate a similar design he used for a website and he was more than happy to help. He even offered to help me include REACT.

  • The Engineering Channel - All of my problems that couldn't be resolved with stackoverflow were easily resolved throught the engineering channel.

  • Netflix - Although it is a common design pattern, I practiced designing the Netflix layout a long time ago and I was able to use that same pattern in my design. (Home section main content centered and items aligned to left and right on pages after the home section.)

  • Julio Codes - I wanted to incoorporate the nextlfix Q & A section in my app as a study page. His tutorial on how to implemenet Javascript in there was very helpful.

  • ljc-dev - For my mobile responsivess, I wanted to incoorporate a hamburger menu that I see on every site. He had a guide on how to do that on the dev website.

  • Stackoflow - Links for each function from stack overflow that was tweaked will be included in the comments at the end of the JS file.

APP SCREENSHOTS

FUTURE UPDATES

Most of these will require backend.

  • A note taking section for user to take notes in and refer to later.
  • Make your own quiz(enter your own questons and answers) and be tested on it!
  • Add more questions with an API, especially common interview questions.
  • Include a difficulty mode. User will only be allowed 10 seconds per question.
  • Add a section that requires user to actually write out code in the quiz. Example(FizzBuzz)
  • Add a music only section with a playlist of music to help users code.
  • Add reference sites to learn how to code or do specific things you see on the website.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors