Can I restrict number form entry range?

after i create a form in which i allow the user to fill a number as input how do i restrict his access to scroll till non negative numbers (because the number of burgers=-2 doesn’t make any sense)
PS:found the answer to this question the next exercise “Range input”