{"action":"reopened","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/2522","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/2522/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/2522/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/2522/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2522","id":102567293,"number":2522,"title":"Challenge fail using jQuery selector with single quotes","user":{"login":"matthew02","id":416065,"avatar_url":"https://avatars.githubusercontent.com/u/416065?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew02","html_url":"https://github.com/matthew02","followers_url":"https://api.github.com/users/matthew02/followers","following_url":"https://api.github.com/users/matthew02/following{/other_user}","gists_url":"https://api.github.com/users/matthew02/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew02/subscriptions","organizations_url":"https://api.github.com/users/matthew02/orgs","repos_url":"https://api.github.com/users/matthew02/repos","events_url":"https://api.github.com/users/matthew02/events{/privacy}","received_events_url":"https://api.github.com/users/matthew02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-22T21:05:54Z","updated_at":"2015-08-26T21:21:17Z","closed_at":null,"body":"Challenge http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life has an issue.\r\n\r\nThe second condition for this challenge:\r\n>You should have used the the selector given in the description to select each slot and assign it the value of slotOne, slotTwo and slotThree respectively\r\n\r\nThe selector in the description: \r\n>`$($(\".slot\")[0]).html(slotOne);`\r\n\r\nThe condition passes when you use double quotes in the selector per the description:\r\n<pre><code>$($(\".slot\")[0]).html(slotOne);\r\n$($(\".slot\")[1]).html(slotTwo);\r\n$($(\".slot\")[2]).html(slotThree);</code></pre>\r\n\r\nIt fails with single quotes:\r\n<pre><code>$($('.slot')[0]).html(slotOne);\r\n$($('.slot')[1]).html(slotTwo);\r\n$($('.slot')[2]).html(slotThree);</code></pre>\r\n\r\nMaybe we are trying to conform to the [jQuery JavaScript Style Guide](https://contribute.jquery.org/style-guide/js/#quotes)? Still, both seem to be valid JavaScript. Indeed, the challenge immediately following this one uses single quotes for the selector in the description and passes with either single or double quotes.\r\n>Waypoint: Give your JavaScript Slot Machine some stylish images\r\n>\r\n>`$($('.slot')[0]).html('<img src = \"' + images[slotOne-1] + '\">');`\r\n\r\n\r\n![39-fail](https://cloud.githubusercontent.com/assets/416065/9425864/a9082620-48e7-11e5-889b-d501aabc1d4f.png)\r\n![39-pass](https://cloud.githubusercontent.com/assets/416065/9425863/a907b776-48e7-11e5-86d7-a1e81552de41.png)\r\n"}}