Not really a bug but suggestion
See original GitHub issueChallenge Word Blanks has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "";
// Your code below this line
result = "The " + myNoun + " is " + myAdjective + " and it " + myVerb + " " + myAdverb;
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
Hi, i’m not complaining about the exercise, but the thing that confuse me and get me to the wrong path is that the
var result = “”;
The fact that the var result is equal to a string without anything inside is a bit confusing. Why not rather set it like
var result;
without any output(is it really an output?) it’s perhaps a better way to understand it =)
Thanks in advance,
Albin.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How can I mark issue as a suggestion which is not a bug?
I want to give a suggestion about the functionality which I am testing, so how can i create that. It is not a...
Read more >'It's Not a Bug, It's a Feature.' Trite—or Just Right? - WIRED
A standard joke is that a bug can be turned into a feature simply by documenting it (then theoretically no one can complain...
Read more >How to Write A Good Bug Report? Tips and Tricks
If your Bug report is effective, then its chances of getting fixed are higher. So fixing a bug depends upon how effectively you...
Read more >What will you do if you raise a bug but the developer does not ...
1) Understand what's happening. Sit back and listen to developers explain why they don't agree with you. What's the point they are trying...
Read more >Bugs vs. suggestions - Jira Video Tutorial - LinkedIn
A suggestion is an idea for improvement when something is not meeting a design expectation. These two things are completely different, but are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erictleung yes - functions need to be more properly introduced first. I’m talking with a contributor, @edorado93, who’s interested in expanding our function-focused challenges in the JavaScript section, and we could then move this challenge behind that.
@anitawoodruff thanks for the feedback and sharing your experience with mentoring students on these challenges.
@freeCodeCamp/moderators should we move this to somewhere after “Write Useable JavaScript with Functions”? In my opinion, the purpose of this challenge is to review the string concatenation concepts that were learned about 5 or so challenges previously. I like the idea of review or synthesis challenges, but I’m conflicted on whether to just “randomly” introducing concepts like functions without much information.
My suggestion on fixing this issue would be to ideally move this challenge later on and somehow create another challenge in its current place that serves to review the concepts from earlier on. Maybe we can implement the slideshow sort of review like in this introduction for regular expressions, but instead of an introduction, it’ll be more of a review checkpoint. Thoughts?