Fix typos

This commit is contained in:
Chalarangelo
2022-09-04 12:46:38 +03:00
parent 0ad42f60d6
commit 30baabe38f
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ lastUpdated: 2020-10-22T20:24:30+03:00
Sets the value of a CSS rule for the specified HTML element.
- Use `ElementCSSInlineStyle.style` to set the value of the CSS `rule` for the specified element to `val`.
- Use `HTMLElement.style` to set the value of the CSS `rule` for the specified element to `val`.
```js
const setStyle = (el, rule, val) => (el.style[rule] = val);