Skip to content

JEEVA-SARAVANAN/CodTech-Task2-Interactive-Quiz-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CodTech-Task2-Interactive-Quiz-Application

Myself S.Jeeva,I have completed my FrontEnd Web development Internship in CodTech It Solutions Pvt.Ltd.

Name: JEEVA S
Company: CODTECH IT SOLUTIONS PVT.LTD
ID: CT08DS8705
Domain: FRONTEND WEB DEVELOPMENT
Duration: September 30th,2024 to October 30th,2024

OVERVIEW OF THE PROJECT

Screenshot (287)

PROJECT: INTERACTIVE QUIZ APPLICATION

This Interactive Quiz Application project is a browser-based quiz built with HTML, JavaScript, and CSS, designed for users to answer multiple-choice questions interactively.

Here’s an overview of the key elements and functionality:

  1. Project Structure
    *HTML (quiz.html): Provides the structure and layout for the quiz interface.
    *JavaScript (script.js): Handles the quiz logic, including question loading, answer validation, scoring, and result display.
    *CSS (styles.css): Styles the quiz layout, creating an interactive and user-friendly experience.

  2. Functionality Overview
    *Question Display: Displays one question at a time with multiple-choice options.
    *Answer Validation: Checks if the selected answer is correct, provides immediate feedback (e.g., "Correct!" or "Wrong! The correct answer was..."), and adjusts the score accordingly.
    *Navigation: Includes a "Next Question" button to move through the quiz.
    *Result Calculation: After all questions are answered, the final score is displayed along with an option to restart the quiz. *Restart Feature: Resets the quiz and allows users to retake it.

  3. File Breakdown
    #quiz.html:
    *Sets up containers for questions, choices, feedback, and the result display.
    *Includes the JavaScript and CSS files for functionality and styling.
    #script.js:
    *Contains an array of questions and logic functions for question loading, answer checking, score tracking, and result display.
    *Initializes the quiz on page load and provides functions for navigating and restarting the quiz.
    #styles.css:
    *Centers the quiz on the page and styles it with visually appealing colors, fonts, and button effects.
    *Provides interactive button styles for choice selection and navigation.

  4. User Flow
    *Users start by viewing the first question and selecting an answer.
    *Immediate feedback is given, and users can proceed to the next question.
    *Once all questions are answered, a results screen shows the user’s score, with an option to restart the quiz.

In conclusion, this Interactive Quiz Application provides a straightforward and engaging platform for users to test their knowledge through multiple-choice questions. By utilizing HTML for structure, JavaScript for functionality, and CSS for styling, this project showcases how web technologies can create a dynamic user experience. Key features, such as immediate feedback, score tracking, and a restart option, make it user-friendly and easily extensible.