siba45
#1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function myLocalScope() {
myVar = 5;
// Only change code below this line
console.log(myVar);
}
myLocalScope();
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Challenge: Local Scope and Functions
Link to the challenge:
Is this the proper way to tell javascript to create a variable? There’s a missing keyword here.
siba45
#3
got it thanks. but I also need help with wordblanks
var wordBlanks = The + " " + myAdjective + " " + myAdverb + " " + myVerb + " " + “myAverb.”;
console.log(wordblanks)
So you have The
outside of any quotes, making it a variable. Likely causing an error. And no closing punctuation.
Word of advice, when you have a completely new question, start a new post. Makes it easier for others who have that same problem later.
system
closed
#5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.