Skip to content

Commit 2145029

Browse files
authored
Merge pull request #679 from simmayor/4-forms-controls-2-focus-blur
4-forms-controls-2-focus-blur - Grammar
2 parents 3c9cfdd + cb416aa commit 2145029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2-ui/4-forms-controls/2-focus-blur/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Your email please: <input type="email" id="input">
4949
</script>
5050
```
5151

52-
Modern HTML allows to do many validations using input attributes: `required`, `pattern` and so on. And sometimes they are just what we need. JavaScript can be used when we want more flexibility. Also we could automatically send the changed value on the server if it's correct.
52+
Modern HTML allows to do many validations using input attributes: `required`, `pattern` and so on. And sometimes they are just what we need. JavaScript can be used when we want more flexibility. Also we could automatically send the changed value to the server if it's correct.
5353

5454

5555
## Methods focus/blur
@@ -100,7 +100,7 @@ One of them is when the visitor clicks somewhere else. But also JavaScript itsel
100100
101101
These features sometimes cause `focus/blur` handlers to misbehave -- to trigger when they are not needed.
102102
103-
The best recipe is to be careful when using these events. If we want to track user-initiated focus-loss, then we should evade causing it by ourselves.
103+
The best recipe is to be careful when using these events. If we want to track user-initiated focus-loss, then we should avoid causing it ourselves.
104104
```
105105
## Allow focusing on any element: tabindex
106106

0 commit comments

Comments
 (0)