Day 1 of #100DaysOfCode: First Steps
Hey all, this is my first in the Programming/Dev community, but I post pretty actively on LeoFinance and chat on Discord often. I am an accountant that is trying to get a knack for development, and to help facilitate that, I am going to be jumping right into #100DaysOfCode. If you haven’t heard of the challenge before, it is really straight-forward:
- Code for a minimum of an hour a day.
- Publish your progress online.
Each of these entries will be a bit longer than what you’d normally expect in a progress update, mostly because I think it’ll do a good job of reinforcing whatever I learned that day.
With that being said, here’s what I managed to complete on Day 1:
- Finished reading Chapter 11 of Python Crash Course. I’ve messed around with Python enough that I was able to skip through a good chunk of this book. I wish this was the first resource I picked up, it was definitely my favorite out of a lot of the other options out there.
- Completed Basic HTML and HTML5 of Responsive Web Design on freeCodeCamp. Similarly to Python: I’ve messed around enough with HTML/CSS to power through this entire section.
After those two were all said and done, I moved onto getting started with my first real project in Python: a cryptocurrency portfolio tracker. I have an idea in my head for something like a roadmap that I’ll be using to guide me along, which might be worth getting down on paper soon.
Thanks to @rishi556, I was able to get the API links for pulling prices on PancakeSwap (for BSC), and CoinGecko (for non-BSC):
I didn’t spend too much time on it, as it was already approaching 4 AM (which also explains the typo), but this is what I have so far:
This was my experience messing with an API, so that was fun! The idea of having instant access to so much information is exciting.
My next steps are to:
- Have the program continue to run after a search, giving the user the ability to quit if they want to.
Add functionality for non-BSC tokens.
- Add input checks to make sure that a token or token address is being input.
- Add a ‘favorites’ list that the user can change.
- Complete the second part of freeCodeCamp: Basic CSS.
Anyway, I think that’ll be it for Day 1. Let me know what you think of the format. I am planning for my posts to get more complex as time goes on.