How to quickly add jQuery to your web page

Too lazy to type? Copy my code below:

<!doctype html>
<html>
<head>
<title>jQuery</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="jquery-1.10.2.min.js" type="text/javascript"></script>
</head>

<body>
Click me to test
<script>
$('body').click(function(){
alert('jQuery is working');
});

</script>

</body>

</html>

Continue reading “How to quickly add jQuery to your web page”