Meal Maker

Hey Codecademy Forum,
I want to bring this question up again, because is there any answer ? For what reason we wrote a code with getter and setter, when this part of code hasn’t any use?
Thank you in advance :slight_smile:
Best regards

So I changed it to

courseName === 'appetizers'

Fixed some other curly brackets and the code worked using the conditionals. I also commented out the code the walkthrough gave for reference.
Here is the new completed code:

Also for reference just in case anyone else sees this in the future:

1 Like