🎓 College: College Methodist Granbery
👨🏫 Teacher: Érica Carvalho - Github | Linkedin
- An application must be created with the Lucky Balloon theme. The objective is to pop a balloon that must display a random phrase. When clicking on the 'Burst the balloon' button, the image should be changed to one of a popped balloon and a random phrase displayed. When clicking the 'Reset' button, all fields must return to their initial value (state), that is, they must return with the original image (unburst balloon) and the phrase must disappear. The following elements must be present in the code:
- a. A component must be created for the part (e.g. BalaoDaSorte.js).
- b. Colors and sizes must be in a separate file (e.g. colors.js and sizes.js).
- c. Buttons must be a stateless component (e.g. MyButton.js)
- d. Use React Hooks - useState to control the image and sentences.
- [X and. Images must be saved in a separate folder.
- f. The phrases must be in a vector in the BalaoDaSorte component and must be selected at random when clicking on the ‘Burst the balloon’ button.
- g. The code must be organized and indented.
- The assessment is individual.
- Copying a colleague's work is not allowed. If this occurs, the grade will be divided by the total number of students involved in the copy.
- It is allowed to consult the internet.
- See the example video.