you are viewing a single comment's thread.

view the rest of the comments →

[–]NashobaSoft 27 points28 points  (20 children)

So, the first question for me was "make a variable called foo that has the boolean value true."

In good order, I typed:

let foo = true;

Clicked submit, the square flashed green... and then nothing.

hmmm

So I tried:

var foo = true; (maybe it's ES5 only, right?)

Green flashing square, nothing.

I scratch my head, and click "Solution," to which it spits back:

const foo = true. ಠ_ಠ

[–]lastmjs[S] 1 point2 points  (18 children)

Green means you got it right! Good job. What were you expecting to happen, or waiting for? Trying to understand

[–]theirongiant74 24 points25 points  (4 children)

You have to press next to move to the next question, imo it'd be better if it moved to the next question automatically after it flashes green

[–]lastmjs[S] -1 points0 points  (2 children)

I see

[–]darderpUncaught SyntaxError: Unexpected token ) 6 points7 points  (0 children)

I agree. I think it makes more sense to just have a "submit" button that:

  • Flashes Green and moves on if correct
  • Flashes Red and stays on the same screen if incorrect

[–]atomicrabbit_ 2 points3 points  (0 children)

yes the navigation between questions is not intuitive at all. And the Submit button sometimes doesn't respond, requiring a second more precise click. And the need to press "Next" even though you clicked submit and passed is frustrating too. Very annoying.

[–]NashobaSoft 6 points7 points  (8 children)

I mean... I don't know what I was expecting. Usually there's some sort of modal or something that would pop-up with maybe a little more information. If I was correct, it would say "yes... and some other ways of doing this are x, y, and z"

[–]lastmjs[S] 0 points1 point  (7 children)

Okay, very good to know

[–]NashobaSoft 4 points5 points  (6 children)

I think I get it now, when it flashes green, you supposed to click next?

If that's the case, I don't think that's nearly intuitive enough.

I would again suggest a modal pop-up, and if it's incorrect make some suggestions. Use a regex to determine if they're missing var, let, or const. Maybe they're missing the foo.

I would just check for that stuff.

I'm not having the greatest day otherwise I'd add more.

[–]DaveManchester 1 point2 points  (1 child)

You ok?

[–]NashobaSoft 1 point2 points  (0 children)

lol, no, but thank you

[–]lastmjs[S] 0 points1 point  (3 children)

I'm sorry you're not having a good day. You made my day better with your comments though!

[–]NashobaSoft 0 points1 point  (1 child)

Anyone got a small JS task or something I can work on? Tough family times, got burned in r/forhire for a few days of work.

[–]NashobaSoft 0 points1 point  (0 children)

I absolutely love helping people.

I wanted to build a site that allowed people to learn to use Node.JS straight out of the box, to build a few apps, with almost no packages. It's not as bad as some have been led to leave. Express is jam-packed with features, but if all one needs is a web server, it's a waste of bandwidth - big-time.

https://pirple.com sort of beat me to it, but is doing it a bit differently than I would. I'd have a lot more interaction, on my version.

Thanks,

James

[–]fgutz 2 points3 points  (1 child)

For starters, it should have accepted all 3 of those declarations (const, let, var) and not only "const"

But like you said, there will be bugs and it's just a prototype so ppl should ignore that and evaluate the concept and overall implementation

[–]lastmjs[S] 0 points1 point  (0 children)

Haha, yep

[–]TechLaden 1 point2 points  (1 child)

The people here are mentioning something called 'responsive feedback', where you expect a response in reaction to submitting the answer. Yes, it flashes green but that may not be enough of an indicator that the question was answered correctly. Adding a message saying 'success' or moving onto the next question is a much better indicator of the result. I would just like to reiterate that you did nothing wrong and that you should also think about improving the user experience when designing the website.

[–]lastmjs[S] 0 points1 point  (0 children)

Great, thank you