From 3ec6ff93b0b33c1a168413f40a75b6ba2ca37aec Mon Sep 17 00:00:00 2001 From: Andrej Rasevic <andrej@rasevicengineering.com> Date: Tue, 29 Jun 2021 08:47:20 -0400 Subject: [PATCH] fixing typo --- Exercises/Exercise5/Exercise5Description.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exercises/Exercise5/Exercise5Description.md b/Exercises/Exercise5/Exercise5Description.md index 64bc2eb..05fc8cf 100644 --- a/Exercises/Exercise5/Exercise5Description.md +++ b/Exercises/Exercise5/Exercise5Description.md @@ -5,7 +5,7 @@ ## Specifications/Requirements We have provided you with a complete React application bootstrapped with the react cli tool. To complete this project you need to create 2 components: List and Search. -The Search component will display a text input box that will allow the user to enter a city or state. As the user enters data the application will display a live list of results that match the current text in the input field. We have provided you with the fetch request inside of the componentDidMount lifecycle method in `Search.js`. Do not change or add any code to this method. You may, however, had whatever else you need to this component to complete the requirements. You are responsible for taking the input from this search request to check against the results from the fetch request. +The Search component will display a text input box that will allow the user to enter a city or state. As the user enters data the application will display a live list of results that match the current text in the input field. We have provided you with the fetch request inside of the componentDidMount lifecycle method in `Search.js`. Do not change or add any code to this method. You may, however, add whatever else you need to this component to complete the requirements. You are responsible for taking the input from this search request to check against the results from the fetch request. Hint: you will need to define a handler to respond to an onChange event triggered inside of the input box. Additionally, once you retrieve it's value you will want to check to see if it matches the results from the fetch request using a regular expression. Here is a reference to regular expressions in javascript as well as an online tester: https://www.w3schools.com/jsref/jsref_obj_regexp.asp -- GitLab