I want to navigate from my website to another website using a button, here is my code, I am using React Bootstrap with this project
<button onclick="window.location.href = 'https://www.glassdoor.com';">Click Here</button>
However, when I click it, it does not navigate to the new website, it only reloads the homepage of the website I am on.