Click in order · Blockchain and Web3 course · Module 6: Solidity Basics

Using require

Arrange the elements in the correct order to create a balance validation

Items to click

  • amount,
  • balance
  • "Insufficient balance"
  • (
  • require
  • >=
  • );

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