FAQ: Code Challenges: JavaScript Fundamentals - sillySentence()

It looks like you were missing an exclamation mark ! at the end of the sentence.

I think by placing quotation marks around adjective, etc you turned the parameters into strings. Also I think it may be missing an exclamation mark ! at the end of the sentence.

1 Like

I agree. I was stuck asking myself why can’t I proceed even though I wrote the correct code. The only issue was that there was a space between the word functions and the exclamation mark.

I just wanted to point out, that I made this code work but it still failed even though it passed in the console.log().

const sillySentence = (a='excited', b='love', c='functions') =>{
return `I am so ${a} because I ${b} coding! Time to write some more awsome ${c}!`
}```