Try It Editor
Tip: Press
Ctrl/⌘ + Enter
to Run
▶ Run
Reset
Copy
Download
Code
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Include jQuery</title> <!-- CDN --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> </head> <body> <p>If you see this, jQuery is loaded.</p> <script> $(function(){ $("p").css("color", "green"); }); </script> </body> </html>
Output