fix(learn): updated catphotoapp links (Spanish) (#39255)
This commit is contained in:
@ -40,7 +40,7 @@ tests:
|
|||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<a href="http://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>
|
<a href="https://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -81,7 +81,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -54,7 +54,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -57,7 +57,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -82,7 +82,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -68,7 +68,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -80,7 +80,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -61,7 +61,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -82,7 +82,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -69,7 +69,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -73,7 +73,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -66,7 +66,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -63,7 +63,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -88,7 +88,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo" id="cat-photo-form">
|
<form action="https://freecatphotoapp.com/submit-cat-photo" id="cat-photo-form">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -86,7 +86,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo" id="cat-photo-form">
|
<form action="https://freecatphotoapp.com/submit-cat-photo" id="cat-photo-form">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Interior</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Exterior</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
<label><input type="checkbox" name="personality" checked> Amoroso</label>
|
||||||
|
@ -59,7 +59,7 @@ tests:
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Loving</label>
|
<label><input type="checkbox" name="personality" checked> Loving</label>
|
||||||
|
@ -54,7 +54,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<input type="text" placeholder="cat photo URL">
|
<input type="text" placeholder="cat photo URL">
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
|
@ -50,7 +50,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -10,7 +10,7 @@ localeTitle: Crear un elemento de formulario
|
|||||||
<section id="description"> Puede crear formularios web que envíen datos reales a un servidor usando nada más que HTML. Puedes hacerlo especificando un action en tu elemento <code>form</code> . Por ejemplo: <code><form action="/url-where-you-want-to-submit-form-data"></form></code> </section>
|
<section id="description"> Puede crear formularios web que envíen datos reales a un servidor usando nada más que HTML. Puedes hacerlo especificando un action en tu elemento <code>form</code> . Por ejemplo: <code><form action="/url-where-you-want-to-submit-form-data"></form></code> </section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
<section id="instructions"> Anida el campo de texto dentro de un elemento <code>form</code> y agrega el atributo <code>action="/submit-cat-photo"</code> al elemento formulario. </section>
|
<section id="instructions"> Anida el campo de texto dentro de un elemento <code>form</code> y agrega el atributo <code>action="https://freecatphotoapp.com/submit-cat-photo"</code> al elemento formulario. </section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
@ -19,8 +19,8 @@ localeTitle: Crear un elemento de formulario
|
|||||||
tests:
|
tests:
|
||||||
- text: Anida el elemento de entrada de texto dentro de un elemento de <code>form</code> .
|
- text: Anida el elemento de entrada de texto dentro de un elemento de <code>form</code> .
|
||||||
testString: 'assert($("form") && $("form").children("input") && $("form").children("input").length > 0, "Nest your text input element within a <code>form</code> element.");'
|
testString: 'assert($("form") && $("form").children("input") && $("form").children("input").length > 0, "Nest your text input element within a <code>form</code> element.");'
|
||||||
- text: Asegúrese de que su <code>form</code> tenga un atributo <code>action</code> y cuyo valor sea <code>/submit-cat-photo</code>
|
- text: Asegúrese de que su <code>form</code> tenga un atributo <code>action</code> y cuyo valor sea <code>https://freecatphotoapp.com/submit-cat-photo</code>
|
||||||
testString: 'assert($("form").attr("action") === "/submit-cat-photo", "Make sure your <code>form</code> has an <code>action</code> attribute which is set to <code>/submit-cat-photo</code>");'
|
testString: 'assert($("form").attr("action") === "https://freecatphotoapp.com/submit-cat-photo", "Make sure your <code>form</code> has an <code>action</code> attribute which is set to <code>https://freecatphotoapp.com/submit-cat-photo</code>");'
|
||||||
- text: Asegúrese de que su elemento <code>form</code> tenga las etiquetas de apertura y cierre bien formadas.
|
- text: Asegúrese de que su elemento <code>form</code> tenga las etiquetas de apertura y cierre bien formadas.
|
||||||
testString: 'assert(code.match(/<\/form>/g) && code.match(/<form [^<]*>/g) && code.match(/<\/form>/g).length === code.match(/<form [^<]*>/g).length, "Make sure your <code>form</code> element has well-formed open and close tags.");'
|
testString: 'assert(code.match(/<\/form>/g) && code.match(/<form [^<]*>/g) && code.match(/<\/form>/g).length === code.match(/<form [^<]*>/g).length, "Make sure your <code>form</code> element has well-formed open and close tags.");'
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
|
<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
||||||
<input type="text" placeholder="cat photo URL" required>
|
<input type="text" placeholder="cat photo URL" required>
|
||||||
|
@ -60,7 +60,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<input type="text" placeholder="cat photo URL" required>
|
<input type="text" placeholder="cat photo URL" required>
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -10,7 +10,7 @@ localeTitle: Enlace a páginas externas con elementos de anclaje
|
|||||||
<section id="description"> Puede usar elementos de anclaje <code>anchor</code> para vincular contenido fuera de su página web. los elementos de anclaje <code>anchor</code> necesitan una dirección web de destino denominada atributo <code>href</code> . También necesitara agregar texto al elemento de anclaje. Aquí hay un ejemplo: <code><a href="https://freecodecamp.org">this links to freecodecamp.org</a></code> Luego, su navegador mostrará el texto <strong>"este enlace a freecodecamp.org"</strong> como un enlace en el que puede hacer clic. Y ese enlace lo llevará a la dirección web <strong>https://www.freecodecamp.org</strong> . </section>
|
<section id="description"> Puede usar elementos de anclaje <code>anchor</code> para vincular contenido fuera de su página web. los elementos de anclaje <code>anchor</code> necesitan una dirección web de destino denominada atributo <code>href</code> . También necesitara agregar texto al elemento de anclaje. Aquí hay un ejemplo: <code><a href="https://freecodecamp.org">this links to freecodecamp.org</a></code> Luego, su navegador mostrará el texto <strong>"este enlace a freecodecamp.org"</strong> como un enlace en el que puede hacer clic. Y ese enlace lo llevará a la dirección web <strong>https://www.freecodecamp.org</strong> . </section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
<section id="instructions"> Crear un elemento de anclaje <code>a</code> que une a <code>http://freecatphotoapp.com</code> y tiene "fotos de gatos" como su texto de anclaje <code>anchor text</code> . </section>
|
<section id="instructions"> Crear un elemento de anclaje <code>a</code> que une a <code>https://freecatphotoapp.com</code> y tiene "fotos de gatos" como su texto de anclaje <code>anchor text</code> . </section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
|
@ -43,7 +43,7 @@ tests:
|
|||||||
<h2>CatPhotoApp</h2>
|
<h2>CatPhotoApp</h2>
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
|
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
|
||||||
|
|
||||||
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ localeTitle: Realizar enlaces muertos usando el símbolo de hash
|
|||||||
<section id="description"> A veces desea agregar elementos<code>a</code> a su sitio web antes de saber a donde lo va a llevar. Esto también es útil cuando está cambiando el comportamiento de un enlace usando <code>JavaScript</code> , que aprenderemos más adelante. </section>
|
<section id="description"> A veces desea agregar elementos<code>a</code> a su sitio web antes de saber a donde lo va a llevar. Esto también es útil cuando está cambiando el comportamiento de un enlace usando <code>JavaScript</code> , que aprenderemos más adelante. </section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
<section id="instructions"> El valor actual del atributo <code>href</code> es un enlace que apunta a "http://freecatphotoapp.com". Reemplace el valor del atributo <code>href</code> con un <code>#</code> , también conocido como símbolo de hash, para crear un enlace muerto. Por ejemplo: <code>href="#"</code> </section>
|
<section id="instructions"> El valor actual del atributo <code>href</code> es un enlace que apunta a "https://freecatphotoapp.com". Reemplace el valor del atributo <code>href</code> con un <code>#</code> , también conocido como símbolo de hash, para crear un enlace muerto. Por ejemplo: <code>href="#"</code> </section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
@ -32,7 +32,7 @@ tests:
|
|||||||
```html
|
```html
|
||||||
<h2>CatPhotoApp</h2>
|
<h2>CatPhotoApp</h2>
|
||||||
<main>
|
<main>
|
||||||
<p>Click here to view more <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>.</p>
|
<p>Click here to view more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a>.</p>
|
||||||
|
|
||||||
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
||||||
|
|
||||||
|
@ -17,16 +17,16 @@ localeTitle: Anidar un elemento de anclaje dentro de un párrafo
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
tests:
|
tests:
|
||||||
- text: 'Es necesario un <code>a</code> elemento que une a "http://freecatphotoapp.com".'
|
- text: 'Es necesario un <code>a</code> elemento que une a "https://freecatphotoapp.com".'
|
||||||
testString: 'assert(($("a[href=\"http://freecatphotoapp.com\"]").length > 0 || $("a[href=\"http://www.freecatphotoapp.com\"]").length > 0), "You need an <code>a</code> element that links to "http://freecatphotoapp.com".");'
|
testString: 'assert(($("a[href=\"https://freecatphotoapp.com\"]").length > 0 || $("a[href=\"http://www.freecatphotoapp.com\"]").length > 0), "You need an <code>a</code> element that links to "https://freecatphotoapp.com".");'
|
||||||
- text: Su <code>a</code> elemento debe tener el texto de anclaje de fotos "gato"
|
- text: Su <code>a</code> elemento debe tener el texto de anclaje de fotos "gato"
|
||||||
testString: 'assert($("a").text().match(/cat\sphotos/gi), "Your <code>a</code> element should have the anchor text of "cat photos"");'
|
testString: 'assert($("a").text().match(/cat\sphotos/gi), "Your <code>a</code> element should have the anchor text of "cat photos"");'
|
||||||
- text: Crear un nuevo <code>p</code> elemento alrededor de su <code>a</code> elemento. Debe haber al menos 3 etiquetas <code>p</code> en total en su código HTML.
|
- text: Crear un nuevo <code>p</code> elemento alrededor de su <code>a</code> elemento. Debe haber al menos 3 etiquetas <code>p</code> en total en su código HTML.
|
||||||
testString: 'assert($("p") && $("p").length > 2, "Create a new <code>p</code> element around your <code>a</code> element. There should be at least 3 total <code>p</code> tags in your HTML code.");'
|
testString: 'assert($("p") && $("p").length > 2, "Create a new <code>p</code> element around your <code>a</code> element. There should be at least 3 total <code>p</code> tags in your HTML code.");'
|
||||||
- text: Su <code>a</code> elemento debe estar anidada dentro de su nueva <code>p</code> elemento.
|
- text: Su <code>a</code> elemento debe estar anidada dentro de su nueva <code>p</code> elemento.
|
||||||
testString: 'assert(($("a[href=\"http://freecatphotoapp.com\"]").parent().is("p") || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().is("p")), "Your <code>a</code> element should be nested within your new <code>p</code> element.");'
|
testString: 'assert(($("a[href=\"https://freecatphotoapp.com\"]").parent().is("p") || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().is("p")), "Your <code>a</code> element should be nested within your new <code>p</code> element.");'
|
||||||
- text: Su elemento <code>p</code> debe tener el texto "Ver más" (con un espacio detrás de él).
|
- text: Su elemento <code>p</code> debe tener el texto "Ver más" (con un espacio detrás de él).
|
||||||
testString: 'assert(($("a[href=\"http://freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi) || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi)), "Your <code>p</code> element should have the text "View more " (with a space after it).");'
|
testString: 'assert(($("a[href=\"https://freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi) || $("a[href=\"http://www.freecatphotoapp.com\"]").parent().text().match(/View\smore\s/gi)), "Your <code>p</code> element should have the text "View more " (with a space after it).");'
|
||||||
- text: Su <code>a</code> elemento <em>no</em> debería tener el texto "Ver más".
|
- text: Su <code>a</code> elemento <em>no</em> debería tener el texto "Ver más".
|
||||||
testString: 'assert(!$("a").text().match(/View\smore/gi), "Your <code>a</code> element should <em>not</em> have the text "View more".");'
|
testString: 'assert(!$("a").text().match(/View\smore/gi), "Your <code>a</code> element should <em>not</em> have the text "View more".");'
|
||||||
- text: Asegúrese de que cada uno de sus elementos <code>p</code> tenga una etiqueta de cierre.
|
- text: Asegúrese de que cada uno de sus elementos <code>p</code> tenga una etiqueta de cierre.
|
||||||
@ -47,7 +47,7 @@ tests:
|
|||||||
<h2>CatPhotoApp</h2>
|
<h2>CatPhotoApp</h2>
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
|
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>
|
||||||
|
|
||||||
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ tests:
|
|||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
|
||||||
<label><input type="checkbox" name="personality" checked> Loving</label>
|
<label><input type="checkbox" name="personality" checked> Loving</label>
|
||||||
|
@ -48,7 +48,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<input type="text" placeholder="cat photo URL">
|
<input type="text" placeholder="cat photo URL">
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -85,7 +85,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -87,7 +87,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -85,7 +85,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -80,7 +80,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -83,7 +83,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -83,7 +83,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -81,7 +81,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -97,7 +97,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -88,7 +88,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
|
@ -85,7 +85,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -86,7 +86,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
|
@ -85,7 +85,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -88,7 +88,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
|
@ -83,7 +83,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -89,7 +89,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -80,7 +80,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -87,7 +87,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
@ -86,7 +86,7 @@ tests:
|
|||||||
<li>thunder</li>
|
<li>thunder</li>
|
||||||
<li>other cats</li>
|
<li>other cats</li>
|
||||||
</ol>
|
</ol>
|
||||||
<form action="/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
|
||||||
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
|
||||||
<label><input type="checkbox" name="personality"> Loving</label>
|
<label><input type="checkbox" name="personality"> Loving</label>
|
||||||
|
Reference in New Issue
Block a user