mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-04 08:05:48 -05:00
fix(curriculum): reword Cat Photo App step 1 (#57061)
This commit is contained in:
@@ -8,22 +8,9 @@ demoType: onLoad
|
||||
|
||||
# --description--
|
||||
|
||||
HTML elements have an opening and closing tag with content in between.
|
||||
HTML elements have opening tags like `<h1>` and closing tags like `</h1>`. The text an element will display goes between its opening and closing tags.
|
||||
|
||||
Here is the basic syntax:
|
||||
|
||||
```html
|
||||
<openingTag>content</closingTag>
|
||||
```
|
||||
|
||||
The first element you will learn about is the `h1` element. The `h1` element is a heading element and is used for the main heading of a webpage.
|
||||
|
||||
```html
|
||||
<h1>This is a main heading</h1>
|
||||
```
|
||||
|
||||
Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch
|
||||
the change in the browser preview.
|
||||
Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch the change in the browser preview.
|
||||
|
||||
When you are done, press the "Check Your Code" button to see if it's correct.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user