Skip to content

Instantly share code, notes, and snippets.

@VarunBatraIT
Last active May 7, 2018 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VarunBatraIT/30420c51362d6027e34a58cebb7b0727 to your computer and use it in GitHub Desktop.
Save VarunBatraIT/30420c51362d6027e34a58cebb7b0727 to your computer and use it in GitHub Desktop.

Situation

  • HTML body is black.
  • Head only has jQuery

Assignment

  • Create 100 li under ul - numbered 1,2,3 to 100 using jQuery
  • if clicked on any li, that li will be removed using jQuery

eg. if I click on 4, 4 is removed and 1 to 3 then 5 to 100 are left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment