fetch('api link')
.then(res => res.join())
.then(data => console.log(data))
//data is your api data so you can map over it etc
fetch('api link')
.then(res => res.join())
.then(data => console.log(data))
//data is your api data so you can map over it etc