Question:I started to learn to code recently and to create my portfolio. I am working on the header and I would like to change the text color header link tag when it is only clicked once. When I clicked the link, the text color changed to red and when I clicked the link now but when I click another link, the previous link is still red.
I would like to change the text color back from red to gray when I click another. Example:- OK – home about work skill contact NO – home about work skill contact
I am using React and Tailwind. English is my second language and I hope everyone understands what I want to do. Thank you in advance.