Day 1: HelloWorld!
-
anitaleung 9 years ago I spent way too long trying to debug my code when my entry was wrong for printing out "Hello World" instead of "Hello World!". The problem asks to print out "Hello World", could this please be fixed?
-
Devenney 9 years ago Agreed. I fell into the same trap.
-
Disruption 9 years ago Plus one to this. It's not really that bad, but it's definitely wrong :)
-
heatherbooker 9 years ago Isn't this a significant concept in programming? Be exact, specific and precise? :/ This was really frustrating! Please do fix it ASAP!
-
-
zemien 9 years ago Having only used JS for basic website stuff, I have not seen the setup code like this:
process.stdin.resume(); process.stdin.setEncoding("ascii"); _input = ""; process.stdin.on("data", function (input) { _input += input; }); process.stdin.on("end", function () { processData(_input); });
What is this process object, and is it available everywhere?
-
PRASHANTB1984 9 years ago This part is a standard template, only written to help folk get started with JavaScript programs on our website, without bothering about how we're handling the STDIN/STDOUT.
-
hit0405 9 years ago where do i get videos related to the course.
-
natarajs_nitk 9 years ago Some comments like in the 'Solve Me First' Javascript challenge would have been of much help.
-
-
JeffWeakley 9 years ago I love the idea of Hackerrank. I have studied javascript off and on for about a year. I'm certainly not great at it. But whenever I decide to do one of these, I'm often confused from the directions about what they're even asking me to do.
Couldn't it just say 'write a function that prints "Hello World" to the console?' Something easily understood like that? There are 2 possible examples, no real specific challenge, and then a line that says "Try it out in the console below!" Try what out? Retype one of those?-
AllisonP 9 years ago I updated the problem statement.
-
fakdora 7 years ago I wonder why that snippet is being shown for printing "Hello World" problem. totally unneccesary
-
-
giacgbj 9 years ago "Hello World!" is different from "Hello World" -_-'
-
TopazJ 9 years ago Having the JS template to read input when there's none given is going to be confusing (and looks more complicated than need be) to newcomers. Maybe the stdin template should be removed entirely, or put "Hello World!" as input and allow us to use it in:
function processData(input) { console.log(input); }
-
denisstoyanov 9 years ago "Try it out! Write a function that prints Hello World in the console below."
There is a missing exclamation mark after "Hello World", since the submission is expecting "Hello World!"
Sort 35 Discussions, By:
Please Log In in order to post a comment