Tell us what’s happening:
I’m having problems with my step 21 to 25, I know we are sked to destructure the users and posters array but I am having problems on hoe to, It will be better if I have the posters and users array data so i know what I am dealing with
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */ const avatars = (posters,users) => { let frame = "" const ids = posters.filter(({user_id}) => users.includes(user_id)); ids.forEach(id => { avatar_template[size] = 30; frame += `<img src="${avatarUrl}/${avatar_template[value]}" alt="${name}" />` }) }
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Build an fCC Forum Leaderboard - Build an fCC Forum Leaderboard