- Notifications
You must be signed in to change notification settings - Fork230
Walking the DOM#318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Walking the DOM#318
Changes fromall commits
Commits
Show all changes
24 commits Select commitHold shift + click to select a range
a7e09ce Walking the DOM - Caminando por el DOM
Leired7b3677bc Traducido
Leired74a85d1c Traducido
Leired799a2bcf Traducido
Leired78d86196 Traducido
Leired762dab4d Traducido
Leired7242f006 Cambiado "niño" por "hijo"
Leired767bd1d3 Update 2-ui/1-document/03-dom-navigation/1-dom-children/solution.md
Leired76cc23a4 Update 2-ui/1-document/03-dom-navigation/article.md
Leired76a28723 Update 2-ui/1-document/03-dom-navigation/article.md
Leired77fac6f6 Update 2-ui/1-document/03-dom-navigation/article.md
Leired7bbbd56e Update 2-ui/1-document/03-dom-navigation/1-dom-children/task.md
Leired738348d2 Update 2-ui/1-document/03-dom-navigation/3-navigation-links-which-nul…
Leired7c15ada0 Update 2-ui/1-document/03-dom-navigation/article.md
Leired72e3d02f Update 2-ui/1-document/03-dom-navigation/article.md
Leired7fbaaed1 Update 2-ui/1-document/03-dom-navigation/article.md
Leired71501fe9 Update 2-ui/1-document/03-dom-navigation/article.md
Leired704ec290 Update 2-ui/1-document/03-dom-navigation/article.md
Leired7f416a1c Update 2-ui/1-document/03-dom-navigation/article.md
Leired70796f8b Update 2-ui/1-document/03-dom-navigation/article.md
Leired7b9880b2 Update 2-ui/1-document/03-dom-navigation/article.md
Leired759135ff Update 2-ui/1-document/03-dom-navigation/1-dom-children/task.md
Leired702b92bd Update 2-ui/1-document/03-dom-navigation/article.md
joaquinelioeb16ae9 Apply suggestions from code review
joaquinelioFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
16 changes: 8 additions & 8 deletions2-ui/1-document/03-dom-navigation/1-dom-children/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,27 @@ | ||
| Hay muchas maneras, por ejemplo: | ||
| El nodo`<div>`del DOM: | ||
| ```js | ||
| document.body.firstElementChild | ||
| //o | ||
| document.body.children[0] | ||
| //o (el primer nodo es un espacio, así que tomamos el segundo) | ||
| document.body.childNodes[1] | ||
| ``` | ||
| El nodo`<ul>`del DOM: | ||
| ```js | ||
| document.body.lastElementChild | ||
| //o | ||
| document.body.children[1] | ||
| ``` | ||
| El segundo `<li>` (con Pete): | ||
| ```js | ||
| //obtener <ul>,y luego obtener su último elemento hijo | ||
| document.body.lastElementChild.lastElementChild | ||
| ``` |
10 changes: 5 additions & 5 deletions2-ui/1-document/03-dom-navigation/1-dom-children/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions2-ui/1-document/03-dom-navigation/3-navigation-links-which-null/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion2-ui/1-document/03-dom-navigation/4-select-diagonal-cells/solution.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| Usaremos las propiedades de las `filas` y las `celdas` para acceder a las celdas de la tabla diagonal |
10 changes: 5 additions & 5 deletions2-ui/1-document/03-dom-navigation/4-select-diagonal-cells/task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.