Hi there, I have my main page with several components inside, all of them are wrapped into a div who have the id of the section. Into my footer, I try to redirect the user to a specific section by " Go to url " to "https://website/#section1" Issue is that on the preview mode, when I click on my footer element ( <a> ) its redirect me to "https://website/#" ( I added space otherwise the # not showing ) Would like to know if it's something I have to do inside the <a> element ( so with href ) instead of inside my event click. Thanks
Jay Campbell
1 month ago
If it’s on the same website, you don’t have to put the absolute URL (the actual domain), you can do relative. So for the href, just do #id.