In this assignment let's build a Feedback App by applying the concepts we have learned till now.
- Extra Small (Size < 576px) and Small (Size >= 576px) - Feedback Question
- Extra Small (Size < 576px) and Small (Size >= 576px) - Feedback Summary
- Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Feedback Question
- Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px) - Feedback Summary
- Download dependencies by running
npm install
- Start up the app using
npm start
The app must have the following functionalities
-
When the user clicks an emoji then the thank you screen is visible to the user with the proper description.
-
feedbackData
is passed as a prop to theFeedback
component. -
feedbackData
object will have the following properties.Key Data Type emojis Array loveEmojiUrl String -
Each emoji object in the emojis list will have the following properties.
Key Data Type id Number name String imageUrl String -
The value of the key
id
should be used as a key to the emoji list item. -
Your task is to complete the implementation of
src/components/Feedback/index.js
src/components/Feedback/index.css
The following HTML attributes are required for the HTML image elements for the tests to pass
- The HTML image element to display the love emoji should have the HTML attribute
alt
value asloveEmoji
.
- https://assets.ccbp.in/frontend/react-js/sad-emoji-img.png
- https://assets.ccbp.in/frontend/react-js/none-emoji-img.png
- https://assets.ccbp.in/frontend/react-js/happy-emoji-img.png
- https://assets.ccbp.in/frontend/react-js/love-emoji-img.png
Hex: #ffeeee
Hex: #ffc0bb
Hex: #ffebeb
Hex: #ffffff
Hex: #0f172a
Hex: #1e293b
- Roboto
- All components you implement should go in the
src/components
directory.- Don't change the component folder names as those are the files being imported into the tests.
- Do not remove the pre-filled code
- Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.