These animations were cool at first, but now they're getting kind of distracting.
Delete all three of these jQuery functions from your <code>document ready function</code>, but leave your <code>document ready function</code> itself 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.'');'