| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1aff9a2 commit 51fca7e
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,7 +79,7 @@ | |||
| 79 | 79 | <body> | |
| 80 | 80 | <form> | |
| 81 | 81 | <fieldset> | |
| 82 | - <legend>Check shipping details</legend> | ||
| 82 | + <legend contenteditable="true">Check shipping details</legend> | ||
| 83 | 83 | <div> | |
| 84 | 84 | <label for="name">Name: </label> | |
| 85 | 85 | <input id="name" name="name" type="text" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,6 +26,10 @@ | |||
| 26 | 26 | ||
| 27 | 27 | </body> | |
| 28 | 28 | <script> | |
| 29 | + const section = document.querySelector('section'); | ||
| 30 | + | ||
| 31 | + let para1 = document.createElement('p'); | ||
| 32 | + let para2 = document.createElement('p'); | ||
| 29 | 33 | let motherInfo = 'The mother cats are called '; | |
| 30 | 34 | let kittenInfo; | |
| 31 | 35 | ||
@@ -45,10 +49,6 @@ | |||
| 45 | 49 | para2.textContent = kittenInfo; | |
| 46 | 50 | } | |
| 47 | 51 | ||
| 48 | - const section = document.querySelector('section'); | ||
| 49 | - | ||
| 50 | - let para1 = document.createElement('p'); | ||
| 51 | - let para2 = document.createElement('p'); | ||
| 52 | 52 | section.appendChild(para1); | |
| 53 | 53 | section.appendChild(para2); | |
| 54 | 54 | </script> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,6 +24,10 @@ | |||
| 24 | 24 | </section> | |
| 25 | 25 | ||
| 26 | 26 | <textarea class="playable playable-js" style="height: 220px;"> | |
| 27 | + const section = document.querySelector('section'); | ||
| 28 | + | ||
| 29 | + let para1 = document.createElement('p'); | ||
| 30 | + let para2 = document.createElement('p'); | ||
| 27 | 31 | ||
| 28 | 32 | let motherInfo = 'The mother cats are called '; | |
| 29 | 33 | let kittenInfo; | |
@@ -46,8 +50,6 @@ | |||
| 46 | 50 | para2.textContent = kittenInfo; | |
| 47 | 51 | } | |
| 48 | 52 | ||
| 49 | - let para1 = document.createElement('p'); | ||
| 50 | - let para2 = document.createElement('p'); | ||
| 51 | 53 | section.appendChild(para1); | |
| 52 | 54 | section.appendChild(para2); | |
| 53 | 55 | </textarea> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,10 @@ Some hints/questions: | |||
| 23 | 23 | Your code should look something like this: | |
| 24 | 24 | ||
| 25 | 25 | ``` | |
| 26 | + let section = document.querySelector('.preview'); | ||
| 27 | + let para1 = document.createElement('p'); | ||
| 28 | + let para2 = document.createElement('p'); | ||
| 29 | + | ||
| 26 | 30 | let motherInfo = 'The mother cats are called '; | |
| 27 | 31 | let kittenInfo; | |
| 28 | 32 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments