- Always RTFM. The person that created your Uno, ESP8266, WiFi, WiFi code, common subroutines, etc knows the most about their product. Read what they have written and don't be afraid to ask lots of questions to boost your knowledge. Use search wisely and you will stumble over good ideas. Your skill is to assemble these building blocks in unique ways to solve your problem.
Conversely, document everything, and PLEASE spell check it. Your brilliant code can be wrecked by poor documentation. Leave lots of comments and hints in your code. Make it a habit from early on. The person that has to maintain or extend it, often a long time after you have moved on to other more exciting stuff, will appreciate it the most.
Learn to chunk-ify your code into useful subroutines that can be re-used. Make use of robust libraries that others have poured a lot of work into. You don't always have to re-invent the wheel. Well documented API's can save you a lot of debugging and make your efforts easier and more consistent.
School is where you aim to pass your subjects. Learning along the way is just an inadvertent bonus.
Having a gifted mentor like your teacher is just a bonus.
Be appreciative and always give credit for other's help and hard work that has helped you get to where you are.
Life is a journey, composed of many achievements and experiences. Never stop learning. Never be disenchanted. Collaborate. Share. Enjoy!
Best of luck.
Oh, please pass me another mouthful of that yummy chocolate elephant...