Skip to content

Commit 228484d

Browse files
fix(curriculum): use "an" with HTML heading tags (freeCodeCamp#57043)
1 parent 51161b6 commit 228484d

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

curriculum/challenges/english/01-responsive-web-design/basic-css/inherit-styles-from-the-body-element.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Remember, you can style your `body` element just like any other HTML element, an
1515

1616
# --instructions--
1717

18-
First, create a `h1` element with the text `Hello World`
18+
First, create an `h1` element with the text `Hello World`.
1919

2020
Then, let's give all elements on your page the color of `green` by adding `color: green;` to your `body` element's style declaration.
2121

curriculum/challenges/english/03-front-end-development-libraries/bootstrap/label-bootstrap-wells.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ dashedName: label-bootstrap-wells
1010

1111
For the sake of clarity, let's label both of our wells with their ids.
1212

13-
Above your left-well, inside its `col-xs-6` `div` element, add a `h4` element with the text `#left-well`.
13+
Above your left-well, inside its `col-xs-6` `div` element, add an `h4` element with the text `#left-well`.
1414

15-
Above your right-well, inside its `col-xs-6` `div` element, add a `h4` element with the text `#right-well`.
15+
Above your right-well, inside its `col-xs-6` `div` element, add an `h4` element with the text `#right-well`.
1616

1717
# --hints--
1818

curriculum/challenges/english/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f51e4e5b24a6e80eccce1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dashedName: step-30
77

88
# --description--
99

10-
Within your `.calories-info` element, create a `div` element. Give that `div` element a `class` attribute set to `left-container`. Within the newly created `div` element, create a `h2` element with the text `Amount per serving`. Give the `h2` element a `class` attribute set to `bold small-text`.
10+
Within your `.calories-info` element, create a `div` element. Give that `div` element a `class` attribute set to `left-container`. Within the newly created `div` element, create an `h2` element with the text `Amount per serving`. Give the `h2` element a `class` attribute set to `bold small-text`.
1111

1212
# --hints--
1313

curriculum/challenges/english/16-the-odin-project/top-build-a-recipe-project/top-build-a-recipe-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You should have a `title` element within the `head` element that contains the te
5151
assert(document.querySelectorAll('HEAD > TITLE')[0].innerText == 'The Odin Recipes');
5252
```
5353

54-
You should have a `h1` element within your `body` element that contains the text
54+
You should have an `h1` element within your `body` element that contains the text
5555
`Creamy Chocolate Fudge`.
5656

5757
```js

curriculum/challenges/english/25-front-end-development/lab-contact-form/66f26c32ec6f90df01a44f60.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ demoType: onClick
1818

1919
3. Within the `form` element, you should have the following elements and input fields:
2020

21-
- A `h2` element with some text.
21+
- An `h2` element with some text.
2222
- A text input field for the name with the `type` set to `text` and `id`, `name`, `required` attributes.
2323
- An email input field with the `type` set to `email` and `id`, `name`, `required` attributes.
2424
- A textarea for the message with `id`, `name`, and the `required` attribute.

curriculum/challenges/english/25-front-end-development/lab-event-hub/66ebd4ae2812430bb883c787.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
1515
**User Stories:**
1616

1717
1. You should have a `header` element.
18-
1. Inside the `header` element, you should have a `h1` element that contains the text `Event Hub`, and a `nav` element.
18+
1. Inside the `header` element, you should have an `h1` element that contains the text `Event Hub`, and a `nav` element.
1919
1. Inside the `nav` element, you should have an unordered list of two items containing links to different sections of the page. The first item should have the text `Upcoming Events`, and the second item should have the text `Past Events`.
2020
1. Each link should be represented by an `a` element with an `href` attribute that links to the corresponding section of the page, `#upcoming-events` and `#past-events` respectively.
2121
1. You should have a `main` element that contains the different sections of the page.
@@ -25,7 +25,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
2525

2626
- An `h2` element with the text `Upcoming Events`.
2727
- Two `article` elements. Each article should represent an event, and it should have :
28-
- A `h3` element for the event title.
28+
- An `h3` element for the event title.
2929
- A `p` element for the event description. You can add a date at the bottom if you like.
3030

3131
1. The second `section` element should have an `id` attribute with the value `past-events`.
@@ -56,7 +56,7 @@ Your `header` element should come after the opening `body` tag.
5656
assert.equal(document.querySelector("body")?.firstElementChild?.tagName, "HEADER");
5757
```
5858
59-
Inside the `header` element, you should have a `h1` element that contains the text `Event Hub`.
59+
Inside the `header` element, you should have an `h1` element that contains the text `Event Hub`.
6060
6161
```js
6262
const h1Element = document.querySelector('header h1');

curriculum/challenges/english/25-front-end-development/workshop-nutritional-label/615f51e4e5b24a6e80eccce1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dashedName: step-30
77

88
# --description--
99

10-
Within your `.calories-info` element, create a `div` element. Give that `div` element a `class` attribute set to `left-container`. Within the newly created `div` element, create a `h2` element with the text `Amount per serving`. Give the `h2` element a `class` attribute set to `bold small-text`.
10+
Within your `.calories-info` element, create a `div` element. Give that `div` element a `class` attribute set to `left-container`. Within the newly created `div` element, create an `h2` element with the text `Amount per serving`. Give the `h2` element a `class` attribute set to `bold small-text`.
1111

1212
# --hints--
1313

0 commit comments

Comments
 (0)