Skip to content

Commit c132e96

Browse files
replace GH embed macros with regular embed macros on structuring cont… (#40888)
replace GH embed macros with regular embed macros on structuring content module
1 parent 0bd3d59 commit c132e96

File tree

1 file changed

+25
-25
lines changed
  • files/en-us/learn_web_development/core/structuring_content/test_your_skills/html_text_basics

1 file changed

+25
-25
lines changed

files/en-us/learn_web_development/core/structuring_content/test_your_skills/html_text_basics/index.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ The aim of this skill test is to help you assess whether you understand how to m
1717

1818
In this task, we want you to mark up the provided HTML using semantic heading and paragraph elements.
1919

20-
The finished example should look like this:
21-
22-
{{EmbedGHLiveSample("learning-area/html/introduction-to-html/tasks/basic-text/basic-text1-finished.html", '100%', 300)}}
23-
2420
```html-nolint live-sample___text-basics-1
2521
Basic HTML Animals
2622
@@ -37,7 +33,7 @@ The crafty anaconda likes to slither around the page, traveling rapidly by way o
3733

3834
<!-- Shared/setup CSS code -->
3935

40-
```css hidden live-sample___text-basics-1 live-sample___text-basics-2 live-sample___text-basics-3 live-sample___text-basics-4
36+
```css hidden live-sample___text-basics-1 live-sample___text-basics-1-finished live-sample___text-basics-2 live-sample___text-basics-2-finished live-sample___text-basics-3 live-sample___text-basics-3-finished live-sample___text-basics-4 live-sample___text-basics-4-finished
4137
body {
4238
background-color: white;
4339
color: #333333;
@@ -67,7 +63,7 @@ h2 {
6763

6864
<!-- Example-specific code -->
6965

70-
```css hidden live-sample___text-basics-1
66+
```css hidden live-sample___text-basics-1 live-sample___text-basics-1-finished
7167
h1,
7268
h2 {
7369
color: purple;
@@ -81,12 +77,16 @@ p {
8177

8278
{{ EmbedLiveSample('text-basics-1', "100%", 130) }}
8379

80+
The finished example should look like this:
81+
82+
{{ EmbedLiveSample('text-basics-1-finished', "100%", 320) }}
83+
8484
<details>
8585
<summary>Click here to show the solution</summary>
8686

8787
Your finished HTML should look like this:
8888

89-
```html
89+
```html live-sample___text-basics-1-finished
9090
<h1>Basic HTML Animals</h1>
9191

9292
<p>This is the first paragraph in our page. It introduces our animals.</p>
@@ -112,10 +112,6 @@ Your finished HTML should look like this:
112112

113113
In this task, we want you to turn the first un-marked up list into an unordered list, and the second one into an ordered list.
114114

115-
The finished example should look like this:
116-
117-
{{EmbedGHLiveSample("learning-area/html/introduction-to-html/tasks/basic-text/basic-text2-finished.html", '100%', 400)}}
118-
119115
```html-nolint live-sample___text-basics-2
120116
<h1>Looking at lists</h1>
121117
@@ -134,7 +130,7 @@ Wait for at least 5 seconds
134130
Turn the handle and push
135131
```
136132

137-
```css hidden live-sample___text-basics-2
133+
```css hidden live-sample___text-basics-2 live-sample___text-basics-2-finished
138134
p {
139135
margin: 0.5em 0;
140136
}
@@ -156,12 +152,16 @@ ul {
156152

157153
{{ EmbedLiveSample('text-basics-2', "100%", 220) }}
158154

155+
The finished example should look like this:
156+
157+
{{ EmbedLiveSample('text-basics-2-finished', "100%", 400) }}
158+
159159
<details>
160160
<summary>Click here to show the solution</summary>
161161

162162
Your finished HTML should look like this:
163163

164-
```html
164+
```html live-sample___text-basics-2-finished
165165
<h1>Looking at lists</h1>
166166

167167
<p>Turn the following list of my favorite vegetables into an unordered list.</p>
@@ -189,10 +189,6 @@ Your finished HTML should look like this:
189189

190190
In this task, we want you to turn the provided animals and their definitions into a description list.
191191

192-
The finished example should look like this:
193-
194-
{{EmbedGHLiveSample("learning-area/html/introduction-to-html/tasks/advanced-text/advanced-text1-finished.html", '100%', 250)}}
195-
196192
```html-nolint live-sample___text-basics-3
197193
<h1>Advanced HTML Animals</h1>
198194
@@ -204,7 +200,7 @@ Hippopotamus
204200
His description is bottomless.
205201
```
206202

207-
```css hidden live-sample___text-basics-3
203+
```css hidden live-sample___text-basics-3 live-sample___text-basics-3-finished
208204
h1 {
209205
color: purple;
210206
}
@@ -222,12 +218,16 @@ dt {
222218

223219
{{ EmbedLiveSample('text-basics-3', "100%", 160) }}
224220

221+
The finished example should look like this:
222+
223+
{{ EmbedLiveSample('text-basics-3-finished', "100%", 250) }}
224+
225225
<details>
226226
<summary>Click here to show the solution</summary>
227227

228228
Your finished HTML should look like this:
229229

230-
```html
230+
```html live-sample___text-basics-3-finished
231231
<h1>Advanced HTML Animals</h1>
232232

233233
<dl>
@@ -252,10 +252,6 @@ Your finished HTML should look like this:
252252

253253
In this task, you are provided with a paragraph, and your aim is to use some inline elements to mark up a couple of appropriate words with strong importance, and a couple with emphasis.
254254

255-
The finished example should look something like this:
256-
257-
{{EmbedGHLiveSample("learning-area/html/introduction-to-html/tasks/basic-text/basic-text3-finished.html", '100%', 120)}}
258-
259255
```html live-sample___text-basics-4
260256
<h1>Emphasis and importance</h1>
261257

@@ -265,7 +261,7 @@ The finished example should look something like this:
265261
</p>
266262
```
267263

268-
```css hidden live-sample___text-basics-4
264+
```css hidden live-sample___text-basics-4 live-sample___text-basics-4-finished
269265
h1,
270266
strong {
271267
color: purple;
@@ -283,12 +279,16 @@ em {
283279

284280
{{ EmbedLiveSample('text-basics-4', "100%", 160) }}
285281

282+
The finished example should look something like this:
283+
284+
{{ EmbedLiveSample('text-basics-4-finished', "100%", 140) }}
285+
286286
<details>
287287
<summary>Click here to show the solution</summary>
288288

289289
Your finished HTML should look like this:
290290

291-
```html
291+
```html live-sample___text-basics-4-finished
292292
<h1>Emphasis and importance</h1>
293293

294294
<p>

0 commit comments

Comments
 (0)