Font Size of search bar after unfocused

I have been working on a search bar here that I’ve played around with the text sizes and such. However, I have noticed that the font size of the text typed in shrunk down in size after being typed in the size that I prefered. I’m not exactly sure how to have the text stay… Read More Font Size of search bar after unfocused

Enter the selected item in the search bar in React.js

I have the following code: function App() { const [countries,setCountries]= useState([]); const [search, setSearch] = useState(”); //Take data from API with useEffect, async/await and try/catch useEffect(() => { const fetchData = async () => { try { const response = await axios.get(‘https://restcountries.com/v2/all’); setCountries(response.data); } catch (error) { console.error(error); } } fetchData(); }, []); const filteredCountries… Read More Enter the selected item in the search bar in React.js