Day 1 of #100DaysOfCode: First Steps

avatar
(Edited)

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:

  1. Code for a minimum of an hour a day.
  2. 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):

PancakeSwap: https://api.pancakeswap.finance/api/v1/price
CoinGecko: https://api.coingecko.com/api/v3/coins/ethereum/contract/

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:

image.png

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.



0
0
0.000
4 comments
avatar

Congrats on getting started, first step is always the hardest. Looking forward to seeing more of what you do.

0
0
0.000
avatar

I really appreciate that! This is the kind of thing that keeps the motivation going.

0
0
0.000
avatar

Congratulations @phul! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You distributed more than 700 upvotes.
Your next target is to reach 800 upvotes.
You received more than 500 upvotes.
Your next target is to reach 600 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Support the HiveBuzz project. Vote for our proposal!
0
0
0.000