Last active
October 7, 2021 13:02
-
-
Save tomhermans/270029cf67b64b51f7bf2397d1a4596d to your computer and use it in GitHub Desktop.
testing codeswing and gistpad for VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": [], | |
"styles": [ | |
"https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.16/tailwind.css" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="box" class="box w-20 h-20 bg-red-400 p-3 pointer"> | |
something in here again | |
</div> | |
<button id="button" class="p-4 bg-gray-200">button</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("sdfkfjdjsf"); | |
const box = document.getElementById("box"); | |
console.log(box.innerHTML); | |
const btn = document.getElementById("button"); | |
let i = 0; | |
btn.addEventListener("click", function () { | |
console.log(i + " - sdffgjs"); | |
i++; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 2rem; | |
} | |
p { | |
text-transform: uppercase; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment