Remix codes #6390
Unanswered
badgesultan
asked this question in
Q&A
Remix codes
#6390
Replies: 2 comments
-
what error is it showing ?? |
Beta Was this translation helpful? Give feedback.
0 replies
-
_favoriteNumber = _favoriteNumber; this line is wrong . correct is : favoriteNumber = _favoriteNumber; because _favoriteNumber is the parameter u passed to the function which the user will provide u and _favoriteNumber is stored in the global variable u declare outside the function favoriteNumber |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I'd like to ask is from here
uint256 favoriteNumber;
function store(uint256 _favoriteNumber) public {
_favoriteNumber = _favoriteNumber;
}
it failed to compile and failed to deploy too
Guess what! i'm following the coach on youtube line by line by its not working over here
Beta Was this translation helpful? Give feedback.
All reactions