diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-016.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-016.md index da55d169e4..d12b0b12b2 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-016.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-016.md @@ -14,6 +14,7 @@ Give your `#gallery` selector a `padding` property set to `0 4px`. Your `#gallery` selector should have a `padding` property set to `0 4px`. ```js +// @nhcarrigan The following steps do not have this assert.equal(new __helpers.CSSHelp(document).getStyle('#gallery')?.paddingTop, '0px'); assert.equal(new __helpers.CSSHelp(document).getStyle('#gallery')?.paddingBottom, '0px'); assert.equal(new __helpers.CSSHelp(document).getStyle('#gallery')?.paddingLeft, '4px'); diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-005.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-005.md index 1093b0b1db..b2711e3d55 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-005.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-005.md @@ -56,7 +56,7 @@ assert(document.querySelector('p')?.className === 'hero-subtitle'); Your `p` element should have the text set to `Our efforts to restructure our curriculum with a more project-based focus`. ```js -assert.equal(document.querySelector('p')?.textContent, 'Our efforts to restructure our curriculum with a more project-based focus'); +assert.equal(document.querySelector('p')?.textContent?.trim(), 'Our efforts to restructure our curriculum with a more project-based focus'); ``` # --seed-- diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-061.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-061.md index a7b4745b19..cf0466c57a 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-061.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-061.md @@ -14,6 +14,7 @@ To give the `hr` a color, you need to adjust the `border` property. Give the `hr Your `hr` should have a `border` property set to `1px solid rgba(120, 120, 120, 0.6)`. ```js +// @nhcarrigan The following steps do not have this assert.equal(new __helpers.CSSHelp(document).getStyle('hr')?.borderWidth, '1px'); assert.equal(new __helpers.CSSHelp(document).getStyle('hr')?.borderStyle, 'solid'); assert.equal(new __helpers.CSSHelp(document).getStyle('hr')?.borderColor, 'rgba(120, 120, 120, 0.6)'); diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-080.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-080.md index 45902803f1..4909d09487 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-080.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-grid-by-building-a-magazine/step-080.md @@ -16,7 +16,7 @@ Congratulations! Your magazine is now complete. You should have a new `@media` query for `only screen and (max-width: 420px)`. This should be the last query in the `@media` query list. ```js -assert(new __helpers.CSSHelp(document).getCSSRules('media')?.[3]?.media?.mediaText === 'only screen and (max-width: 420px)'); +assert.equal(new __helpers.CSSHelp(document).getCSSRules('media')?.[3]?.media?.mediaText, 'only screen and (max-width: 420px)'); ``` Your new `@media` query should have a `.hero-title` selector. diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-029.md b/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-029.md index daf37e28f9..8566ef9cca 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-029.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-029.md @@ -14,6 +14,7 @@ These dots are just a little too square. Give the `black-dot` class a `border-ra Your `.black-dot` selector should have a `border-radius` property set to `50%`. ```js +// @nhcarrigan This is not in the following steps assert.equal(new __helpers.CSSHelp(document).getStyle('.black-dot')?.borderTopLeftRadius, '50%'); assert.equal(new __helpers.CSSHelp(document).getStyle('.black-dot')?.borderTopRightRadius, '50%'); assert.equal(new __helpers.CSSHelp(document).getStyle('.black-dot')?.borderBottomRightRadius, '50%'); diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-089.md b/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-089.md index 1aa6cf5e9f..4d03562198 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-089.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-089.md @@ -385,7 +385,7 @@ body { # --solutions-- ```html -// TODO: Add solution once step 070 is fixed! +// TODO: Add solution once steps 029 and 070 is fixed! ``` ```css diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-typography-by-building-a-nutrition-label/step-004.md b/curriculum/challenges/english/01-responsive-web-design/learn-typography-by-building-a-nutrition-label/step-004.md index eb37a8b485..ebed308079 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-typography-by-building-a-nutrition-label/step-004.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-typography-by-building-a-nutrition-label/step-004.md @@ -56,6 +56,7 @@ assert(links.find(link => link?.getAttribute('href') === 'https://fonts.googleap
8 servings per container
+Serving size 2/3 cup (55g)