Skip to content

Commit 303bdff

Browse files
fix(curriculum): refine editable region workshop bookstore page (freeCodeCamp#65965)
1 parent 60ab523 commit 303bdff

18 files changed

Lines changed: 75 additions & 47 deletions

curriculum/challenges/english/blocks/workshop-bookstore-page/68e97fe79367ad7b5dd6c9cd.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ assert.match(code, /<body>[\s\S]*<h1>[\s\S]*<\/h1>[\s\S]*<\/body>/i);
4040
<meta charset="UTF-8" />
4141
<title>XYZ Bookstore Page</title>
4242
</head>
43-
--fcc-editable-region--
44-
<body>
4543

46-
</body>
44+
<body>
4745
--fcc-editable-region--
46+
47+
--fcc-editable-region--
48+
</body>
49+
4850
</html>
4951
```

curriculum/challenges/english/blocks/workshop-bookstore-page/68ebdbacdd3fa474132cc975.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ assert.exists(document.querySelector('h1 + p'));
4343

4444
<body>
4545
<h1>XYZ Bookstore</h1>
46-
--fcc-editable-region--
47-
48-
--fcc-editable-region--
46+
--fcc-editable-region--
47+
48+
--fcc-editable-region--
4949
</body>
5050

5151
</html>

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec6cd5b7e8f5a8f7319e32.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ assert.exists(document.querySelector('p + div'));
4040
<body>
4141
<h1>XYZ Bookstore</h1>
4242
<p>Browse our collection of amazing books!</p>
43+
4344
--fcc-editable-region--
44-
45+
4546
--fcc-editable-region--
4647
</body>
4748

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec6d9a315221aa31e54816.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ assert.equal(document.querySelector('div')?.className, 'card-container');
4646
<body>
4747
<h1>XYZ Bookstore</h1>
4848
<p>Browse our collection of amazing books!</p>
49-
--fcc-editable-region--
49+
50+
--fcc-editable-region--
5051
<div>
51-
52-
</div>
5352
--fcc-editable-region--
53+
54+
</div>
5455
</body>
5556

5657
</html>

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec6e8d0caee3afaaf142ef.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ assert.exists(document.querySelector('.card-container div.card'));
4646
<body>
4747
<h1>XYZ Bookstore</h1>
4848
<p>Browse our collection of amazing books!</p>
49-
--fcc-editable-region--
49+
5050
<div class="card-container">
51-
52-
</div>
5351
--fcc-editable-region--
52+
53+
--fcc-editable-region--
54+
</div>
5455
</body>
5556

5657
</html>

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec9332a9b5b2b32487bd00.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ assert.equal(document.querySelector('.card')?.id, 'sally-adventure-book');
4848
<body>
4949
<h1>XYZ Bookstore</h1>
5050
<p>Browse our collection of amazing books!</p>
51+
5152
<div class="card-container">
5253
--fcc-editable-region--
5354
<div class="card">
54-
55-
</div>
5655
--fcc-editable-region--
56+
57+
</div>
5758
</div>
5859
</body>
5960

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec98b38d83a3c28dd30efe.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ assert.equal(document.querySelector('.card h2')?.innerText.trim(), "Sally's SciF
3838
<body>
3939
<h1>XYZ Bookstore</h1>
4040
<p>Browse our collection of amazing books!</p>
41+
4142
<div class="card-container">
42-
--fcc-editable-region--
4343
<div class="card" id="sally-adventure-book">
44-
44+
--fcc-editable-region--
45+
46+
--fcc-editable-region--
4547
</div>
46-
--fcc-editable-region--
4748
</div>
4849
</body>
4950

curriculum/challenges/english/blocks/workshop-bookstore-page/68ec99e478211dc578699944.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,14 @@ assert.exists(document.querySelector('.card h2 + p'));
4747
<body>
4848
<h1>XYZ Bookstore</h1>
4949
<p>Browse our collection of amazing books!</p>
50+
5051
<div class="card-container">
51-
--fcc-editable-region--
5252
<div class="card" id="sally-adventure-book">
5353
<h2>Sally's SciFi Adventure</h2>
54-
54+
--fcc-editable-region--
55+
56+
--fcc-editable-region--
5557
</div>
56-
--fcc-editable-region--
5758
</div>
5859
</body>
5960

curriculum/challenges/english/blocks/workshop-bookstore-page/68eca11e99e3c5c894ca9d69.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ assert.equal(document.querySelector('.card button')?.innerText.trim(), 'Buy Now'
5151
<body>
5252
<h1>XYZ Bookstore</h1>
5353
<p>Browse our collection of amazing books!</p>
54+
5455
<div class="card-container">
55-
--fcc-editable-region--
5656
<div class="card" id="sally-adventure-book">
5757
<h2>Sally's SciFi Adventure</h2>
5858
<p>This is an epic story of Sally and her dog Rex as they navigate through other worlds.</p>
59-
59+
--fcc-editable-region--
60+
61+
--fcc-editable-region--
6062
</div>
61-
--fcc-editable-region--
6263
</div>
6364
</body>
6465

curriculum/challenges/english/blocks/workshop-bookstore-page/68eca2a795b333ca5fee30a8.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ assert.exists(document.querySelector('.card + .card'));
4343
<body>
4444
<h1>XYZ Bookstore</h1>
4545
<p>Browse our collection of amazing books!</p>
46+
4647
<div class="card-container">
47-
--fcc-editable-region--
4848
<div class="card" id="sally-adventure-book">
4949
<h2>Sally's SciFi Adventure</h2>
5050
<p>This is an epic story of Sally and her dog Rex as they navigate through other worlds.</p>
5151
<button class="btn">Buy Now</button>
5252
</div>
53-
53+
54+
--fcc-editable-region--
55+
5456
--fcc-editable-region--
5557
</div>
5658
</body>

0 commit comments

Comments
 (0)