|
6 | 6 | xmlns:m="http://www.w3.org/1998/Math/MathML" |
7 | 7 | xmlns:html="http://www.w3.org/1999/xhtml" |
8 | 8 | xmlns:db="http://docbook.org/ns/docbook"> |
9 | | - <title>Traversing</title> |
| 9 | + <title>Atravessamento</title> |
10 | 10 |
|
11 | | - <para>Open the file <filename>/exercises/index.html</filename> in your |
12 | | - browser. Use the file <filename>/exercises/js/sandbox.js</filename> or |
13 | | - work in Firebug to accomplish the following:</para> |
| 11 | + <para>Abra o arquivo<filename>/exercises/index.html</filename> no seu |
| 12 | + navegador. Use o arquivo <filename>/exercises/js/sandbox.js</filename> ou |
| 13 | + trabalhe no Firebug para fazer o seguinte:</para> |
14 | 14 |
|
15 | 15 | <orderedlist> |
16 | 16 | <listitem> |
17 | | - <para>Select all of the image elements on the page; log each image's |
18 | | - alt attribute.</para> |
| 17 | + <para>Selecione todos os elementos de imagem na página; logue cada |
| 18 | + o atributo alt de cada imagem.</para> |
19 | 19 | </listitem> |
20 | 20 |
|
21 | 21 | <listitem> |
22 | | - <para>Select the search input text box, then traverse up to the form |
23 | | - and add a class to the form.</para> |
| 22 | + <para>Selecione a caixa de texto de busca, então atravesse para o form |
| 23 | + e adicione uma classe nele.</para> |
24 | 24 | </listitem> |
25 | 25 |
|
26 | 26 | <listitem> |
27 | | - <para>Select the list item inside #myList that has a class of |
28 | | - "current" and remove that class from it; add a class of "current" to |
29 | | - the next list item.</para> |
| 27 | + <para>Selecione o item de lista dentro de #myList que possui uma classe |
| 28 | + "current" e remova esta classe dele; adicione uma classe "current" no |
| 29 | + próximo item de lista.</para> |
30 | 30 | </listitem> |
31 | 31 |
|
32 | 32 | <listitem> |
33 | | - <para>Select the select element inside #specials; traverse your way to |
34 | | - the submit button.</para> |
| 33 | + <para>Selecione o elemento select dentro de #specials; atravesse para |
| 34 | + o botão de submit.</para> |
35 | 35 | </listitem> |
36 | 36 |
|
37 | 37 | <listitem> |
38 | | - <para>Select the first list item in the #slideshow element; add the |
39 | | - class "current" to it, and then add a class of "disabled" to its |
40 | | - sibling elements.</para> |
| 38 | + <para>Selecione o primeiro item de lista no elemento #slideshow; |
| 39 | + adicione a classe "current" a ele e então adicione a classe "disabled" |
| 40 | + para seus elementos sibling.</para> |
41 | 41 | </listitem> |
42 | 42 | </orderedlist> |
43 | 43 | </section> |
0 commit comments