Hands-On | Homework Task
- Have a table containing the students name.
- Table should be generated with JS DOM manipulation
- Demo : https://codepen.io/diazamaliana/pen/PomZpye
- Installing React and add Giphy.API
- Create a branch
- Add search bar of input elements
- Add search button next to search bar
- Add img with the source gif
- From previous exercise, convert elements into components
- Remember to put your components in
src/components/[your-component-name]/index.js
- For Gif component, read this JS variable and map as props (hint : just use
url
andtitle
)
- Loop
Gif
component from this JS array variable - Filter out rating of
g
(hint: userating
field)
- Create a search feture using Giphy API key created from Module 1
- Use the following endpoint
- Use existing text input and search button to handle user's event
- Show the first 12 results of the gifs (from the network call)
- Instead use
<input>
and<button>
inside/src/pages/search
- Convert previous exercise from class component using hooks
- Store the search queries on Redux
- Using API provided by GIPHY
- Create a Trending Page
- Reuse the Gif component that you have created earlier.
- Write a test for Search component