Skip to content

Instantly share code, notes, and snippets.

@overthemike
Created July 2, 2012 16:35
Show Gist options
  • Save overthemike/3034136 to your computer and use it in GitHub Desktop.
Save overthemike/3034136 to your computer and use it in GitHub Desktop.
<ul id="foo">
<li>Item 1</li>
<li>Item 2</li>
.
.
.
<li>Item 10,000</li>
</ul>
Given the above, write some code that would console.log a list item's contents when any of them are clicked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment