I don't know where is the issue is arriving. struggling a lot but still my component is not rendering in React.js. it's just showing white screen and nothing else.
Cards.jsx
import React from "react";
function Card(props){
return (
<>
<img src={props.imgsrc} alt="mypic"/>
<h1>{props.title}</h1>
</>
)
}
export default Card;
App.jsx
import React from 'react';
import Card from "./Cards";
import Reportdata from "./Api";
const App = () => {
<>
{Reportdata.map(val=>{
return (
<Card
key = {val.id}
imgsrc = {val.image}
title = {val.title}/>
)
})};
</>
}
export default App;
index.js
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from "./App.jsx";
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<App />
);