Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Graphing inequalities 2 without choosing an answer #161538

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exercises/graphing_inequalities_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<ul>
<li>
<label>
<input id="yes" checked name="isSolution" type="radio">
<input id="yes" name="isSolution" type="radio">
<span>Yes</span>
</label>
</li>
Expand All @@ -206,7 +206,7 @@
$("input[name='isSolution']:checked").attr("id")]
</div>
<div class="validator-function">
if (_.isEqual(guess, [[-5, 5], [5, 5], false, true])) {
if (_.isEqual(guess.slice(0, 4), [[-5, 5], [5, 5], false, true]) || guess[4] === null) {
return "";
}

Expand Down