[React] Problems with rendering data from API on web page

Hi Everyone,

I am busy building a small React project.
The project is a news tabloid, that fetches information from a NewsAPI and renders it on the webpage.
I run into a problem with rendering it on the webpage.
I included a picture of the file structure of the project, I have a JS script that fetches news article data from the API and exports them as arrays.

In the Home.jsx, I have the line where I import them , but it results in the web site not able to render. I don't know why it does this , I have been trying to find a solution but nothing comes to mind.

I included links both to my GitHub and StackBlitz repo below:

GitHub: https://github.com/jeanj14/newsAPI_ReactApp.git
Stackblitz: https://stackblitz.com/~/github.com/jeanj14/newsAPI_ReactApp
Screenshot_2025-04-09_111857.png
Screenshot_2025-04-09_112023.png
Screenshot_2025-04-09_114413.png
image.png
GitHub
Contribute to jeanj14/newsAPI_ReactApp development by creating an account on GitHub.
Was this page helpful?