An easy way to play with jQuery
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Peter J. Jones f46e5673aa Initial commit 7 роки тому
README.md Initial commit 7 роки тому
behavior.js Initial commit 7 роки тому
playground.html Initial commit 7 роки тому
style.css Initial commit 7 роки тому

README.md

jQuery Playground

Using the playground.html file and a web console such as Firebug, the jQuery Playground is a great place to experiment with jQuery features.

What to Play With

Here is what I suggest:

  1. Write some JavaScript in behavior.js so that when one of the <li> elements is clicked, it is removed from the DOM.

  2. Add more code to behavior.js so that when someone writes text into the form and presses the “Add” button a new <li> element is created with the text from the form.

  3. Make new <li> elements yellow for 2 seconds, then return them to normal.