npm start
X
Q☆★
Use React' routing and design techniques to do the following:
1. Create a component named "Header":
- (0.5 mark) The component is designed as follows:
(Reduce 0.25 points if not according to design requirements)
React App
← Clocalhost:3000
+
Dashboard
Producers
Stars
Directoni
Genres Movies
- (0.5 mark) When users click on the buttons on the Header component, the website will be routed to the corresponding components, specifically as follows:
Button click
URL route
Directors
http://localhost:3000/director
Producers
Stars
http://localhost:3000/producer
http://localhost:3000/star
http://localhost:3000/genre
Genres
Movies
http://localhost:3000/movie
Zoom
+ 100%
Close