Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<meta charset="UTF-8">
<div id='Hello' class='world' onclick="hello()">
Hello world!!!
function hello () {
var element = document.getElementById("Hello");
element.innerHTML = "Hi!!!Lol!!!"; = "yellow";
div {
height: 100px;
#Hello {
width: 100px;
.world {
background-color: orange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment