How do I make this script work on my blogger

0

I want to make this javascript work on my blogger.

his link is: link

What do I do to make this system work on my blogger?

    
asked by anonymous 09.01.2018 / 01:36

1 answer

0

I think you should insert at the end of the HTML code the script tag, with the javascript code inside, eg:

<script>
var button = document.querySelector(".b1");
var button2 = document.querySelector(".b2");

button.onclick = function() {
 window.open('www.google.com', '_blank');
 button2.style.display = "block";}
</script>
    
09.01.2018 / 01:58