Hey guys,
I'm currently working on a web assignment and I'm getting a bit stuck on the javascript tasks. Ive tried searching the net and have found similar solutions to what I need but I cant get them working properly! I have done 1 out of 3 tasks:
"Include appropriate JavaScript and html in the “Pets” page that displays a message identifying one of the pets as being on special offer when the user moves the mouse over an image relating to the particular “pet”." - DONE!
"Include appropriate JavaScript and html to allow the user to modify the colour of the text in the web page via a mouse click." - completely stuck on
"Include appropriate JavaScript and html so that when the user moves the mouse over a thumbnail image of one of the “pets”, a full size (larger) image of the pet is displayed in an area that previously had appeared to be empty (note that the display of a larger image should not cause other page elements to move). When the user moves the mouse away from the thumbnail image, the larger image should disappear. " - Again I managed a bit but not much.
Was looking for some help really - I understand for the second one, I need the javascript to change the css for the website.
Thanks!
I'm currently working on a web assignment and I'm getting a bit stuck on the javascript tasks. Ive tried searching the net and have found similar solutions to what I need but I cant get them working properly! I have done 1 out of 3 tasks:
"Include appropriate JavaScript and html in the “Pets” page that displays a message identifying one of the pets as being on special offer when the user moves the mouse over an image relating to the particular “pet”." - DONE!
"Include appropriate JavaScript and html to allow the user to modify the colour of the text in the web page via a mouse click." - completely stuck on

"Include appropriate JavaScript and html so that when the user moves the mouse over a thumbnail image of one of the “pets”, a full size (larger) image of the pet is displayed in an area that previously had appeared to be empty (note that the display of a larger image should not cause other page elements to move). When the user moves the mouse away from the thumbnail image, the larger image should disappear. " - Again I managed a bit but not much.
Was looking for some help really - I understand for the second one, I need the javascript to change the css for the website.
Thanks!
Last edited: