Created
January 27, 2012 00:27
-
-
Save beneater/1686115 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="solution" data-type="custom"> | |
<div class="instruction"> | |
Enter the factored expression here:<br> | |
<input name="response" type="text"></input> | |
</div> | |
<div class="guess">jQuery( "div.instruction input" ).val()</div> | |
<div class="validator-function"> | |
return MATH.isEqual(MATH.parse(guess), SOLUTION) | |
</div> | |
<div class="show-guess"> | |
</div> | |
<div class="show-guess-solutionarea"> | |
jQuery( "div.instruction input" ).val( guess ) | |
</div> | |
<div class="example">(x+2)^2</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment