I want to have a button to go to Codepen. The thing is, when I try doing:
<button onClick="https://codepen.io">CodePen</button>
And click on the button, it doesn't do anything. By anything, I mean it doesn't go to the URL, or open a new tab to go to the site.
I also don't want to use React Router, because I tried to do this:
<Router>
<Link to="https://codepen.io"/>
</Router>
And it gives me this error:
My full code is here. Also I do have imports, I just replaced them with // Imports because there's way to many.