Cara termudah dan paling cepat adalah memuat jQuery melalui CDN (Content Delivery Network) resmi seperti Google CDN, cdnjs, atau Code jQuery.
jQuery Get Started
Contoh Kode jQuery jQuery Get Started:
<!DOCTYPE html>
<html>
<head>
<!-- Memuat jQuery via CDN resmi -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
</head>
<body style="font-family: monospace; padding: 20px; background: #0f172a; color: #38bdf8;">
<p><script src="https://code.jquery.com/jquery-3.7.1.min.js"></script></p>
<p style="color:#4ade80;">// jQuery siap digunakan di seluruh halaman website!</p>
</body>
</html>
Uji interaksi jQuery di atas dan amati animasi efek DOM secara langsung.