[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: