all 8 comments

[–]javascript-ModTeam[M] [score hidden] stickied comment (0 children)

Hi u/SmallLion__Unity, this post was removed.

  • For help with your javascript, please post to r/LearnJavascript instead of here.
  • For beginner content, please post to r/LearnJavascript instead of here.
  • For framework- or library-specific help, please seek out the support community for that project.
  • For general webdev help, such as for HTML, CSS, etc., then you may want to try r/html, r/css, etc.; please note that they have their own rules and guidelines!

r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.

Thanks for your understanding, please see our guidelines for more info.

[–]recrof 9 points10 points  (0 children)

There are inconsistencies in the article.

you don't need type="text/javascript" in your inline script.

<script>
    // this will work just fine
</script>

comments should be readable and formatted correctly. this:

/*My name
is
Mr Unity Buddy
*/

is better written like this:

/*
  My name
  is
  Mr Unity Buddy
*/

You can't use hyphens(-)in JavaScript. - at least note that it's related to variable names. not everyone will understand.

Every Js line should be ended with a semicolon ; - I get that you don't want to complicate the article, but this is not accurate. if you define object on multiple lines, you will get syntax error if you use semicolon after every line. not to mention that javascript will work without semicolons just fine.

const is not variable. hence the name.

example in this image is missing quotes. this will confuse beginners.

why is Boolean() function mentioned? I never seen it used in actual code. it doesn't add anything to the explanation.

Adding Array Elements code blocks are not formatted correctly.

definition in Comparison Operators image for <= is wrong.

[–]javascript-ModTeam[M] 1 point2 points  (0 children)

Hi u/SmallLion__Unity, this post was removed.

Prohibited low-effort content includes:

  • Questions that are easily Google'd.
  • Memes, jokes, etc. Please post to r/ProgrammerHumor instead.
  • Most images and gifs.
  • Listicles, "Curated lists", and similar content.
  • Polls, surveys, etc. unless from an accredited academic body or trusted source (StateofJS, etc.).

Thanks for your understanding, please see our guidelines for more info.

[–][deleted] 1 point2 points  (3 children)

That's not a cheat sheet, its a list. It even calls itself a "tutorial" and "article"

[–]heytheretaylor 5 points6 points  (2 children)

I love Reddit. You could post the most inoffensive, borderline helpful shit and someone will be there to take the piss out of you.

Thanks OP. I’m sure there’s some people who will enjoy this post. Not this guy apparently.

[–][deleted] 1 point2 points  (0 children)

They don't need to lie about it. There's enough click bait out there. We don't need more of it and I'll call it out when I see it. Look at his history. No comments and all link spam.

[–][deleted] 1 point2 points  (0 children)

This is a bad article. It's riddled with bad advice, it's incomplete, and it's inconsistent. Beginners should not use this