diff --git a/shoppingApp.js b/shoppingApp.js new file mode 100644 index 00000000..250b2842 --- /dev/null +++ b/shoppingApp.js @@ -0,0 +1,43 @@ +//when check button is pressed line goes through item +//remove HTML element when delete is pressed +//add HTML element when add is pressed +//link to jQuery ($()) +//link your JS to HTML/CSS page on github +//keyboard friendly (return/tab used when toggle button in place) +//add links to your JS in HTML code (at bottom) + +$(function add() { + $("js-shopping-list-form").click(function(event) { + event.addItem(); + $(li).append(