Answers: Advanced - module 4 - assessment issue

Hi Victoria,

The issue I am seeing is with the config > restaurants.json file. Your code for the facets and filter link should look like this:

"Facets": {
      "title": "", // The title to display above the facets
      "expand": false, // Allow the user to expand and collapse the facets
      "showMore": true, // Display a link to see more facet options within a facet
      "searchOnChange": true, // Will automatically run a search as facets are selected or unselected. Set to false to only trigger updates with an Apply button. 
      "showMoreLimit": 3,
      "fields": {
        "c_restaurantFeatures": {
            "searchable": true,
            "searchLabelText": "Search for our features",
            "placeholderText": "Search"       
        }
      }
      // Additional options are available in the documentation
    },
    "FilterLink": {
      "changeFiltersText": "filters", // Text that displays by default
      "resetFiltersText": "reset filters", // Text when filters are applied
      "clearSearchText": "clear search" // Text when there are no results, conducts an empty search
    },

The syntax requirement is pretty specific and your file appears to have a small capitalization issue where “showMoreLimit” is written as “showMorelimit”.

Let me know if you continue to run into issues after updating this!