A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

How to get my MenuList working with different css-classes

Vote:
 
Hi, I have a question regarding my MenuList setup. How do I setup the code below in a working MenuList? My concerns are the different classes that has to be used. In the case below Soccer is clicked but how do I get the current-class to dynamically change to the one i click? The same goes for the first link, that one shall always have the first-class. Thanks for any input.
#13295
Dec 07, 2007 15:11
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.