tests:
- text: Elimine las tres funciones de jQuery de la función de <code>document ready function</code> .
testString: 'assert(code.match(/\{\s*\}\);/g), "Delete all three of your jQuery functions from your <code>document ready function</code>.");'
- text: Deja tu elemento de <code>script</code> intacto.
testString: 'assert(code.match(/<script>/g), "Leave your <code>script</code> element intact.");'
- text: 'Deje su <code>$(document).ready(function() {</code> al principio de su elemento de <code>script</code> .'
testString: 'assert(code.match(/\$\(document\)\.ready\(function\(\)\s?\{/g), "Leave your <code><section id='tests'>
```yml
tests:
- text: Delete all three of your jQuery functions from your <code>document ready function</code>.
testString: 'assert(code.match(/\{\s*\}\);/g), "Delete all three of your jQuery functions from your <code>document ready function</code>.");'
- text: Leave your <code>script</code> element intact.
testString: 'assert(code.match(/<script>/g), "Leave your <code>script</code> element intact.");'
- 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.");'
intacta.
testString: 'assert(code.match(/.*\s*\}\);/g), "Leave your "document ready function" closing
.
testString: 'assert(code.match(/<\/script>/g) && code.match(/<script/g) && code.match(/<\/script>/g).length === code.match(/<script/g).length, "Leave your