diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.english.md index 725a7a61ef..67e3c28e80 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-css-selectors-to-style-elements.english.md @@ -30,7 +30,7 @@ tests: - text: Remove the style attribute from your h2 element. testString: assert(!$("h2").attr("style"), 'Remove the style attribute from your h2 element.'); - text: Create a style element. - testString: assert($("style") && $("style").length > 1, 'Create a style element.'); + testString: assert($("style") && $("style").length >= 1, 'Create a style element.'); - text: Your h2 element should be blue. testString: assert($("h2").css("color") === "rgb(0, 0, 255)", 'Your h2 element should be blue.'); - text: Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace. @@ -90,7 +90,42 @@ 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. flea treatment
  2. +
  3. thunder
  4. +
  5. other cats
  6. +
+
+ +
+ +
+ + +
+ + +
+
```