@VANIMEHTASubmitted over 2 years ago
I just recently learned javascript and thus took a lot of help from net and did this code, but its still not working. someone pls help with this.
I just recently learned javascript and thus took a lot of help from net and did this code, but its still not working. someone pls help with this.
You have not included your script tag in index.html . You can add it before the body tag
How did you get the pseudo class of hover for the main image ?
You would need to create an overlay with opacity 0, so when you hover the opacity becomes 1 and the cyan color would show on the image