diff --git a/README.md b/README.md index 76921e4..8cb4702 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,69 @@ # Coding-Quiz -Coding Quiz Challenge +Coding Quiz Challenge using JavaScript + +## Overview + +Welcome to the Coding Quiz Website! This web application allows users to test their coding knowledge through a series of interactive quizzes. The quiz challenges users with code-related questions and provides instant feedback on their answers. + +## Table of Contents + +- [Features](#features) +- [Screenshots](#screenshots) +- [Deployment](#deployment) +- [How to Use](#how-to-use) +- [Contributing](#contributing) +- [License](#license) + +## Features + +- **Quiz Challenges:** Engage in coding challenges covering various programming topics. +- **Timer:** A countdown timer adds an element of urgency to the quiz, and incorrect answers result in a time penalty. +- **Score Tracking:** Keep track of your score as you progress through the quiz. +- **Highscores:** View and submit your scores to compete with others on the highscores leaderboard. + +## Screenshots + +![Screenshot1](/assets/images/finished_startquiz_Page.png) +![Screenshot2](/assets/images/finished_question1_Page.png) +![Screenshot3](/assets/images/finished_question2_Page.png) +![Screenshot4](/assets/images/finished_end_quiz.png) +![Screenshot5](/assets/images/finished_highscores_page.png) + +## Deployment + +1. Site is live at https://vivekiyer7.github.io/Coding-Quiz/ + +To run the application locally, follow these steps: + +1. Clone the repository: `git clone https://github.com/vivekiyer7/Coding-Quiz.git` +2. Open the `index.html` file in your preferred browser. + +## How to Use + +1. Open the web application in your preferred browser. +2. Quiz is for 75 Sec and has 10 Questions (which ever finish first) +3. There is a peanlty of 10 Sec if answer is worng. +4. At the end answer is displayed and can be stored. +5. Past highscrores can be seen from High-Scores Page. + +## Contributing + +If you'd like to contribute to this project, please follow these steps: + +1. Fork the repository. +2. Create a new branch: `git checkout -b feature/new-feature`. +3. Commit your changes: `git commit -m 'Add new feature'`. +4. Push to the branch: `git push origin feature/new-feature`. +5. Submit a pull request. + +## License + +This project is licensed under the [GNU General Public License v3.0](LICENSE). + +### Author + +Vivek Iyer + +--- + +Made with ❤️️ by Vivek Iyer diff --git a/assets/Challenge_ReadME.md b/assets/Challenge_ReadME.md index 6d8b9a2..fd28cb8 100644 --- a/assets/Challenge_ReadME.md +++ b/assets/Challenge_ReadME.md @@ -35,7 +35,7 @@ Create a code quiz that contains the following requirements: The following animation demonstrates the application functionality: -![Animation of code quiz. Presses button to start quiz. Clicks the button for the answer to each question, displays if answer was correct or incorrect. Quiz finishes and displays high scores. User adds their intials, then clears their intials and starts over.](./assets/08-web-apis-challenge-demo.gif) +![Animation of code quiz. Presses button to start quiz. Clicks the button for the answer to each question, displays if answer was correct or incorrect. Quiz finishes and displays high scores. User adds their intials, then clears their intials and starts over.](./images/08-web-apis-challenge-demo.gif) ## Grading Requirements diff --git a/assets/css/styles.css b/assets/css/styles.css index 8f2861b..f3122ab 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -1,6 +1,7 @@ body { font-family: Arial; - font-size: 120%; + font-size: 100%; + background-color: #f0f0f0; } a { @@ -42,6 +43,7 @@ ol { padding-left: 0px; max-height: 400px; overflow: auto; + text-align: left; } li { @@ -56,10 +58,12 @@ li:nth-child(odd) { .wrapper { margin: 100px auto 0 auto; max-width: 600px; + text-align: center; } .hide { display: none; + text-align: center; } .start { @@ -86,3 +90,31 @@ li:nth-child(odd) { top: 10px; right: 10px; } + +.flex-container { + display: flex; + flex-direction: column; + height: 100vh; +} + +#questions-title { + text-align: center; +} + +.flex-container h2 { + text-align: left; +} + +.flex-container h3 { + text-align: left; + font-style: italic; +} + +#questions-html { + display: none; +} + +.separator { + border: 1px solid #ccc; + margin: 10px 0; +} diff --git a/assets/html/highscores.html b/assets/html/highscores.html index 470387b..17b477b 100644 --- a/assets/html/highscores.html +++ b/assets/html/highscores.html @@ -4,9 +4,10 @@ +