24
Views
3
Comments
Solved
unexpected javascript error
Question
Application Type
Reactive
Service Studio Version
11.53.20 (Build 61431)

Hi,

I copied this javascript code exactly from page 6 of the javascript keyword exercise documentation from the front end developer guided path.

However this javascript code has thrown an error which I'm struggling to fix. 

Please can someone help me fix this.

Kind Regards

Shaan

3.4. Exercise.en-US.pdf
2023-10-21 19-42-11
Tousif Khan
Champion
Solution

Hello

I think this is because of space there try removing the space between - and background 


Hope this helps

Thanks

2021-08-07 15-47-49
Shaan Rashid

Thank you

2023-10-21 19-42-11
Tousif Khan
Champion

You are Welcome :)

I am glad I was able to help

Thanks

Tousif Khan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.