@Paul_Harris
Unfortunately your code is no longer available, so I can’t see
what you had made. In the guidelines, think Chris gave us a hint
with “event” and “target” and suggested us to use Event objects as is explained in the
course, or at least that’s what I used (haven’t checked the
solved code).
I have a question about the adding an onclick handler in
https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Image_gallery
section
https://pastebin.mozilla.org/9069371 this
is what I have so far
I’m confused as to how I get the “src” without using
newImage as the event object won’t contain the information either
if i set the event object to bbb it’s still the same thing as
using newImage
@Paul_Harris
Unfortunately your code is no longer available, so I can’t see what
you had made. In the guidelines, think Chris gave us a hint with
“event” and “target” and suggested us to use Event objects as is explained in the
course, or at least that’s what I used (haven’t checked the solved
code).