From 58ea3cec681c06c814a24dc7d16a977efc16ccd0 Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Fri, 18 Apr 2025 19:21:29 -0400 Subject: [PATCH] Copy right --- html-css-cheatsheet.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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: