Skip to content

Instantly share code, notes, and snippets.

@jquave
Created July 31, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jquave/5dea85acca0809cc4a32 to your computer and use it in GitHub Desktop.
Save jquave/5dea85acca0809cc4a32 to your computer and use it in GitHub Desktop.
***
Try using what you've learned so far to complete the code challenge:
{CodeChallenge}
{InitialCode}
<div id="anotherDiv"> This text is unchanged </div>
<script>
// Javascript code goes here
var myOtherDivVar = document.getElementById( {T}???{/T} );
</script>
{/InitialCode}
{SolutionCode}
<div id="anotherDiv"> This text is unchanged </div>
<script>
// Javascript code goes here
var myOtherDivVar = document.getElementById( "anotherDiv" );
</script>
{/SolutionCode}
{Conditions}
/numberLabel.setText\(String\(number\)\)/, "You didn't set the numberLabel's text to 'String(number)'"
{/Conditions}
{Language}regex{/Language}
{SuccessText}Success! Press the next button to proceed.{/SuccessText}
{/CodeChallenge}
***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment