Recently I learned to write a website.I Wanted to relocation one of the pages from my website to my company's page .But there was an error that confused me.So I search for my savior here .
There are my codes
but it covers the current page. I want to how to correct it?
can you tell me?
Welcome to the forums
window.location.href is a property that will tell you the current URL location of the browser. Setting the property to something different will redirect the page.
So what is it exactly that you are trying to achieve?
Could you be a little more specific?
actually the window. location. href="<snip>", so the above is wrong
Ok, so what is your actual problem?
I did see it, but I still can't find a method to build my website <snip> I hope to do it better in future.
I'm afraid you've failed to specify what your issue is and unless you do that, there's no way we can help you.