DEV Community

DevTom
DevTom

Posted on

JavaScript question

If you are seeing this tweet and you have knowledge of JavaScript pls help me out. I want to access the img inside that div but the div below that has call of over-lay activate when I hover on the container div. But I want to access the img when I click the container div. So I can make use of the IMG SRC for the modal I am trying to create.

Top comments (3)

Collapse
 
vikirobles profile image
Vicky Vasilopoulou

Is a bit difficult to understand the question can you post your code please?

Collapse
 
devtom profile image
DevTom

My PC is currently dead but you can check the question on my Twitter page. I have dropped the link to the question

Collapse
 
devtom profile image
DevTom