What is wrong? it can't find a property

const = business {
imageSrc: ‘https://s3.amazonaws.com/codecademy-content/programs/react/ravenous/pizza.jpg’,
name: ‘MarginOtto Pizzeria’,
address: ‘1010 Paddington Way’,
city : ‘Flavortown’,
state: ‘NY’,
zipCode: ‘10101’,
category: ‘Italian’,
rating: 4.5,
reviewCount: 90,

};

I copy this from codecademy in to visual studiocode

but it makes a error on vs code (Identifier expected.ts(1003))

I don’t know what is wrong …

it? who? what property? what should happen? how can other people reproduce the error? if it can’t be reproduced then there’s effectively no problem to solve
vs code is a text editor, if you’re attempting to run it, then you are doing so with a program other than vs code

So as a suggestion, run it using nodejs (assuming it’s supposed to be javascript)
https://repl.it/repls/ZealousScratchyKeygen
nodejs will tell you there’s something wrong about your const statement, so then you could look up what a const statement looks like, for example here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#syntax
And if you’re having trouble comparing then you could use a simpler value, like {} or 5

You can also write less code at once and run it after making a small change to check if it’s still okay.

now I get it I made a stupid mistake…

Yeah but we make those. It’s not stupid, it’s a fact that it’ll happen. Constantly.
And you’ll make mistakes that are increasingly more difficult.
So the focus has to be on identifying them, not on avoiding them.

hello thank you for helping me out

I tryied on repl

/home/runner/index.js:2
imageSrc: ‘https://s3.amazonaws.com/codecademy-content/programs/react/ravenous/pizza.jpg’,
^

SyntaxError: Invalid or unexpected token

but it keep make a error after I changed my before mistake

I don’t know what code you’re running, and the error message is a bit incomplete.

If you run this:

const business = {
imageSrc: ‘https://s3.amazonaws.com/codecademy-content/programs/react/ravenous/pizza.jpg’,
name: ‘MarginOtto Pizzeria’,
address: ‘1010 Paddington Way’,
city : ‘Flavortown’,
state: ‘NY’,
zipCode: ‘10101’,
category: ‘Italian’,
rating: 4.5,
reviewCount: 90,

};

Then you get:

/home/runner/index.js:2
imageSrc: ‘https://s3.amazonaws.com/codecademy-content/programs/react/ravenous/pizza.jpg’,
          ^

SyntaxError: Invalid or unexpected token

Which is pointing right at the problem, the quote. It’s probably not in your original code, but that’s what you posted so … that’s what I ran.
Try using ' or " for quotes instead, those are the quotes that javascript uses to enclose strings, other quotes are different characters so therefore those won’t match the syntax pattern of strings.

If you google you can find examples of javascript objects. You could copy such an example, run it to see if it’s okay, and then you could adapt it to suit your needs by slowly changing it and running it every time you change something to see if it’s still okay. That way you could produce valid code.

If you start out with some big blob of code that isn’t right, and you also don’t know how to fix it, then you won’t really get anywhere.

Similarly you can start with a very small piece of code:

const business = {}

And add small parts to it until you’re done, and running it whenever you’ve made a small change that you feel like you want to verify whether it’s okay.