I want to take an input value from the user and send it to an API. Basically, the API link takes the input in it.
http://api.giphy.com/v1/gifs/search?q=funny+cat&api_key=dc6zaTOxFJmzC
Here q
, 'funny cat', is actually the user input. I want to make it dynamic.
In the search bar when users type a name, I want this value to be sent to the API and fetch the result to my page.
Link to my code files: Github project