<p dir="auto">Our Weather Zipline example is now broken. Aparently the API <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AdventureBear/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AdventureBear">@AdventureBear</a> used on her Zipline no longer works. <a href="https://www.evernote.com/l/AlwSsfX2kblJYoOSp9uAq-BKFosOSCg8-aAB/image.png" rel="nofollow">https://www.evernote.com/l/AlwSsfX2kblJYoOSp9uAq-BKFosOSCg8-aAB/image.png</a></p>
<p dir="auto">We need to find an API that works and doesn't require adding an API key, or we need to make an API endpoint on Free Code Camp that campers can use (we don't want people exposing API keys on CodePen).</p>
<p dir="auto">Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martoncsikos/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/martoncsikos">@martoncsikos</a> for spotting this issue.</p>
<p dir="auto">Less of a bug in that the student can just erase the commented code and pass the challenge.  That said, if you comment out the second if statement, you will be met with the "You should have only one if statement" even though the code effectively has only one if statement.</p>
<p dir="auto">Maybe the pattern matching doesn't take into account commented code.</p>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/comparisons-with-the-logical-or-operator#?solution=%0Afunction%20testLogicalOr(val)%20%7B%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line%0A%0A%20%20if%20(val%20%3E%2020%20%7C%7C%20val%20%3C%2010)%20%7B%0A%20%20%20%20return%20%22Outside%22%3B%0A%20%20%7D%0A%2F*%0A%20%20if%20(val)%20%7B%0A%20%20%20%20return%20%22Outside%22%3B%0A%20%20%7D%0A*%2F%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line%0A%20%20return%20%22Inside%22%3B%0A%7D%0A%0A%2F%2F%20Change%20this%20value%20to%20test%0AtestLogicalOr(15)%3B%0A" rel="nofollow">Comparisons with the Logical Or Operator</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
function testLogicalOr(val) {
  // Only change code below this line

  if (val &gt; 20 || val &lt; 10) {
    return &quot;Outside&quot;;
  }
/*
  if (val) {
    return &quot;Outside&quot;;
  }
*/
  // Only change code above this line
  return &quot;Inside&quot;;
}

// Change this value to test
testLogicalOr(15);
"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">testLogicalOr</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-c">// Only change code below this line</span>

  <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">val</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">20</span> <span class="pl-c1">||</span> <span class="pl-s1">val</span> <span class="pl-c1">&lt;</span> <span class="pl-c1">10</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">return</span> <span class="pl-s">"Outside"</span><span class="pl-kos">;</span>
  <span class="pl-kos">}</span>
<span class="pl-c">/*</span>
<span class="pl-c">  if (val) {</span>
<span class="pl-c">    return "Outside";</span>
<span class="pl-c">  }</span>
<span class="pl-c">*/</span>
  <span class="pl-c">// Only change code above this line</span>
  <span class="pl-k">return</span> <span class="pl-s">"Inside"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-c">// Change this value to test</span>
<span class="pl-en">testLogicalOr</span><span class="pl-kos">(</span><span class="pl-c1">15</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>