diff --git a/06 - Type Ahead/index-FINISHED.html b/06 - Type Ahead/index-FINISHED.html index 53c36248b0..368181c148 100644 --- a/06 - Type Ahead/index-FINISHED.html +++ b/06 - Type Ahead/index-FINISHED.html @@ -38,8 +38,8 @@ const matchArray = findMatches(this.value, cities); const html = matchArray.map(place => { const regex = new RegExp(this.value, 'gi'); - const cityName = place.city.replace(regex, `${this.value}`); - const stateName = place.state.replace(regex, `${this.value}`); + const cityName = place.city.replace(regex, `${this.value}`); + const stateName = place.state.replace(regex, `${this.value}`); return `
  • ${cityName}, ${stateName} diff --git a/06 - Type Ahead/style.css b/06 - Type Ahead/style.css index 155164bae9..e98e6d3bc6 100644 --- a/06 - Type Ahead/style.css +++ b/06 - Type Ahead/style.css @@ -73,7 +73,7 @@ font-size: 15px; } - .hl { + mark { background:#ffc600; }