0
How come even when you supply the correct answer in the lesson Rating Matters in web development course it says you are wrong?
The task gives you the line let userRating = 5; And tells you to log a message with the string "Thank you for rating us" plus the userRating at the end. The correct answer is console.log("Thank you for rating us " + userRating); AI solve says the same, bug checker says no bugs and is correct. But still i get syntax error missing + to concatenate the string and value??
1 ответ
0
Try converting userRating to string before doing concatenations..