From 84b65271170f85884d2afaba16af06c3203521d1 Mon Sep 17 00:00:00 2001 From: Zack Reneau-Wedeen Date: Sun, 7 Oct 2012 02:14:23 -0400 Subject: [PATCH] Update index.html --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 6faebaf..ed502ea 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ Learing javascript - + @@ -161,7 +161,7 @@

I wanna do it myself!

I'd hope so. Unfortunately, jQuery doesn't come built-in with the browser like javascript does. If you look at this page's source, you'll notice this in the head:

- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

All you need to do is copy that into your own pages, and you have jQuery! To write javascript files (you don't want to be typing into the console all the time), make that scripts folder in your project that we always talk about and never use, and create a main.js file in there. @@ -177,7 +177,7 @@

A working example

<html>
<head>
<!-- include jQuery -- >
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!-- THEN include your own script -->
<script src="scripts/main.js"></script>
@@ -233,4 +233,4 @@

A working example

- \ No newline at end of file +