Skip to content

Instantly share code, notes, and snippets.

@hvent90
Created October 27, 2014 23:51
Show Gist options
  • Save hvent90/ed86a065ab3d40813840 to your computer and use it in GitHub Desktop.
Save hvent90/ed86a065ab3d40813840 to your computer and use it in GitHub Desktop.
http://bit.ly/1wEsYYo
$(document).ready(function() {
1. Fade in (a) upon load
$('#a').hide();
$('#a').something-here();
2. Fade out (b) upon clicking (b)
3. If (c) has been clicked by the user AND THEN the user clicks (d), output 'hello' to (e)
4. Using a for-loop: Output 'hello world' to (e) five times on load.
5. User enters text in the first (<input type="text">). Upon the user clicking the first (submit), take the text in the first(<input type="text">) and output it in (e).
6. User enters text in the second (<input type="text">). User then enters a number in the third (<input type="text">). Upon the user clicking the second (submit), take the text in the second (<input type="text">) and, with a for-loop, display it in (e) for the amount of times specified in the third (<input type="text">).
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment