Skip to content

Commit

Permalink
improve markup in checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
VinnieJ-2k20 committed Sep 14, 2021
1 parent 1d06ada commit 273ec32
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ elements. Each level of nesting, including text, contained inside the element,
requires 2-space offset.

GOOD example:
```
```html
<div>
<p>
some text
</p>
</div>
```
BAD example:
```
<div>
```html
<div>
<p>
some text
</div>
</p>
</div>
```

Expand All @@ -29,7 +29,7 @@ line with 2-space indentation related to tag. Tag’s closing bracket should be
on the same level as opening one.

GOOD example:
```
```html
<input
type="text"
name="surname"
Expand All @@ -38,27 +38,27 @@ GOOD example:
>
```
BAD example:
```
```html
<input type="text" name="surname"
id="surname" required>
```
BAD example:
```
```html
<input type="text"
name="surname"
id="surname"
required>
```
BAD example:
```
```html
<input
type="text"
name="surname"
id="surname"
required>
```
Still BAD example:
```
```html
<input
type="text"
name="surname"
Expand All @@ -71,7 +71,7 @@ valid as JavaScript object keys. It should not contain spaces, “-” or other
special characters.

GOOD example:
```
```html
<input
type="date"
name="dateOfBirth"
Expand All @@ -80,7 +80,7 @@ GOOD example:
>
```
BAD example:
```
```html
<input
type="date"
name="date of birth"
Expand Down

0 comments on commit 273ec32

Please sign in to comment.