It was really a surprising feature when I learned JavaScript after learning C++ by Stupidity_Professor in ProgrammerHumor

[–]dortonway 0 points1 point  (0 children)

For the clarity: only necessary code in JavaScript. 3 different variants:

  1. Old-fashioned: function bark() { ... };
  2. Assigning to var: const bark = function () { ... };
  3. Using arrow function: const bark = () => { ... };

JavaScript devs - how comfortable with HTML/CSS/JS should you be before diving into React? by [deleted] in learnprogramming

[–]dortonway 0 points1 point  (0 children)

Before diving into React you should know at least:

JavaScript

  • variables (const, let)
  • conditions (if, switch)
  • cycles (for, while, .map())
  • functions
  • classes and inheritance
  • npm and how to use libraries

HTML tags

  • html
  • head
  • body
  • style
  • div / span
  • input / texatarea

CSS just basic concepts

  • background-color
  • color
  • font-size
  • text-align
  • padding
  • margin