Professional Documents
Culture Documents
React Assignment
React Assignment
1. Create a simple React component that displays "Hello, World!" on the screen.
2. Implement a stateful component that allows a user to input their name and displays
a personalized greeting.
3. Build a React component that fetches data from an API and displays it on the screen.
Assignment Set 2:
1. Create a reusable React component that represents a button. The button should
have different styles for primary and secondary variants.
2. Implement a dropdown component that can be used to select an option from a list
of values.
3. Build a form component that includes multiple input fields (text, checkbox, etc.) and
handles form submission.
Assignment Set 3:
1. Create a React application that has multiple pages/routes using React Router. Each
page should have a unique URL and display different content.
2. Implement a navigation bar component that allows users to navigate between
different pages/routes in the application.
3. Build a dynamic route that fetches data based on a parameter from the URL and
displays it on the screen.