ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 195 - Certified JavaScript Developer I discussion

Report
Export

Which code change should be done for the console to log the following when 'Click me!' is clicked'

> Row log

> Table log

A.
Remove lines 13 and 14
Answers
A.
Remove lines 13 and 14
B.
Change line 10 to event.stopPropagation (false) ;
Answers
B.
Change line 10 to event.stopPropagation (false) ;
C.
Change line 14 to elem.addEventListener ('click', printMessage, true);
Answers
C.
Change line 14 to elem.addEventListener ('click', printMessage, true);
D.
Remove line 10
Answers
D.
Remove line 10
Suggested answer: B
asked 23/09/2024
Steven Owens
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first