Interactive online courses HTML Academy
2026-03-09 10:53 Diff

We calculated how much food can be eaten, if the daily amount is not exceeded.

All we have left to do is to calculate the amount of food that can be eaten if the eaten amount exceeds the norm. This is the easiest task, because you just need to equate the value to zero.

And as the last step, you need to log a beautifully formatted message. You already know how to do it.