Created
November 28, 2011 21:31
-
-
Save ChandraNalaani/1402166 to your computer and use it in GitHub Desktop.
"Say Yes" (javascript/html5)
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Say Yes</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script> | |
<script src="say-yes.js"></script> | |
</head> | |
<body> | |
<h1>Wax Taylor - <a href="http://bit.ly/vJRQW3" target="_blank">Say Yes</a></h1> | |
<form id="waxTaylor"> | |
<fieldset> | |
<legend>This is not an exercise. Repeat, this is not an exercise.</legend> | |
<p> | |
<label> | |
<input type="radio" name="choose" id="sayYes" value="yes" /> | |
Yes Yes Y'all </label> | |
</p> | |
<p> | |
<label> | |
<input type="radio" name="choose" id="sayNo" value="no" /> | |
No Way Y'all </label> | |
</p> | |
</fieldset> | |
</form> | |
</body> | |
</html> |
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
// http://bit.ly/soXuxF | |
// for The Front End Web Dev Playlist http://bit.ly/sEiZUZ | |
$(document).ready(function() { | |
$('#sayYes').click(function() { | |
alert("If you think that you should speak what you feel"); | |
alert("For the artists still keepin' it real"); | |
}); | |
$('#sayNo').click(function() { | |
alert("If you're fed up and ready to brawl"); | |
alert("Then say no way y'all, no way y'all"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment