i have an issue, i need when i click on listItem, console.log it's "category" value but it return "undefined".
function Portfolio() {
const handleClick = (e)=>{
console.log(e.target.category)
}
return (
<Section>
<Title><TitleSpan>My</TitleSpan> Portfolio</Title>
<List>
<ListItem active category={"all"} onClick={handleClick}>All</ListItem>
<ListItem category={"html" }onClick={handleClick}>HTML</ListItem>
<ListItem category={"photoshop"} onClick=
{handleClick}>Photoshop</ListItem>
<ListItem category={"wordpress"} onClick=
{handleClick}>Wordpress</ListItem>
<ListItem category={"mobile"} onClick={handleClick}>Mobile</ListItem>
</List>
</Section>
)
}