Not sure why you are initializing the same values that you are getting from the function call.
Just remove these lines and your code will work as it should.
Also it seems you have written 2 functions…again not sure why.
You only need one.
@hbar1st, I don’t think functions have been introduced in the curriculum at this point, so I think @Orion482’s confusion over this challenge is expected. I think @Orion482 will be able to figure it out if they re-read the challenge text:
In this challenge, we provide you with a noun, a verb, an adjective and an adverb. You need to form a complete sentence using words of your choice, along with the words we provide.
You will need to use the string concatenation operator + to build a new string, using the provided variables: myNoun, myAdjective, myVerb, and myAdverb. You will then assign the formed string to the result variable.
You will also need to account for spaces in your string, so that the final sentence has spaces between all the words. The result should be a complete sentence.
@Orion482, let me know what you don’t understand in this text and I can help explain.
thks for your hint. I solved it by deleting the inner paragraph.
i was aliitle bit confused , because of this:
wordBlanks("dog", "big", "ran", "quickly") should contain all of the passed in words separated by non-word characters (and any additional words in your madlib).
Passed
wordBlanks("cat", "little", "hit", "slowly") should contain all of the passed in words separated by non-word characters (and any additional words in your madlib).
I thought first that I have to write two wordBlank - expressions and then asign them to a
result-variable, but anywa,y, I solved it without further <<confused thinking>>.