You have to type lowercase ‘g’ instead of uppercase ‘G’ in getElementById.
let billAmt = document.GetElementById("billInput").value;
let servQual = document.GetElementbyId("qualitySelector").value;
let numPeople = document.GetElementById("totalPeople").value;
I found some typos and misconceptions in your code. I fixed it and commented here: https://codepen.io/michelmarechal/pen/ZgzZWa?editors=0010
You have a lot typos with
document.getElementById. Some cases the ‘g’ is capitalized some cases the ‘b’ isn’t capitalized.
servQual = 0 should be
servQual == 0 since you are comparing their values, not assigning it.
By the way, something you can do to figure out what to fix is to bring up the console, it’ll tell you what errors are happening so you can fix your code.
Thank you all very much for your help!