Issue
I am create project using react & tailwind. I would like to redirect user on next page once click on link.
I try <a /> tag but couldn't see any difference between <p /> and <a /> tags. I need to download any npm pakage?
Solution
yes, <p /> and <a /> both tags are looks like same without classes but both have own properties. You need to add class in <a /> tags. Like,
<a href="your_link" className="text-blue-400">redirect</a>
Answered By - Dax Patel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.