Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 737 Bytes

File metadata and controls

19 lines (15 loc) · 737 Bytes

React-Router-Demo

Contents

Description

This project demonstrates how to create a web page with routes using react-router-dom.

Features

  1. The top of the page contains a navbar which displays course links.
  2. Navigation to different courses has been created using react-router-dom.
  3. When a course is selected, it displays only the specified content for that course.
  4. When "All" is clicked, the page displays the content for all courses.

Functionalities Used

  1. useState is used in the Navbar component to highlight the selected course.
  2. react-router-dom is used to navigate between different courses.