From: Zachary Vance Date: Fri, 18 Apr 2025 23:21:29 +0000 (-0400) Subject: Copy right X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=58ea3cec681c06c814a24dc7d16a977efc16ccd0;p=za3k.git Copy right --- diff --git a/html-css-cheatsheet.html b/html-css-cheatsheet.html index 9aae61e..478c040 100644 --- a/html-css-cheatsheet.html +++ b/html-css-cheatsheet.html @@ -23,6 +23,10 @@ .cheatsheet div.demo~pre { margin-top: 0; } + .cheatsheet pre { + white-space: pre-wrap; + overflow-wrap: break-word; + } .cheatsheet > div { border: 1px solid lightgray; border-radius: 20px; @@ -185,8 +189,7 @@ </head> <p>Hello World</p> <script>$("p").css("color", "yellow");</script> -<script src="https://ajax.googleapis.com/ajax/libs - /jquery/3.7.1/jquery.min.js"></script> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> JS is executed immediately. If your JS is included at the top of a file, delay it until document load: