fix(curriculum): more fixes for rwd beta (#45913)
* wrong word in step 58 cat-photo-app * typo in step 63 cat photo app * typo in cat photo app step 65 * extra word in step 64 cat photo app * typos step 62 cat photo app * The p elements weren't respectablepull/45927/head
parent
898d6eafa3
commit
d2d95dcfc3
|
@ -7,7 +7,7 @@ dashedName: step-33
|
|||
|
||||
# --description--
|
||||
|
||||
The flavors and prices are currently stacked on top of each other and centered with their respectable `p` elements. It would be nice if the flavor was on the left and the price was on the right.
|
||||
The flavors and prices are currently stacked on top of each other and centered with their respective `p` elements. It would be nice if the flavor was on the left and the price was on the right.
|
||||
|
||||
Add the class name `flavor` to the `French Vanilla` `p` element.
|
||||
|
||||
|
|
|
@ -11,13 +11,13 @@ Nest a `p` element with the text `No Copyright - freeCodeCamp.org` within the `f
|
|||
|
||||
# --hints--
|
||||
|
||||
You have either deleted the `footer` element or it is missing an opening tag or closing tag."
|
||||
You have either deleted the `footer` element or it is missing an opening tag or closing tag.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('footer') && code.match(/<\/footer>/));
|
||||
```
|
||||
|
||||
Your `footer` element should have a `p` element. Make sure to added an opening tag and closing tag for the `p` element.
|
||||
Your `footer` element should have a `p` element. Make sure to add an opening tag and closing tag for the `p` element.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('footer > p'));
|
||||
|
|
|
@ -11,7 +11,7 @@ Make the text `freeCodeCamp.org` into a link by enclosing it in an anchor (`a`)
|
|||
|
||||
# --hints--
|
||||
|
||||
Your anchor (`a`) element should be nested within the `footer` element. Make sure to added an opening tag and closing tag for the anchor (`a`) element.
|
||||
Your anchor (`a`) element should be nested within the `footer` element. Make sure to add an opening tag and closing tag for the anchor (`a`) element.
|
||||
|
||||
```js
|
||||
assert($('footer > p > a').length);
|
||||
|
|
|
@ -31,7 +31,7 @@ Your `head` element should have a closing tag. Closing tags have a `/` just afte
|
|||
assert(code.match(/\<\/head\>/));
|
||||
```
|
||||
|
||||
Your `head` element should be above the opening `body` element tag. You have it put it somewhere else.
|
||||
Your `head` element should be above the opening `body` element tag. You have put it somewhere else.
|
||||
|
||||
```js
|
||||
const noSpaces = code.replace(/\s/g, '');
|
||||
|
|
|
@ -19,7 +19,7 @@ You have either deleted the `head` element or it is missing an opening tag or cl
|
|||
assert(code.match(/\<head\>/) && code.match(/\<\/head\>/));
|
||||
```
|
||||
|
||||
Your `title` element should be nested in the `head` element. Make sure to added an opening tag and closing tag for the `title` element.
|
||||
Your `title` element should be nested in the `head` element. Make sure to add an opening tag and closing tag for the `title` element.
|
||||
|
||||
```js
|
||||
const noSpaces = code.replace(/\s/g, '');
|
||||
|
|
|
@ -32,7 +32,7 @@ assert(
|
|||
);
|
||||
```
|
||||
|
||||
Your new checkbox should be after the first one. You have them in the wrong order.
|
||||
Your new checkbox should be after the second one. You have them in the wrong order.
|
||||
|
||||
```js
|
||||
const checkboxes = [...$('input[type="checkbox"]')].map(
|
||||
|
|
Loading…
Reference in New Issue