Message from JavaScript discussions

October 2020

— 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

— 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

— Just a second I fixed everything I will send you the codes with the js as well

— Https://i.gyazo.com/15f9172d5174e117ff54f5f65651ab09.mp4