Skip to content

muhamedRadwan/frontend-second-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

Frontend Task 2 – React Quiz App

Welcome to Task 2 of the frontend assessment. This task focuses on your ability to build a functional React app using proper state management and API integration.

🎯 Objective

Build a Quiz Page using React that:

  • Fetches quiz questions from a JSON API or file.
  • Displays one question at a time.
  • Lets the user select answers.
  • Calculates and displays the final score.
  • Uses a state management solution beyond just useState.

πŸ”§ Requirements

  • βœ… Use React (with or without a framework like Next.js or Vite).
  • βœ… Fetch quiz data from an API or local JSON file.
  • βœ… Show one question at a time with multiple choices.
  • βœ… Show the user's score at the end.
  • βœ… Use one of the following for state management:
    • React Context
    • Redux Toolkit
    • Zustand
    • Jotai
    • Or any modern alternative

πŸ”— Sample API

Use this public JSON URL: https://s3.vclasses.net/dev-alsamerre/quiz

πŸ“¬ Submission

  • Fork this repository.

  • Complete the task in your forked repository.

  • Push your solution to your fork.

  • Open a Pull Request to this original repository.

  • Include your email in the title of the Pull Request.

    Example title: Frontend Task Submission - [email protected]

⏱ Deadline

The last Date for this task is 10/04/2025

Good luck!

About

This task to know react skills

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published