Javascript, html, problems

Hi, i have made an project, of gifs, in which i search for particular gifs and press go then its shows varities of gifs related to that, but i want to display gifs in one by one, i.e. if i write something and then press go, then it shows me gifs related to that, one by one ,please help!!.
If you can tell me how i approch these problem then it also a great help.

here i will attached my file:))
https://codepen.io/infinity_coder/pen/VwwxJya