How do I fetch data from a fetch request?
Got up completely.
The task is to "make a request at the URL https://picsum.photos/v2/list? page = 1 & amp; limit = 10 and after receiving this display a list of pictures on the screen "
I don't understand how to get the images from fetch and display them.
Part of the code:
So what exactly is your problem? In data, do you get an array of images?Anonymous
Loop through the data array and output the images (url) to the img tagEmma Kerr
To place the code, please use CodePen or similar tool. Thanks you!