Lesson 1: ParserError: Expected ',' but got 'Number' function Store (unit 256 _favoriteNumber) public { #1320
-
Please can anyone help me identify what the error is? and how to fix it? The error is as follows; from solidity: but when i try to do it like the screenshot below; there are no errors; that is; close the parenthesis opened in number 5 at number 9. but after i click on deploy i can only see the button for favorite number but not the store button. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @LegalTechsis |
Beta Was this translation helpful? Give feedback.
-
Hey @LegalTechsis change |
Beta Was this translation helpful? Give feedback.
Hello @LegalTechsis
You have two errors:
Is
uint
nounit
and you have a space between it and the number, the correct form is:
uint256
all together.