Giter Site home page Giter Site logo

booklet's Introduction

  • This is a simple quiz web application called "Booklet".

  • It contains four cards, each with a question related to general knowledge.

  • The questions are progressively displayed on separate cards, and users are required to answer each question before proceeding to the next one.

  • The user's answer is checked after clicking the "Next" button. If the answer is correct, the user proceeds to the next question, but if it's incorrect, the user is prompted to try again. The application is built using HTML, CSS, and JavaScript.

  • The HTML file contains the basic layout of the application, including the four cards, each with its header, body, and footer.

  • The header contains the title of the card, the body contains the question, input field for the user's answer, and the "Next" button. The footer contains the JavaScript file to handle the application's functionality.

  • The CSS file defines the styling of the application, including the layout of the cards, header, body, and footer.

  • The CSS also defines the styles for the "Next" button.

  • The JavaScript file contains the application's logic, including event listeners for the "Next" button, the switch statement to check the user's answer, and the code to toggle the active card.

  • It also contains code to store the user's answer and to display an alert if the answer is incorrect.

ps: might add a score board and a profile:

booklet's People

Contributors

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