Translation fix on several lines (#36909)
Changes made for the page in portuguese to be more like the original in English
This commit is contained in:
@ -7,21 +7,21 @@ localeTitle: Link para páginas externas com elementos âncora
|
|||||||
---
|
---
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
<section id="description"> Você pode usar elementos de <code>anchor</code> para vincular a conteúdo fora da sua página da web. <code>anchor</code> elementos <code>anchor</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><a href="https://freecodecamp.org">this links to freecodecamp.org</a></code> Então o seu navegador irá exibir o texto <strong>"este links para freecodecamp.org"</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><a href="https://freecodecamp.org">this links to freecodecamp.org</a></code> Então o seu navegador irá exibir o texto <strong>"this links to freecodecamp.org"</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 <code>a</code> elemento que vincule a <code>http://freecatphotoapp.com</code> e tenha "cat photos" como <code>anchor text</code> . </section>
|
<section id="instructions"> Crie um elemento <code>a</code> que vincule a <code>http://freecatphotoapp.com</code> e tenha "cat photos" como <code>anchor text</code> . </section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
tests:
|
tests:
|
||||||
- text: Sua <code>a</code> elemento deve ter o <code>anchor text</code> de "fotos do gato".
|
- text: Seu elemento <code>a</code> deve ter o <code>anchor text</code> de "cat photos".
|
||||||
testString: 'assert((/cat photos/gi).test($("a").text()), "Your <code>a</code> element should have the <code>anchor text</code> of "cat photos".");'
|
testString: 'assert((/cat photos/gi).test($("a").text()), "Your <code>a</code> element should have the <code>anchor text</code> of "cat photos".");'
|
||||||
- text: 'Você precisa de <code>a</code> elemento que <code>http://freecatphotoapp .com</code> para <code>http://freecatphotoapp .com</code>'
|
- text: 'Você precisa de um elemento <code>a</code> que vincule à <code>http://freecatphotoapp .com</code>'
|
||||||
testString: 'assert(/http:\/\/(www\.)?freecatphotoapp\.com/gi.test($("a").attr("href")), "You need an <code>a</code> element that links to <code>http://freecatphotoapp<wbr>.com</code>");'
|
testString: 'assert(/http:\/\/(www\.)?freecatphotoapp\.com/gi.test($("a").attr("href")), "You need an <code>a</code> element that links to <code>http://freecatphotoapp<wbr>.com</code>");'
|
||||||
- text: Verifique se o seu <code>a</code> elemento tem uma marca de fechamento.
|
- text: Verifique se o seu elemento <code>a</code> tem uma tag de fechamento.
|
||||||
testString: 'assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(/<a/g).length, "Make sure your <code>a</code> element has a closing tag.");'
|
testString: 'assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(/<a/g).length, "Make sure your <code>a</code> element has a closing tag.");'
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user