Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

how to add link in react tailwind?

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 :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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>

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading