juandesouza:
Hi everyone! I’m stuck in the Image Gallery assessment. Can
anyone show me the code? It’s really annoying that they do not
show the code on the page!
You can find the finished code here:
GitHub
mdn/learning-area
learning-area - Github repo for the MDN Learning Area.
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
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