Had to customize Rawg Api query because it returned back results that had parts of the user search input. Also rawg capitalizes the first letter of every word in the title of game.
ex: "titanic" search would bring back games with "titan" in the name.
-created function to capitalize the first letter of every word with user input
-separated rawg api query into two functions. One that searches results for a keyword in the title. One that searches results for an exact match of user input
Had to customize Rawg Api query because it returned back results that had parts of the user search input. Also rawg capitalizes the first letter of every word in the title of game.
ex: "titanic" search would bring back games with "titan" in the name.
-created function to capitalize the first letter of every word with user input -separated rawg api query into two functions. One that searches results for a keyword in the title. One that searches results for an exact match of user input