All right so in the last class we went ahead and downloaded the query file.
Now we're going to create our basically kind of our structure of our Web site just to keep this real
simple here Umunna go to my desktop I'm going to create a new folder in your desktop image call as
Jay queery just for now.
It's me Magique Rakshas clingy Reclast.
I'm confused.
You can name it whenever you want.
All right so within there I have nothing currently.
I'm going to create a new folder called J.
Yes it's pretty common to have up your javascript files in a folder something like Gigue queer or excuse
me Jay ass or javascript's something that I prefer just use j as an effort to have more than one.
Maybe if I had a custom scripts file for javascript extras out centage a query or maybe other things
that I needed to add to it there were already pre-written.
There are a lot of extra geek word classes a chicken and egg laying around.
We're going to get into that at the moment.
Right now we just have a file annotated Jake Cuore finally downloaded the version 3.0 3.1 and handwriting
dropped it right to my folder here.
Now again just for simplicity.
But I like to do is just rename and get rid of this big long name just call it just a query.
So my file structure is J.A.G. class folder here and within here I have all my working files in my JSM
and a half that's again it's kind of to break this up like this if I had multiple files and here I can
all see a SS file folder with all my siestas files within it.
I just make it a lot easier and a lot cleaner.
This is way a lot of developers do it so may be easy to see or pass along to other people or if you
were to pick it up you would be used to seeing this kind of structure here so.
All right.
So within my reach to my program again you can use any of those ones that I recommend or any other ones.
I will be using Dreamweaver here.
Actually create a basic each team a document.
I'm not sure how to link to your javascript file.
So Dreamweaver shows both split design and code of irrate here Miss wished just a code of use.
You can see this.
So just like with CSSA what we do is we add the javascript linked to it within the head of or diaconate
here.
Someone I just kind of mouseover a little bit and before the head closes here I'm going to add a script
tag that's going to pull in my in javascript file say script Sollars equals and remember the path to
my file.
We created a folder called J us and it within.
I recall that just J.A.G. we renamed it J.
Crew.
But just makes you get a full extension on there and it close outs and Dreamweaver went ahead and closed
out that script right there for me that's all you need to do.
This is not like each team Ellsworth's nothing that's going to be in the body of it and just need to
close that script tag out right there.
And I'm going to save my file when I call this index and I'm going to go back to my desk type and within
the Jake class folder I don't have it right here.
I don't have saints right now and to close it out when I open up my browser you can use whichever browser
you want to use here.
Amitie an index file just drag it right to my browser so I can pull it up.
I want to make sure that this is linked correctly so what I'd like to do here is within the.
Again you're not really seeing anything going on here so don't have anything working right now we've
just linked to the file.
You can go to View developer news source and you can see that this is the code that makes up my page
so far.
I have this J as.
Jake Query.
And if I click on match you can see the pulls of all this crazy crazy crazy code.
This is just a query.
Nothing in here that you need to be understanding or seen in here that looks in any way familiar.
Hopefully just because this is all pre-written nothing you need to do so as long as I am seeing that.
I know that this is linked properly so in the next couple of classes when we start linking to it to
make a lot more sense and world know it's working.
You're not seeing this.
Make sure that your file structure is set up properly.
Get out my index file here and within the japes folder I've got J.A.G. dutchie.
Yes a lot of times it's either a path issue you're not seen at code or it's a naming issue.
Make sure it's spelled correctly both the folder and the file as well as where your index file is and
compare to where everything else is.