Chapter 30: React, Part 2

Learning Objectives

Upon completing the content in this chapter, you should be able to do the following:

  1. Incorporate JavaScript expressions into HTML rendering.
  2. Use conditional rendering to display or not display certain elements.
  3. Use the following syntax:
    1. if/else
    2. Embedded expressions with logical operators such as &&
    3. Ternary conditional operator ? :
  4. Create a list to display the elements in an array using the mapmethod.

Key Terminology

  1. Arrow Functions
  2. Fragments
  3. if/else
  4. Ternary operator
  5. map