fix(learn): updated catphotoapp links (Portuguese) (#39254)

This commit is contained in:
Randell Dawson
2020-07-15 02:54:15 -07:00
committed by GitHub
parent 174e98a404
commit fd6b24685f
46 changed files with 55 additions and 55 deletions

View File

@ -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>
``` ```

View File

@ -79,7 +79,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>

View File

@ -79,7 +79,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>

View File

@ -53,7 +53,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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>

View File

@ -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> 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>
@ -167,7 +167,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> 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>

View File

@ -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> 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>

View File

@ -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>
@ -109,7 +109,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>

View File

@ -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>

View File

@ -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>

View File

@ -10,7 +10,7 @@ localeTitle: Crie um elemento de formulário
<section id="description"> Você pode criar formulários da Web que realmente enviam dados para um servidor usando nada além de HTML puro. Você pode fazer isso especificando uma ação <code>action</code> no seu elemento de <code>form</code>. O valor definido como ação é o endereço que aponta para algum recurso do seu servidor, onde pode conter códigos de linguagens back-end como PHP, Java, Python e etc. Um exemplo de uso: <code>&lt;form action=&quot;/url-where-you-want-to-submit-form-data&quot;&gt;&lt;/form&gt;</code> </section> <section id="description"> Você pode criar formulários da Web que realmente enviam dados para um servidor usando nada além de HTML puro. Você pode fazer isso especificando uma ação <code>action</code> no seu elemento de <code>form</code>. O valor definido como ação é o endereço que aponta para algum recurso do seu servidor, onde pode conter códigos de linguagens back-end como PHP, Java, Python e etc. Um exemplo de uso: <code>&lt;form action=&quot;/url-where-you-want-to-submit-form-data&quot;&gt;&lt;/form&gt;</code> </section>
## Instruções ## Instruções
<section id="instructions"> Aninhe seu campo de texto dentro de um elemento de <code>form</code> e adicione o atributo <code>action=&quot;/submit-cat-photo&quot;</code> ao elemento form. </section> <section id="instructions"> Aninhe seu campo de texto dentro de um elemento de <code>form</code> e adicione o atributo <code>action=&quot;https://freecatphotoapp.com/submit-cat-photo&quot;</code> ao elemento form. </section>
## Tests ## Tests
<section id='tests'> <section id='tests'>
@ -19,8 +19,8 @@ localeTitle: Crie um elemento de formulário
tests: tests:
- text: Aninhe seu elemento de entrada de texto em um elemento de <code>form</code> . - text: Aninhe seu elemento de entrada de texto em um 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: Certifique-se de que seu <code>form</code> tenha um atributo de <code>action</code> definido como <code>/submit-cat-photo</code> - text: Certifique-se de que seu <code>form</code> tenha um atributo de <code>action</code> definido como <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: Certifique-se de que seu elemento de <code>form</code> tenha tags de abertura e fechamento bem formadas. - text: Certifique-se de que seu elemento de <code>form</code> tenha tags de abertura e fechamento bem 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.");'

View File

@ -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>

View File

@ -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>

View File

@ -10,7 +10,7 @@ localeTitle: Link para páginas externas com elementos âncora
<section id="description"> Você pode usar elementos <code>a</code> (<i>âncora</i>) para vincular à conteúdo fora da sua página da web. Elementos <code>a</code> precisam de um endereço da Web de destino chamado atributo <code>href</code> . Eles também precisam de texto âncora. Aqui está um exemplo: <code>&lt;a href=&quot;https://freecodecamp.org&quot;&gt;this links to freecodecamp.org&lt;/a&gt;</code> Então o seu navegador irá exibir o texto <strong>&quot;this links to freecodecamp.org&quot;</strong> como um link que você pode clicar. E esse link levará você ao endereço da Web <strong>https://www.freecodecamp.org</strong> . </section> <section id="description"> Você pode usar elementos <code>a</code> (<i>âncora</i>) para vincular à conteúdo fora da sua página da web. Elementos <code>a</code> precisam de um endereço da Web de destino chamado atributo <code>href</code> . Eles também precisam de texto âncora. Aqui está um exemplo: <code>&lt;a href=&quot;https://freecodecamp.org&quot;&gt;this links to freecodecamp.org&lt;/a&gt;</code> Então o seu navegador irá exibir o texto <strong>&quot;this links to freecodecamp.org&quot;</strong> como um link que você pode clicar. E esse link levará você ao endereço da Web <strong>https://www.freecodecamp.org</strong> . </section>
## Instructions ## Instructions
<section id="instructions"> Crie um elemento <code>a</code> que vincule a <code>http://freecatphotoapp.com</code> e tenha &quot;cat photos&quot; como <code>anchor text</code> . </section> <section id="instructions"> Crie um elemento <code>a</code> que vincule a <code>https://freecatphotoapp.com</code> e tenha &quot;cat photos&quot; como <code>anchor text</code> . </section>
## Tests ## Tests
<section id='tests'> <section id='tests'>

View File

@ -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.">

View File

@ -10,7 +10,7 @@ localeTitle: Faça links mortos usando o símbolo Hash
<section id="description"> Alguma vezes você irá adicionar elementos <code>a</code> em seu site antes mesmo de saber para onde eles irão ligar. Isso também é útil quando você está alterando o comportamento de um link usando <code>JavaScript</code> , o qual aprenderemos mais tarde. </section> <section id="description"> Alguma vezes você irá adicionar elementos <code>a</code> em seu site antes mesmo de saber para onde eles irão ligar. Isso também é útil quando você está alterando o comportamento de um link usando <code>JavaScript</code> , o qual aprenderemos mais tarde. </section>
## Instructions ## Instructions
<section id="instructions"> O valor atual do atributo <code>href</code> é um link que aponta para &quot;http://freecatphotoapp.com&quot;. Substitua o valor do atributo <code>href</code> por um <code>#</code> , também conhecido como um símbolo de hash, para criar um link morto. Por exemplo: <code>href=&quot;#&quot;</code> </section> <section id="instructions"> O valor atual do atributo <code>href</code> é um link que aponta para &quot;https://freecatphotoapp.com&quot;. Substitua o valor do atributo <code>href</code> por um <code>#</code> , também conhecido como um símbolo de hash, para criar um link morto. Por exemplo: <code>href=&quot;#&quot;</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.">

View File

@ -17,16 +17,16 @@ localeTitle: Aninhar um elemento âncora dentro de um parágrafo
```yml ```yml
tests: tests:
- text: 'Você precisa de <code>a</code> elemento que vincule a &quot;http://freecatphotoapp.com&quot;.' - text: 'Você precisa de <code>a</code> elemento que vincule a &quot;https://freecatphotoapp.com&quot;.'
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: Sua <code>a</code> elemento deve ter o texto âncora de &quot;fotos do gato&quot; - text: Sua <code>a</code> elemento deve ter o texto âncora de &quot;fotos do gato&quot;
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: Criar um novo <code>p</code> elemento em torno de seu <code>a</code> elemento. Deve haver pelo menos três tags <code>p</code> no seu código HTML. - text: Criar um novo <code>p</code> elemento em torno de seu <code>a</code> elemento. Deve haver pelo menos três tags <code>p</code> no seu 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: Seu <code>a</code> elemento deve ser aninhado em seu novo elemento <code>p</code> . - text: Seu <code>a</code> elemento deve ser aninhado em seu novo elemento <code>p</code> .
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: Seu elemento <code>p</code> deve ter o texto &quot;Ver mais&quot; (com um espaço após ele). - text: Seu elemento <code>p</code> deve ter o texto &quot;Ver mais&quot; (com um espaço após ele).
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: Sua <code>a</code> elemento <em>não</em> deve ter o texto &quot;Ver mais&quot;. - text: Sua <code>a</code> elemento <em>não</em> deve ter o texto &quot;Ver mais&quot;.
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: Certifique-se de que cada um dos seus elementos <code>p</code> tenha uma tag de fechamento. - text: Certifique-se de que cada um dos seus elementos <code>p</code> tenha uma tag de fechamento.
@ -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.">

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -82,7 +82,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>

View File

@ -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>

View File

@ -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>

View File

@ -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>