A London Web Developer. A lot of my professional experience is in digital agencies and I enjoy helping new front-end developers learn how to code websites.
With the unsplash API, a regular fetch request will get N number of the same picture over and over. How does one modify the request to get a different one for each iteration of the loop?
A London Web Developer. A lot of my professional experience is in digital agencies and I enjoy helping new front-end developers learn how to code websites.
With the unsplash API, a regular fetch request will get N number of the same picture over and over. How does one modify the request to get a different one for each iteration of the loop?
Can you provide some more information like what framework you're using?
And what end result you want with the real-world example. 🙂
Literally just using the fetch promise in vanilla JS and outputting it using Map or a forEach loop. What do you propose?