The console is telling me to assign data to the authorsDataArr, i cant seem to find the correct way

fetch(‘https://cdn.freecodecamp.org/curriculum/news-author-page/authors.json’)
.then((res) => res.json())
.then((data) => {
authorDataArr = […data];
displayAuthors(data);

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Just assign data directly to authorDataArr without the spread.

If you are on step 11 you still need to slice the array using the indexes.


For future reference.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

thanks i figured it out before sorry for not checking earlier :smile: