- text: 'Leave your <code>$(document).ready(function() {</code> to the beginning of your <code>script</code> element.'
testString: 'assert(code.match(/\$\(document\)\.ready\(function\(\)\s?\{/g), "Leave your <code>$(document).ready(function() {</code> to the beginning of your <code>script</code> element.");'
- text: 'Leave your "document ready function" closing <code>})</code> intact.'
testString: 'assert(code.match(/.*\s*\}\);/g), "Leave your "document ready function" closing <code>})</code> intact.");'
- text: Leave your <code>script</code> element closing tag intact.
testString: 'assert(code.match(/<\/script>/g) && code.match(/<script/g) && code.match(/<\/script>/g).length === code.match(/<script/g).length, "Leave your <code>script</code> element closing tag intact.");'
```
</section>#40document).ready(function() {</code> to the beginning of your <code>script</code> element.");'
testString: 'assert(code.match(/.*\s*\}\);/g), "Leave your "document ready function" closing <code>})</code> intact.");'
- text: Deje intacta la etiqueta de cierre del elemento de su <code>script</code> .
testString: 'assert(code.match(/<\/script>/g) && code.match(/<script/g) && code.match(/<\/script>/g).length === code.match(/<script/g).length, "Leave your <code>script</code> element closing tag intact.");'