When embedding expressions in JSX, what type of expressions can be included?

  • Both JavaScript and HTML expressions.
  • CSS expressions only.
  • HTML expressions only.
  • JavaScript expressions only.
When embedding expressions in JSX, you can include JavaScript expressions only. JSX allows you to embed dynamic values and JavaScript logic within curly braces {}. HTML expressions are not directly embedded in JSX, but you can use JSX to render HTML elements. CSS expressions are not embedded directly in JSX either.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *