In this task, you will create a React.js application in codesandbox.
To know more:
Use the React + Vite option, just like in the local repository.
- Understand the role of React in an application.
-
Represent a triangle, a circle, and a square, using the most appropriate HTML elements.
-
Allow the color and size of each shape to be controlled interactively by the user, as shown in the video.
-
Throw an alert when the size of all the elements is the same or when the color of all the elements is the same.
-
Initializes elements with different size and color.
-
Create a github.com repository.
-
Link the repository to CodeSandBox.
-
There are 3 revisions on GitHub/CodeSandbox in order to pass the test.