Select and Count Feedback Quiz

Interactive Quiz ⋅ 10 Questions
By Martin Breuss

In this quiz, you’ll revisit Select and Count Feedback. You’ll compare labels exactly, decide which lines belong to an if block, loop over lists with for...of, and count and keep the messages that match a rule.

Most questions show a short piece of JavaScript and ask what it does. Others ask you to complete a loop or explain why a message is in or out.

The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A developer checks a numbered message card beside a sorting machine whose IF gate drops cards into reject and keep bins, with APPROVED, FOR...OF, COUNT and KEEP panels.

Course

Select and Count Feedback

Write JavaScript that answers a reporting question you can check: pick out the feedback messages that match a topic and an approved label, count them, and keep the original messages behind the number.

basics js