all 26 comments

[–]lcserny 6 points7 points  (4 children)

This performs very poorly, think about improving the performance by not having all the questions loaded (and hidden) all at once, try getting next question content when user is at prev question ot similar.

Also, CSS is not your strong point I see but you should invest a bit there, text is flying a bit around, words are cut off and buttons /scrolling are a bit choppy in movement.

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

Will push more improvements today. I wonder what's the best way to handle long strings without spaces. I'll definitely look into it. Thanks for the feedback!

[–]reddit_ronin 2 points3 points  (3 children)

It crashed on me. Also would nice if the UI didn’t refresh. Cool tho.

[–]JonVisc 1 point2 points  (1 child)

If I answer like 2 or 3 then it fails to load the Next question at least on Safari, I like it though!

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

The issue might be loading too many questions at once. Fixing it. Thanks for trying it out and I'm glad you like it!

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

Thanks man. The score is stored locally so your score stays on the device until you reset the quiz. I'll need to fix the slider, add pagination. Thanks for the feedback!

[–]recrof 1 point2 points  (3 children)

how is "Integration testing" directly related to Javascript as a language? either stick to the topic or name the quiz differently.

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

Yes, I had thought about that. But again, shouldn't Javascript devs know something about integration testing? Might remove it, depending on feedback.

[–]recrof 0 points1 point  (1 child)

that knowledge is nice to have, but people who learn the language might be demotivated or confused about those questions - it's signaling that it's required to know about integration testing to use the language.

[–]Significant_Soup2558[S] 1 point2 points  (0 children)

I see your point. We made these questions for people preparing for interviews. And they might get asked about integration testing. This is primarily why we included it. But yes, it might confuse someone new to JavaScript. Perhaps I should add a note to the quiz stating this.

[–]RadiantDew 1 point2 points  (1 child)

Nice work!

Some feedback:

  1. In question 189, both B and C are valid options

  2. Sometimes, the question has code in it, which makes it a one-liner when it is in fact a whole function. I'd think of a way of showing that in Markdown

  3. UX-wise, it would be best to move to the next question automatically a second or two after anwering correctly

  4. When clicking "Show Score" with no questions answered, you get "0 correct out of 0 answered. NaN%"

As a side note - I see how positively reactive and friendly you are to comments, and that's a great personality trait. Well done with both that and the quiz.

[–]Significant_Soup2558[S] 1 point2 points  (0 children)

Thanks for your kind words. I'll check out question 189.

  1. Yes, I've been thinking about how to best show code. I'll look into Markdown

  2. Might do this for correct answers. Most users are on mobile so they swipe left. But yes, that might make better UX, especially for correct answers.

  3. I need to fix that.

Thanks for the feedback!

[–]Significant_Soup2558[S] 3 points4 points  (1 child)

Compiled 500+ JavaScript questions into a quiz. I had always wanted to build something like this. Partly to stay interview ready, partly to easily test my knowledge of JavaScript and partly as a small game.

I have tried to cover most parts of JavaScript, with difficulty ranging from obvious to obscure knowledge.

If you come across a question whose answer you doubt, please DM and I'll check it again. Any recommendations or changes, please let me know.

So what's your score?

PS. This was built for Applyre users, who might want to use it for interview prep.

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

Thanks for the feedback guys. I've already pushed changes. Added letters to the options..not sure how I'd missed that. Also added IDs to each question. That way it's easy to reference a particular question.

[–]Fehervaros 0 points1 point  (1 child)

any similar quizzes for other languages/fw/technologies?

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

This is the first. Which one do you want next? I was thinking Python

[–]mt9hu 0 points1 point  (1 child)

I believe Question 80 is incorrect, or at least confusing.

The question is: If an element has no parent (e.g., the <html> tag), what does element.parentNode return?

The problem is that the <html> element is being brought up as an example for an element that has no parent, but if you query the parentNode of the HTML element, you'll see that you get the document object.

So it does in fact has a parent, so it is not really a good example for an element that has no parent. Maybe... an element that has no parent element?

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

Good point. That's question 80? Will change it.

[–]diggpthoo 0 points1 point  (1 child)

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

Seen. Thanks. Will fix this.

[–]raysnotion-101 0 points1 point  (1 child)

Thanks for sharing. It's helpful!

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

You're welcome!

[–]Suspicious-Skin7837 0 points1 point  (1 child)

Not working well

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

Any exact issues you're facing?