Skip to content

Tag: popup

JavaScript function will open div tag; second JavaScript function does not close it however

I have been browsing here and looking at similar problems, however none of the solutions seem to work. This is also my first posted question.

How to add konami code in a website based on html?

I was asked to implement the Konami Code in a website I’m currently working on. It should do the following: Change Background Image Play sound Bring some pop-up What’s the easiest way to achieve this using javascript? Answer Place the code below in a file js/konami.js and reference it in the body of your html file like this: <script src=”js/konami.js”></script>