Neco 2025 Computer Studies Question 24
Practice objective / multiple choice question 24 from the 2025 Neco Computer Studies examination.
The following JavaScript code attaches click handlers to three list items: ```html ``` ```js var items = document.querySelectorAll('#menu li'); for (var i = 1; i <= items.length; i++) { items[i-1].addEventListener('click', function() { alert('You clicked item ' + i); }); } ``` When the user clicks on **Item 3**, what message is displayed?
Answer Options
About This Question
This is Neco 2025 Computer Studies Question 24. It is one of the objective questions from the 2025 Neco Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.