Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey everyone,
Hope y'all doing great.

I have just started the course lately and I could say that it's really great. Thank you so much Patrick for such an informative course.
However, when I started the first lesson, I wrote the same code for deploying the contract but I couldn't find the "store" button (Also when I write the word store after function, it doesn't look like in the video but just normal (not green)). Is there anything I can do about it please ?
I tried checking in Q&A forums but I didn't find anything for this issue so I decided to write about it. Thanks for considering my demand.
My Code
Patricks Code

You must be logged in to vote

Im just starting the course myself. Maybe you need a space after public before { on line 10. Also are you missing public on line 8? Just getting familiar with github noticed your issue thought i would give my 2 cents. Best of luck!

Replies: 1 comment · 4 replies

Comment options

Im just starting the course myself. Maybe you need a space after public before { on line 10. Also are you missing public on line 8? Just getting familiar with github noticed your issue thought i would give my 2 cents. Best of luck!

You must be logged in to vote
3 replies
@CryptoHolik
Comment options

Thanks for your reply man. I actually figured it out. It was just because I didn't compile before I deployed the contract, I didn't pay attention and thought I did.
And yeah, actually the space between public and the bracket doesn't have any influence on the code, it's the same with or without space. Furthermore, the other public word in line 8 was actually later when he was making the FavoriteNumber fonction public.

Thanks bro and good learning with Patrick!

@cromewar
Comment options

You are both awesome @CryptoHolik @scottjmarler, please feel free to make any other questions during the course.

@eiyen
Comment options

The same mistake. Thanks for your reminder! @CryptoHolik

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.