Challenge: Simplified E-Commerce Application
Explore how to build a simplified e-commerce application using React Router. Learn to implement dynamic and nested routes for product details, protect routes with simulated authentication, handle navigation, and add a contact form with submission alerts. This lesson helps you create a functional single-page app with proper routing and user interaction.
We'll cover the following...
We'll cover the following...
Problem statement
You are tasked with creating a simplified e-commerce application with the following features:
Home page: Display links to navigate to the "Products" page, "Contact" page, and "Cart" page.
Products page: List at least 3 real products, each with a name, description, and price. Each product should have a "View details" link that navigates to the "Product Details" page using ...