"To save your name type:"
var name = "Sergio";
Sure, Codecademy is not the be-all solution, but they're accessible enough to get started for a broad section of non-technical folks, hence my recommendation.
"Copy paste this to pass this lesson" - No context given, just do this to pass. That's not good learning.