Skip to content

Commit

Permalink
Fix code description to match snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhittaker committed Jan 25, 2024
1 parent f397ec8 commit 95db731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/attributes/step/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ input:invalid {
}
```

Then define an input with a minimum value of 7.2, omitting the step attribute, wherein it defaults to 1.
Then define an input with a minimum value of `1.2` and a step value of `2`.

```html
<input id="myNumber" name="myNumber" type="number" step="2" min="1.2" />
Expand Down

0 comments on commit 95db731

Please sign in to comment.