I see what’s going on here. This is a classic example of an “Uncaught ReferenceError: web3 is not defined” error.
Here’s the corrected code:
`JavaScript
JavaScript