Put in order · JavaScript and React course · Module 9: Modern React Hooks

Lazy Loading Image Syntax

Arrange the syntax of an img element with the lazy loading attribute:

Items to put in order

  • loading="lazy"
  • <img
  • />
  • src={imageUrl}
  • alt="description"

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