Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Kim & Kanye</h1>
<div id="kanye" class="name">West</div>
<!DOCTYPE html>
<html>
<head>
<title>Val Exercise</title>
</head>
<body>
<button id="magic">Click Here</button><br>
<!--
1. Add a click handler to the button
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Shapes</h1>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Shapes</h1>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Shapes</h1>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Shapes</h1>
<!DOCTYPE html>
<html>
<head>
<title>Val Exercise</title>
</head>
<body>
<button id="magic">Click Here</button><br>
<!--
1. Add a click handler to the button
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- DO NOT CHANGE THE HTML!! :) !! -->
<h1>Shapes</h1>
@jackrr
jackrr / index.html
Created April 3, 2017 01:26
Dice game solution with bonus. Click to import: https://popcode.org/?gist=1cab988c1a91d6c2407d030beae2f5b6
<!DOCTYPE html>
<html>
<head>
<title>Dice Roll Game</title>
</head>
<body>
<h1>Dice Roller</h1>
<div class="dice" id="first-die"></div>
<div class="dice" id="second-die"></div>
<button id="roll-dice">Roll the Dice</button>
<!DOCTYPE html>
<html>
<head>
<title>Dice Roll Game</title>
</head>
<body>
<h1>Dice Roller</h1>
<div class="dice" id="first-die"></div>
<div class="dice" id="second-die"></div>
<button id="roll-dice">Roll the Dice</button>