html - CSS Styled button won't work? -
granted, styled in css button generator , because i'm lazy , terrible @ css anyway, working before awful attempt @ pasting code!
so, context, have decided add entire code on pastebin link, sorry if it's of hassle. click here.
i can't work, however, if fancy css style shown, button won't work. if button works, it's in hyperlinked version. help?
though i'm newbie myself, far know document.getelementbyid("mybutton").addeventlistener("click", function()
has kept in script tag
like this:
<script> document.getelementbyid("mybutton").addeventlistener("click", function() </script>
check if worked
Comments
Post a Comment