<sectionid="description"> Cuando comencemos a usar jQuery, modificaremos los elementos HTML sin necesidad de cambiarlos realmente en HTML. Asegurémonos de que todos sepan que no deberían modificar directamente ninguno de estos códigos. Recuerda que se puede comenzar un comentario con <code><!--</code> y terminar el mismo con <code>--></code> Agrega un comentario en la parte superior de su código HTML que diga <code>Only change code above this line.</code></section>
testString: 'assert(code.match(/^\s*<!--/), "Start a comment with <code><!--</code> at the top of your HTML.");'
- text: Su comentario debe tener el texto <code>Only change code above this line</code> .
testString: 'assert(code.match(/<!--(?!(>|->|.*-->.*this line))\s*.*this line.*\s*-->/gi), "Your comment should have the text <code>Only change code above this line</code>.");'