Fixed a typo

This commit is contained in:
Fardin 2022-06-21 13:15:12 +04:30 committed by GitHub
parent 7964b11b8f
commit d74b37c803
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ But there's a pitfall. If we have a script after the style, then that script mus
```html run ```html run
<link type="text/css" rel="stylesheet" href="style.css"> <link type="text/css" rel="stylesheet" href="style.css">
<script> <script>
// the script doesn't not execute until the stylesheet is loaded // the script doesn't execute until the stylesheet is loaded
alert(getComputedStyle(document.body).marginTop); alert(getComputedStyle(document.body).marginTop);
</script> </script>
``` ```