Skip to content

Instantly share code, notes, and snippets.

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