JSX Flashcards Preview

Front-End: React JS > JSX > Flashcards

Flashcards in JSX Deck (7)
Loading flashcards...
1

What is JSX?

A special dialect of js (not HTML)

2

Do browsers understand JSX code?

No! We use a tool to turn the code into js

3

How do you style css code in jsx?

background-color becomes backgroundColor and " " becomes {{ }}

4

How do you add a jsx class name?

className

5

If you want to add javascript in jsx you have to put the js code in?

{ one set of curly braces }

6

-g

install packages globally so we can run it from the terminal

7

What is the code to install a node package?

npm install -g package-name