<Link> not working
Unanswered
Ratonero Valenciano posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
<div className="hidden md:flex space-x-8 font-sans">
<Link href="#nav"><h2 className="text-lg hover:cursor-pointer">Home</h2></Link>
<Link href="#fleetSection"><h2 className="text-lg hover:cursor-pointer">Cars</h2></Link>
<Link href="#Contact"><h2 className="text-lg hover:cursor-pointer">Contact Us</h2></Link>
<Link href="#reviews"> <h2 className="text-lg hover:cursor-pointer">Testimonials</h2></Link>
<Link href="#Contact"><button className="py-3 px-4 uppercase bg-blue-800 text-white font-semibold relative bottom-3 text-md hover:bg-black hover:text-white transition-all duration-300">rent a sports car today!</button></Link>
</div>
why has <Link> stopped working?
20 Replies
![Avatar](https://cdn.discordapp.com/avatars/678259999201427466/a_54265510de155a7d7909e4d21d587a76.gif?size=256)
Clown
What exactly isnt working?
Do you Sections with the correct id?
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
Yes
On localhost:3000 it works fine
But when I host it on netlify
It doesn’t work
When you click any of those Nav links
It does nothing
![Avatar](https://cdn.discordapp.com/avatars/678259999201427466/a_54265510de155a7d7909e4d21d587a76.gif?size=256)
Clown
Update to the latest next version (npm update) and test it out on
npm run build && npm start
On netlify you should also try and see if the IDs are being changed for some reason or the links are being messed with using the browser dev tools
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
I’m using NextJS 13
![Avatar](https://cdn.discordapp.com/avatars/678259999201427466/a_54265510de155a7d7909e4d21d587a76.gif?size=256)
Clown
If nothing works change to a normal <a>
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
I disabled ESLint
![Avatar](https://cdn.discordapp.com/avatars/678259999201427466/a_54265510de155a7d7909e4d21d587a76.gif?size=256)
Clown
NextJS 13 also has minor and patch versions
Try this tbh
Maybe Link requires you to pass in the full path starting from root. Who knows. A simple <a> tag should fix your problem and Link isnt very useful in this case anyways imo
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
I replaced it with <a/>
Ty
![Avatar](https://cdn.discordapp.com/avatars/678259999201427466/a_54265510de155a7d7909e4d21d587a76.gif?size=256)
Clown
It works correctly?
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Ratonero ValencianoOP
Yes