Lesson 2. #352
-
Hi, I just recently attempted to do the code seen in lesson 2 and have a go at doing it on my own. I completed the code and compared it to the template on github however, after adding a number of people with their 'favourite number', reciting their name in the nametofavouritenumber section does not show the associated number that i put in originally, it just shows uint256: 0. Any ideas on why this might be? A bit concerning as i even copy and pasted the exact code and the problem maintained. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Paste some code bro atleast the function is not working :) And from the note you have written, I think you forgot to decleare _favorateNumber etc inside the function () maybe. |
Beta Was this translation helpful? Give feedback.
-
@jacobhay2626 Give us more information so we could help. |
Beta Was this translation helpful? Give feedback.
Paste some code bro atleast the function is not working :)
And from the note you have written, I think you forgot to decleare _favorateNumber etc inside the function () maybe.