Learn Courses My Dashboard

Trouble initialising a variable to data found in a database

For a bit of context, this is my code below:

I’m trying to make the variable home_main_course equal a document called “Main” in collection “Monday_Menu”. “Monday_Menu” is a subcollection within a collection named “Menu”.This would be where I implement it. Could someone explain why these two errors pop up? Thank you very much!