[JavaScript] Why do you give too detailed instructions even for things was already learned before?


#1

It is so mind clogging.

for example

Your reusable block of code follow this. Surround it with the right brackets. The code you want to repeat is: console.log("I want to eat" + " " + food);

why can't you just say: "make a function that will print which food you eant to eat"?

I maybe sound annoying, but it is one of the biggest cons in codecademy. You lose the issue in practicing- which is try to create things by what yoy learned, make mistakes, and try to remember how to write correctly :neutral_face:

This is a common critique on codecademy but just now I see how right it is.

Overall I very appriciate this site off course, but this is the reason I want to help improve it by my feedback..


#2

If people don't remember something they've learned, it will be good to have the detailed instructions in the Hint part but apart from that, I think there's nothing wrong with this course.


#3

Then they most likely won't have the correct output.
There are many ways to fulfill your task.

function printfood(food) {
console.log(food);
}

var pf = function(food) {
console.log("I would like to eat " + food);
}

var banana = function() {
console.log("I eat bananas");
}

The code-checker looks for a specific output.


#4

off course.. I didn't meen to write only this sentence in the chapter.. this is what I said: replace this:
"Your reusable block of code follow this. Surround it with the right brackets. The code you want to repeat is: console.log("I want to eat" + " " + food);"

by that:

"make a function that will print which food you eant to eat"?

there will be no different for the code checker

the other instructions about how to call the variable and so on are neccessery off course.. that's why I didn't quote them..


#5

That is my point exactly....

You want to check their output, but they could do it in infinitely different ways.


#6

It can even be like make the function print: "I want to eat" + + your variable..
the other-
"Surround it with the right brackets", "console.log", etc.. is like a Crutch..


#7

No, there aren't infinitely different ways.
By common sense, if we learned only about printing by console.log, the oerson is going to use it. if the inscructions will tell him, to have food as the name of the var, he is not going to choose "banana", and if it will tell him to print "I want to eat" + + your variable.. he will not write
console.log("I eat bananas");


#8

don't tell me to use console.log, don't tell me to put brackets, don't tell me to end with semi-column, etc.. these are things that one needs to know already. It does not give a chance to forget something.. That's not how practicsing look like


#9

function printfood(food) {
console.log(food);
}

var pf = function(food) {
console.log("I would like to eat " + food);
}

var banana = function() {
console.log("I eat bananas");
}

You could name your function anything, there are infinite possiblities.