diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.english.md index 476c4650a6..4f83b49ae1 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.english.md @@ -64,7 +64,19 @@ tests: ## Solution
-```js -// solution required +```html +

CatPhotoApp

+
+

Click here to view more cat photos.

+ + A cute orange cat lying on its back. + + +
``` +
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.english.md index 2143daee70..49884d2172 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-an-ordered-list.english.md @@ -42,6 +42,10 @@ tests: testString: assert(code.match(/<\/ol>/g) && code.match(/<\/ol>/g).length === code.match(/
    /g).length, 'Make sure your ol element has a closing tag.'); - text: Make sure your li element has a closing tag. testString: assert(code.match(/<\/li>/g) && code.match(/
  1. /g) && code.match(/<\/li>/g).length === code.match(/
  2. /g).length, 'Make sure your li element has a closing tag.'); + - text: The li elements in your unordered list should not be empty. + testString: $('ul li').each((i, val) => assert(val.textContent.replace(/\s/g, ''), 'Your li elements in your unordered list should not be empty.')); + - text: The li elements in your ordered list should not be empty. + testString: $('ol li').each((i, val) => assert(!!val.textContent.replace(/\s/g, ''), 'Your li elements in your ordered list should not be empty.')); ``` @@ -79,7 +83,25 @@ tests: ## Solution
    -```js -// solution required +```html +

    CatPhotoApp

    +
    +

    Click here to view more cat photos.

    + + A cute orange cat lying on its back. + +

    Things cats love:

    +
      +
    • cat nip
    • +
    • laser pointers
    • +
    • lasagna
    • +
    +

    Top 3 things cats hate:

    +
      +
    1. hate 1
    2. +
    3. hate 2
    4. +
    5. hate 3
    6. +
    +
    ```