Challenge: Build Sentences with JavaScript
Task
Swipe to start coding
Let's build a full sentence using string concatenation.
- Create the string
"I am hungry!"using the+operator. - Add words with spaces (except the first one) using the
+=operator.
The output should be:
I am hungry!
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 10
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.5
Challenge: Build Sentences with JavaScript
Swipe to show menu
Task
Swipe to start coding
Let's build a full sentence using string concatenation.
- Create the string
"I am hungry!"using the+operator. - Add words with spaces (except the first one) using the
+=operator.
The output should be:
I am hungry!
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 10
single