Demographic data analyzer code errors

Tell us what’s happening:
I have been on this for hours now but kept giving me errors and I got confused.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Edg/85.0.564.44.

Challenge: Demographic Data Analyzer

Link to the challenge: