Stuck with the meal maker

Hi,

I am stuck with this code… https://gist.github.com/6c525831d3d34175cd3331a528c7111f. This is the meal maker project. The code is not running somehow. I tried to follow the video.

Could use any input.

Thanks
Trishna

How do you access a property that belongs to an object? It works the same way for calling a method that belongs to an object. For example, when we want to print something to the console we use the log() method, but we don’t just type log("Hello, World!"). If we tried we would get the same error your code produces. We have to tell the computer which object the log() method belongs to.

2 Likes

Hi, Thanks for taking the time. Got it

1 Like