elements
We will be styling our 2 crucial elements.
We will set
and
to NOT display initially.
This is because when the website initially loads, we will be fetching our data from Google Sheets and won’t have anything to display.
We also won’t know till the fetch is complete whether to show the error or not.
#allElems { display: none; } #errorMessage { display: none; }
The FULL Javascript Code
We are going to be adding A LOT more to the fetch code. The final code in the