fix(curriculum): adjust editable regions workshop-blog-page (#65464)

This commit is contained in:
hbar1st
2026-01-27 19:50:47 -05:00
committed by GitHub
parent db59fa0515
commit d35e541a4a
13 changed files with 35 additions and 35 deletions

View File

@@ -55,10 +55,10 @@ assert.match(code, /<\/header>[.\n\s]*<\/body>/im)
<title>Mr. Whiskers' Blog</title>
<meta charset="UTF-8" />
</head>
--fcc-editable-region--
<body>
</body>
--fcc-editable-region--
--fcc-editable-region--
</body>
</html>
```

View File

@@ -113,13 +113,13 @@ assert.strictEqual(figureElement?.lastElementChild?.tagName, "FIGCAPTION")
<title>Mr. Whiskers' Blog</title>
<meta charset="UTF-8" />
</head>
--fcc-editable-region--
<body>
<header>
<h1>Welcome to Mr. Whiskers' Blog Page!</h1>
--fcc-editable-region--
--fcc-editable-region--
</header>
</body>
--fcc-editable-region--
</html>
```

View File

@@ -83,15 +83,15 @@ assert.strictEqual(hrefAttribute, "#contact");
/>
<figcaption>Mr. Whiskers in the Garden</figcaption>
</figure>
--fcc-editable-region--
<nav>
<ul>
--fcc-editable-region--
<li></li>
<li></li>
<li></li>
--fcc-editable-region--
</ul>
</nav>
--fcc-editable-region--
</header>
</body>
</html>

View File

@@ -96,11 +96,11 @@ assert.strictEqual(h2Element?.parentElement.tagName, 'SECTION');
</ul>
</nav>
</header>
--fcc-editable-region--
<main>
</main>
--fcc-editable-region--
--fcc-editable-region--
</main>
</body>
</html>
```

View File

@@ -110,12 +110,12 @@ assert.strictEqual(h3Element?.parentElement.tagName, 'ARTICLE');
His playful nature and boundless energy keeps me on my toes. I love him so much.
</p>
</section>
--fcc-editable-region--
<section id="posts">
<h2>Posts</h2>
</section>
--fcc-editable-region--
--fcc-editable-region--
</section>
</main>
</body>
</html>

View File

@@ -101,12 +101,12 @@ assert.lengthOf(paragraphs, 2);
</section>
<section id="posts">
<h2>Posts</h2>
--fcc-editable-region--
<article>
<h3>Mr. Whiskers' First Day Home</h3>
</article>
--fcc-editable-region--
--fcc-editable-region--
</article>
</section>
</main>
</body>

View File

@@ -131,11 +131,11 @@ assert.strictEqual(h2Element?.innerText.trim(), 'Contact');
</article>
</section>
</main>
--fcc-editable-region--
<footer>
</footer>
--fcc-editable-region--
--fcc-editable-region--
</footer>
</body>
</html>
```

View File

@@ -132,14 +132,14 @@ assert.strictEqual(addressElement?.parentElement.tagName, 'SECTION');
</article>
</section>
</main>
--fcc-editable-region--
<footer>
<section id="contact">
<h2>Contact</h2>
--fcc-editable-region--
--fcc-editable-region--
</section>
</footer>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -127,16 +127,16 @@ assert.strictEqual(pElement?.innerText.trim(), 'Email: fake@email.com');
</article>
</section>
</main>
--fcc-editable-region--
<footer>
<section id="contact">
<h2>Contact</h2>
<address>
--fcc-editable-region--
--fcc-editable-region--
</address>
</section>
</footer>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -51,11 +51,11 @@ assert.strictEqual(h1Element?.parentElement.tagName, 'HEADER');
<meta charset="UTF-8" />
</head>
<body>
--fcc-editable-region--
<header>
</header>
--fcc-editable-region--
--fcc-editable-region--
</header>
</body>
</html>
```

View File

@@ -73,12 +73,12 @@ assert.strictEqual(pElement?.innerText.trim(), text);
</nav>
</header>
<main>
--fcc-editable-region--
<section id="about">
<h2>About</h2>
</section>
--fcc-editable-region--
--fcc-editable-region--
</section>
</main>
</body>
</html>

View File

@@ -133,17 +133,17 @@ assert.strictEqual(link.getAttribute('href'), "tel:5555555555");
</article>
</section>
</main>
--fcc-editable-region--
<footer>
<section id="contact">
<h2>Contact</h2>
<address>
--fcc-editable-region--
<p>Phone: 555-555-5555</p>
--fcc-editable-region--
<p>Email: fake@email.com</p>
</address>
</section>
</footer>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -135,17 +135,17 @@ assert.strictEqual(link.getAttribute('href'), "mailto:fake@email.com");
</article>
</section>
</main>
--fcc-editable-region--
<footer>
<section id="contact">
<h2>Contact</h2>
<address>
<p>Phone: <a href="tel:5555555555">555-555-5555</a></p>
--fcc-editable-region--
<p>Email: fake@email.com</p>
--fcc-editable-region--
</address>
</section>
</footer>
--fcc-editable-region--
</body>
</html>
```