public should be removed from the constructor in problem "#3 Add Item to Inventory". As of solidity ^0.7.0 constructors are always implicitly public.