My Javascript isn't doing what I'm telling it to
I am really new to Javascript and basically I made this href a button because the styling wasn't working on an <a> tag. When I click the button it opens a page that shows code I have since replaced and I am not quite sure why. Can anyone help?
Voters
lol that's not how you use buttons
@Coder100 I just made it an <a href=""></a>. Thanks. I was now wondering, do you know of a way to make the css styling change when it's clicked? Right now in CSS it says to change the text-input border color when I hover over it. Is there anyway to have that border color stay when I click on and then move my mouse to type something?
@Japoll246 yeah, it would be the
:focus
change that to however you want ^^
@Japoll246
@Coder100 Thanks!
glad to help! @Japoll246