I’m in a web design class and am currently working on a personal portfolio website. I am stuck on making my images which are also links change to another image on mouseover. I’ve been trying so many things and nothing seems to work. Please help!
Removing the space will help the browser know what you want. I think all pseudo selectors like that can’t have a space.
Another thing I noticed, you currently are using DIVs with an onclick as a link. I mean this works I guess but I have never seen it done like this. A more common markup approach would be to do an unordered list. The markup you have now is useless to someone who is blind or uses a screen reader. There is no text on the page to say there is a link.