Retirement tax questions

I just took that quiz too.  It doesn’t ask if you had earned income from working.  It just assumes you did because you made a IRA contribution and you need earned income to make a contribution.