Embedded HTML5 Microdata Statement 90
And this is my JS code and live preview . Only points to highlight
in my code comparing to the solved one by chris are:
I used addEventListener instead of using the event
handler as property. Being able to remove the listeners was what
made me decide for it (even if it didn’t matter at this early stage
).
Because of the previous point, I didn’t code the
displayImage function specified in the guidelines. It
was going to be only one line in there, and I was already using
event function handlers. Too many functions for something that
simple. But, I was able to see that setting up
displayImage allow us to used it in a wide different
set of events in case we want to improve our gallery; i.e. dragging
a file to the page, display such picture and show another thumbnail
at the bottom.
I loved this assessment! it was challenging. I’m going to read
again the “Introduction to events” section as well as the external
links in there. I felt like it was a stepped curve of learning.
2018-03-08T06:55:57Z
2018-03-08T06:07:54Z
#9
#8
And this is my JS code and live preview . Only points to highlight
in my code comparing to the solved one by chris are:
I used addEventListener instead of using the event
handler as property. Being able to remove the listeners was what
made me decide for it (even if it didn’t matter at this early
stage ).
Because of the previous point, I didn’t code the
displayImage function specified in the guidelines. It
was going to be only one line in there, and I was already using
event function handlers. Too many functions for something that
simple. But, I was able to see that setting up
displayImage allow us to used it in a wide different
set of events in case we want to improve our gallery; i.e. dragging
a file to the page, display such picture and show another thumbnail
at the bottom.
I loved this assessment! it was challenging. I’m going to read
again the “Introduction to events” section as well as the
external links in there. I felt like it was a stepped curve of
learning.
And this is my JS code and live preview . Only points to highlight
in my code comparing to the solved one by chris are:
I used addEventListener instead of using the event
handler as property. Being able to remove the listeners was what
made me decide for it (even if it didn’t matter at this early stage
).
Because of the previous point, I didn’t code the
displayImage function specified in the guidelines. It
was going to be only one line in there, and I was already using
event function handlers. Too many functions for something that
simple. But, I was able to see that setting up
displayImage allow us to used it in a wide different
set of events in case we want to improve our gallery; i.e. dragging
a file to the page, display such picture and show another thumbnail
at the bottom.
I loved this assessment! it was challenging. I’m going to read
again the “Introduction to events” section as well as the external
links in there. I felt like it was a stepped curve of learning.
@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).
"Image gallery" assessment
Embedded HTML5 Microdata Statement 77
Embedded HTML5 Microdata Statement 78
@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).
Embedded HTML5 Microdata Statement 79
Embedded HTML5 Microdata Statement 80
Embedded HTML5 Microdata Statement 81
2018-03-08T06:07:54Z
Embedded HTML5 Microdata Statement 93
Embedded HTML5 Microdata Statement 94
Embedded HTML5 Microdata Statement 82
"Image gallery" assessment
Embedded HTML5 Microdata Statement 83
#8
Embedded HTML5 Microdata Statement 84
Embedded HTML5 Microdata Statement 97
Embedded HTML5 Microdata Statement 98
Embedded HTML5 Microdata Statement 99
Embedded HTML5 Microdata Statement 98
Embedded HTML5 Microdata Statement 85
Embedded HTML5 Microdata Statement 86
Embedded HTML5 Microdata Statement 99
Embedded HTML5 Microdata Statement 100
Embedded HTML5 Microdata Statement 89
And this is my JS code and live preview . Only points to highlight
in my code comparing to the solved one by chris are:
I used addEventListener instead of using the event
handler as property. Being able to remove the listeners was what
made me decide for it (even if it didn’t matter at this early
stage ).
Because of the previous point, I didn’t code the
displayImage function specified in the guidelines. It
was going to be only one line in there, and I was already using
event function handlers. Too many functions for something that
simple. But, I was able to see that setting up
displayImage allow us to used it in a wide different
set of events in case we want to improve our gallery; i.e. dragging
a file to the page, display such picture and show another thumbnail
at the bottom.
I loved this assessment! it was challenging. I’m going to read
again the “Introduction to events” section as well as the
external links in there. I felt like it was a stepped curve of
learning.
Embedded HTML5 Microdata Statement 91
Embedded HTML5 Microdata Statement 90
Embedded HTML5 Microdata Statement 92
Embedded HTML5 Microdata Statement 91
Embedded HTML5 Microdata Statement 92
Embedded HTML5 Microdata Statement 93
2018-03-08T06:55:57Z
Embedded HTML5 Microdata Statement 94
Embedded HTML5 Microdata Statement 95
Embedded HTML5 Microdata Statement 95
Embedded HTML5 Microdata Statement 96
#9
Embedded HTML5 Microdata Statement 97
Embedded HTML5 Microdata Statement 96