Put in order · JavaScript and React course · Module 7: Styling and Animations

Basics: styled-components Syntax

Arrange the syntax for creating a styled-component:

Items to put in order

  • color: red;
  • `
  • styled.button
  • const Button =
  • `

You can check the correct answer by solving this task in the CodeWorlds game.