{"action":"created","issue":{"url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/1","labels_url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/1/comments","events_url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/1/events","html_url":"https://github.com/vivkay/dsn1676-assignment-5/issues/1","id":59317990,"number":1,"title":"broken form","user":{"login":"vivkay","id":6340292,"avatar_url":"https://avatars.githubusercontent.com/u/6340292?v=3","gravatar_id":"","url":"https://api.github.com/users/vivkay","html_url":"https://github.com/vivkay","followers_url":"https://api.github.com/users/vivkay/followers","following_url":"https://api.github.com/users/vivkay/following{/other_user}","gists_url":"https://api.github.com/users/vivkay/gists{/gist_id}","starred_url":"https://api.github.com/users/vivkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivkay/subscriptions","organizations_url":"https://api.github.com/users/vivkay/orgs","repos_url":"https://api.github.com/users/vivkay/repos","events_url":"https://api.github.com/users/vivkay/events{/privacy}","received_events_url":"https://api.github.com/users/vivkay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T01:30:00Z","updated_at":"2015-02-28T01:47:53Z","closed_at":null,"body":"Hi @thomasjbradley,\r\n\r\nI decided to try this assignment from scratch. I watched about an hour of Lynda tutorials and am re-watching your videos and it's still jibberish...so I'm trying my best.\r\n\r\nAlready it's broken. Uggh! Javascript hates me! I'm just trying to get the form to do the basic thing, but the console.log is not showing anything.\r\n\r\nHere's the html:\r\n\r\n```\r\n    <form method=\"post\" action=\"#\">\r\n        <div>\r\n            <label for=\"action\">To Do</label>\r\n            <input class=\"action\" id=\"action\">\r\n        </div>\r\n        <button type=\"submit\">Add</button>\r\n    </form>\r\n    \r\n```\r\n\r\nand the javascript\r\n\r\n``` \r\nvar $form = $('.form');\r\nvar $action = $('.action');\r\nvar $list = $('.list');\r\n\r\n$form.on('submit', function () {\r\n   e.preventDefault();\r\n\r\nvar actionValue = $action.val();\r\n    console.log(actionValue);\r\n});\r\n```\r\n\r\nI've triple checked this with the dino video and can't understand why my console.log showing up empty when I type into the text field and click the button? :(\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/comments/76503410","html_url":"https://github.com/vivkay/dsn1676-assignment-5/issues/1#issuecomment-76503410","issue_url":"https://api.github.com/repos/vivkay/dsn1676-assignment-5/issues/1","id":76503410,"user":{"login":"vivkay","id":6340292,"avatar_url":"https://avatars.githubusercontent.com/u/6340292?v=3","gravatar_id":"","url":"https://api.github.com/users/vivkay","html_url":"https://github.com/vivkay","followers_url":"https://api.github.com/users/vivkay/followers","following_url":"https://api.github.com/users/vivkay/following{/other_user}","gists_url":"https://api.github.com/users/vivkay/gists{/gist_id}","starred_url":"https://api.github.com/users/vivkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivkay/subscriptions","organizations_url":"https://api.github.com/users/vivkay/orgs","repos_url":"https://api.github.com/users/vivkay/repos","events_url":"https://api.github.com/users/vivkay/events{/privacy}","received_events_url":"https://api.github.com/users/vivkay/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T01:47:53Z","updated_at":"2015-02-28T01:47:53Z","body":"Tried doing this part but something's definitely broken somewhere since the console.log is empty and nothing is happening...\r\n\r\n```\r\nvar $form = $('.form');\r\nvar $action = $('.action');\r\nvar $list = $('.list');\r\n\r\n$form.on('submit', function () {\r\n    e.preventDefault();\r\n\r\n    var $actionH2 = $('<h2>').html($action.val())\r\n    console.log($actionValue);\r\n    \r\n    $li.append($actionH2);\r\n    $list.append($li);\r\n});\r\n```"}}