All right so taking a look at some different things you can do with a Querrey.
We've removed copy we can change copy slip copy over and moved and done things like that you're on when
you want to insert copy of a different way to do it and then maybe we had looked at in a previous video.
So here's a different way to do it.
So it got me in my body area here I've got an ID container and I've got three paragraphs here.
Number one two and three just you can see them a little bit easier.
We're going to do all of this through just the J.A.G. appear so in my typical script and then starting
with document ready function we're going to go in and first printing.
Well it's quite critical of buttons for us because we want to insert the copy the one to do that through
a button as opposed to just letting the query just do what we actually want to have a bit of a click
event.
So I'll say hey you trust equals.
Always use the word counts and you always do.
And I give it an ID of the pen
Nannes couldn't call and close that out.
I'm Skip soup's
so call I want a pen and we can do is pray on it.
So let's say draft equals and pound sign.
I don't see ID equals
prepared which is to use I think there are any code that out
the.
So if you got those two buttons then they're going to do is when I click on them they're going to target
the area within the body document there.
So when you start writing this out.
We started this out as we always do with the dollar sign and we'll say give them quotes they're going
to target the you pad.
All right.
It's nothing too crazy going on here.
Just hard to me a pen right there.
The idea here and this is going to be an advantage click events.
So when you click on that's what's going to happen when you create a function within that function.
So close that out.
So within that function there we will do the target the first paragraph and we'll say dollar sign
pee first.
So decken want to make sure we know our filters and our CSI is how we work all that summer and say the
first paragraph or target that one angle or pendant with just eyes just
dependence and copy.
So go ahead and close that out with the semi-colon and get that closed out properly cool.
So that's looking good.
So let's go and just copy that.
We're going to do kind of a similar thing for the weekend and instead of that rights and you can't change
the name of that sticker to do it click function.
It's going to change the first paragraph.
Again we'll just say Prepon as opposed to append
you can add some copy.
It's like a slide here and there.
So comfy.
That doesn't make sense.
So what should happen is I should pen and present this copy right here by using those two buttons that
I have down in my body.
So let's go ahead and save that I've just created a new document called insert.
It's going to take a look how that works.
Insearch that's a job that I document here and if I click on up and again get one two and three.
See what's going on it's apparent
this over here real quick.
This is actually supposed to be spelled Pujari P E and D as opposed to the two Ps change it everywhere
here.
Real quick if you don't mind berrin with me so I'm sure that's done right.
Can remember how that was spelled out.
So that is should be correct.
Now the append was going to go to the end of the first paragraph is going to come to the end.
Whereas Prepon should be adding to the beginning of the first paragraph right here.
And again the same document combate to cure it.
Refreshing.
If I had a pound you can see I just appended some copy.
If I have pre-canned can see I just pretend it's some copy right before the one right there.
So as you can see because you hopefully understand everything we've done up to this point and the other
videos that we've taken a look at the filters or we could append or prepared this two different paragraphs
within our body and can do all sorts of different things using these CSSA selectors here.
So all for that over that helped out in some of your future projects.
There's a lot of applications for just finding the right thing for you.