fix: expand the editable regions (#45526)
This commit is contained in:
@ -11,7 +11,7 @@ After the unordered list, add a new image with an `src` attribute value set to `
|
|||||||
|
|
||||||
# --hints--
|
# --hints--
|
||||||
|
|
||||||
There should be an `img` element right above the second `section` element's closing tag.
|
There should be an `img` element right after the closing `</ul>` tag.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert($('section')[1].lastElementChild.nodeName === 'IMG');
|
assert($('section')[1].lastElementChild.nodeName === 'IMG');
|
||||||
|
@ -93,11 +93,11 @@ assert(
|
|||||||
<li>laser pointers</li>
|
<li>laser pointers</li>
|
||||||
<li>lasagna</li>
|
<li>lasagna</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
--fcc-editable-region--
|
||||||
<figure>
|
<figure>
|
||||||
--fcc-editable-region--
|
|
||||||
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
|
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
|
||||||
--fcc-editable-region--
|
|
||||||
</figure>
|
</figure>
|
||||||
|
--fcc-editable-region--
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
@ -88,12 +88,12 @@ assert(extraSpacesRemoved.match(/Is your cat an indoor or outdoor cat\??$/i));
|
|||||||
<section>
|
<section>
|
||||||
<h2>Cat Form</h2>
|
<h2>Cat Form</h2>
|
||||||
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
<form action="https://freecatphotoapp.com/submit-cat-photo">
|
||||||
<fieldset>
|
|
||||||
--fcc-editable-region--
|
--fcc-editable-region--
|
||||||
|
<fieldset>
|
||||||
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
|
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
|
||||||
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
|
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
|
||||||
--fcc-editable-region--
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
--fcc-editable-region--
|
||||||
<input type="text" name="catphotourl" placeholder="cat photo URL" required>
|
<input type="text" name="catphotourl" placeholder="cat photo URL" required>
|
||||||
<button type="submit">Submit</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
Reference in New Issue
Block a user