Verify that as you press the mouse button down on each phrase, the English translation appears. When you release the mouse button, the French phrase should reappear.

Insert two external script elements that link to the french5.js and engfr.js files.

Insert an event handler into the body element that runs the function setup
Translation() when the page loads.

Close  the file, saving your changes.
Use your editor to open the engfrtxt.js file .
Create a function named setUpTranslation(). The purpose of this function is to place the French phrases into the document and set up the event handlers for the mousedown and mouseup events. Add the following commands:
a.      In Professor Granger’s document the phrases are placed in paragraphs. The phrase number is placed within the first span element inside the paragraph. The phrase text is placed in the second span element inside the paragraph. The phrase text is placed in the second span element within the paragraph. Crate a variable name phrases that contains the object collection of all the paragraph elements in Professor Granger’s document. Use the document.getElements ByTagName() method.
In my Web browser. Verify that as I press the mouse button down on each phrase, the English translation appears. When I release the mouse button, the French phrase should reappear.

Soldiergirl50Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cornelia YoderArtistCommented:
soldiergirl50, it is against the rules of EE to have us do your homework.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Soldiergirl50Author Commented:
I was not asking you to help domy homework. Thanks sir.
0
Michel PlungjanIT ExpertCommented:
SoldierGirl: What you have posted really, really looks like homework
Can you perhaps post what you have written so far and ask specific questions aimed to solve an issue with YOUR code?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

LZ1Commented:
Page 589.
0
Michel PlungjanIT ExpertCommented:
That does not necessarily mean it is homework - it could be self study, however it does mean someone needs to write something before we should help
0
LZ1Commented:
Understood.  Please excuse the posts above, I suppose it's just bitterness from a very long time ago, when I posted something similar and was denied help for it and it was homework.
:)
0
Cornelia YoderArtistCommented:
I don't think referring someone to a book that might help violates the no-homework rule :)

I do think this description is unquestionably a homework assignment.
0
Michel PlungjanIT ExpertCommented:
@yodercm the referral was to show the question originated as an exercise from a book verbatim...
0
Soldiergirl50Author Commented:
I was not asking you to do my homework.
0
Soldiergirl50Author Commented:
Thanks everyone for your help. By the way it was not my homework.
0
Cornelia YoderArtistCommented:
@soldiergirl    I think in all fairness you should ask a moderator to refund your points and close the question without awarding any.  I didn't do anything to deserve points, and you did not get any answer that you wanted.
0
Michel PlungjanIT ExpertCommented:
@Soldiergirl50 - can we help you? We do not write scripts on assignments, but if you provide us with what YOU wrote so far and are in need of any assistance fixing something, let us know
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.