Message from JavaScript discussions

October 2020

— Js


If you want the user to go to another page just make it <a> and change the css so they look like buttons

— Whats the action you want to perform when the user clicks the button?

— Well I could make you knoe <a href> but I don't want to make many pages. I need to change some sentence in the page as the user clicks

Message permanent page

— So you make an onclick function

— And then write what needs to happen in that function when you click it

— I tried it. Didn't work. I will try again thank you

— Did you out

— Put <a href="#">

— Because if you dont put it with the href # the page will reload

— adawiska

— Sure I did. But it didn't work either