Help pls : Learn JavaScript => Variables => 5.String interpolations


#1


idk what's wrong with this code honestly :confused:


#2

Looks to me like a whole lot of embellishment. There are only two lines of code asked for that I can see. Remove all the unasked for code and keep only line 4 and line 10.

On line 10, be sure to insert a space character after the colon (inside the quote) so your output is,

My favorite animal: kitten

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.