<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life</a> has an issue.</p>
<p dir="auto">The second condition for this challenge:</p>
<blockquote>
<p dir="auto">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</p>
</blockquote>
<p dir="auto">The selector in the description:</p>
<blockquote>
<p dir="auto"><code class="notranslate">$($(".slot")[0]).html(slotOne);</code></p>
</blockquote>
<p dir="auto">The condition passes when you use double quotes in the selector per the description:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$($(&quot;.slot&quot;)[0]).html(slotOne);
$($(&quot;.slot&quot;)[1]).html(slotTwo);
$($(&quot;.slot&quot;)[2]).html(slotThree);"><pre class="notranslate"><code class="notranslate">$($(".slot")[0]).html(slotOne);
$($(".slot")[1]).html(slotTwo);
$($(".slot")[2]).html(slotThree);</code></pre></div>
<p dir="auto">It fails with single quotes:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$($('.slot')[0]).html(slotOne);
$($('.slot')[1]).html(slotTwo);
$($('.slot')[2]).html(slotThree);"><pre class="notranslate"><code class="notranslate">$($('.slot')[0]).html(slotOne);
$($('.slot')[1]).html(slotTwo);
$($('.slot')[2]).html(slotThree);</code></pre></div>
<p dir="auto">Maybe we are trying to conform to the <a href="https://contribute.jquery.org/style-guide/js/#quotes" rel="nofollow">jQuery JavaScript Style Guide</a>? 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.</p>
<blockquote>
<p dir="auto">Waypoint: Give your JavaScript Slot Machine some stylish images</p>
<p dir="auto"><code class="notranslate">$($('.slot')[0]).html('&lt;img src = "' + images[slotOne-1] + '"&gt;');</code></p>
</blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/416065/9425864/a9082620-48e7-11e5-889b-d501aabc1d4f.png"><img src="https://cloud.githubusercontent.com/assets/416065/9425864/a9082620-48e7-11e5-889b-d501aabc1d4f.png" alt="39-fail" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/416065/9425863/a907b776-48e7-11e5-86d7-a1e81552de41.png"><img src="https://cloud.githubusercontent.com/assets/416065/9425863/a907b776-48e7-11e5-86d7-a1e81552de41.png" alt="39-pass" style="max-width: 100%;"></a></p>
<h3 dir="auto">Welcome first-time open source contributors! <g-emoji class="g-emoji" alias="trophy" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3c6.png">🏆</g-emoji></h3>
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/en/challenges/basic-data-structures/copy-an-array-with-slice" rel="nofollow">copy-an-array-with-slice</a> has an issue.</p>
<p dir="auto">The title says "Copy an Array with slice()", but the challenge could be better described as "Copy Array items using slice()" as <code class="notranslate">Array.slice()</code> not only can copy whole arrays, but can copy individual items as well.</p>
<p dir="auto">If you want to help fixing this, the <a href="https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/CONTRIBUTING.md">contribution guidelines</a> can help you get started.</p>
<p dir="auto"><a href="https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json#L235">This is the line</a> where you can make this change.</p>
<p dir="auto">Feel free to come chat with us in the <a href="https://gitter.im/FreeCodeCamp/Contributors" rel="nofollow">Contributors chat room</a> if you have any questions - or just want to say hi!</p>
<p dir="auto">Good luck &amp; Happy coding! <g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji> <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p>
<hr>
<h3 dir="auto">Already resolved:</h3>
<p dir="auto"><g-emoji class="g-emoji" alias="white_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">✅</g-emoji> <strike>1. The test for this challenge does not run properly. The console gives me plenty of "Minified React Error <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54672897" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/32" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/32/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/32">#32</a>", Similar to the message reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="202175233" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/12656" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/12656/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/12656">#12656</a>.</strike></p>
<p dir="auto"><g-emoji class="g-emoji" alias="white_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">✅</g-emoji> <strike>2. I originally thought the second test case just had a problem with formatting, but since there's nothing wrong with it, I suspect it has to do with the React error. However, I noticed that the second test could be improved with a cleaner assertion.<br>
I suggest <a href="https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json#L259">this line</a> gets replaced with<br>
<code class="notranslate">"assert(/\\.slice\\(/.test(code), 'message: The &lt;code&gt;forecast&lt;/code&gt; function should utilize the &lt;code&gt;slice()&lt;/code&gt; method');"</code></strike></p>