Giter Site home page Giter Site logo

kebin20 / quizzical Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 286 KB

This is a quiz app built using React, TypeScript, and styled-components that pulls quiz data from the Open Trivia Database. The app provides users with a set of five questions to answer, complete with answer checking functionality for added convenience.

Home Page: https://quizzicalistic.netlify.app/

JavaScript 5.27% HTML 3.98% TypeScript 85.49% CSS 5.25%
react styled-components typescript

quizzical's Introduction

Game Layout

Quizzical - Trivia App

Table of contents

Overview

Main function

It is a simple quiz app that outputs 5 different questions which in turn, is able to check whether you have answered the questions correctly or not. It will then display how many questions you got right.

Data is fetched from the Open Trivia API.

To see my old commit histories (due to my old repo having problems), please click here.

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • React - JS library
  • TypeScript - Strongly typed programming language ontop of JS
  • style: styled-components

Continued development

Future Implementations

  • Implement a loading screen when the data is being fetched.

  • Add a timer to see how fast you can answer the questions.

  • Add an option to choose which difficulty of quizzes you would like outputted and the number of quizzes outputted as desired.

Resources

  • StackOverflow - This article helped me to solve the issue of getting a type error when using CSS modules. I only need to create a file called typings.d.ts in my src folder and added the following code: declare module "*.module.css";

  • Grepper - This one is a similar problem with the CSS modules, but for SVG files being imported as a module

quizzical's People

Contributors

kebin20 avatar

Watchers

 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.