Put in order · JavaScript and React course · Module 14: Advanced Styling

Spacing Token Definition

Arrange the syntax for defining a spacing token in a JavaScript object:

Items to put in order

  • '8px',
  • const spacing =
  • { sm:
  • md: '16px' };

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