Question: Resolve Syntax Errors In the previous module, you worked on a database of dogs for The Go Fetch Dog Club. You implemented a feature so

Resolve Syntax Errors
In the previous module, you worked on a database of dogs for The Go Fetch Dog Club. You implemented a feature so that a user can filter the database to show only the entries they wish to see using checkboxes. For example, checking the checkbox for golden retriever will display only entries for dogs that are golden retrievers.
Instructions
Your colleague developed some code to implement this filtering functionality, but it doesnt seem to be working. Find and fix the bugs in the code which are preventing the feature from working as intended.
HINT: There are 4 tests that are returned by the Test Code button below, but 3bugs that need to be found and fixed. Keep in mind that one change can fix multiple issues in the code. Furthermore, the changes to the JavaScript file should be minimal; the main purpose of this exercise is to identify the bugs.
To help find these errors in the JavaScript, use the console available in your browsers developer tools. Errors that appear in JavaScript will be printed in the console and can help you identify what needs to be fixed. In particular, look for JavaScript erors that appear in activity.js.
Where youll find the developer tools depends on your browser. For example, in Chrome you can find developer tools in the View menu:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!