Confused with bracket notation example

I don’t understand how my string is incorrect. Am I possibly missing a space in the string?

Please post your actual code and a link to the challenge instead of a picture. Thanks.


It looks like you misspelled ‘length’.

1 Like

It is a small typo in line 5 - lenght instead of length.

image

1 Like

My apologies, I’m not so tech savvy