Kato Potato (@katocodes) header
Kato Potato (@katocodes) profile picture

Full-Stack Web Developer React | Node.js | Express | PostgreSQL Adventurer⛵, bookworm📕, health nut🥦

Joined December 2020
Don't rewrite code when you want to console.log inside an implicitly returned function. Since console evaluates to 'undefined', simply use the 'or' operator || . This will log, find a falsy value, and continue to return the second part of the statement. #javascript #WomenWhoCode
2
2
102
🧐 Starting my job search for a full-stack developer position, discovered @AngelList, and took my first quiz with them -- 80-90th percentile. Not a bad start! I'll be sharing my job-hunting experiences/tips along the way. Drop your own in the comments! 🤓 #100DaysOfCode
1
3
Day 76 of #100DaysOfCode Made a two-player CL game with #Ruby that prompts players with random math questions and reduces their score if they get it wrong. This initializer is from the Question class. #CodeNewbie
1
2
5
Day 74-75 of #100DaysOfCode Intro to #Ruby (and first language other than #Javascript). Writing my first methods and blocks. This method takes in an array of hashes and returns an array sorted by multiple values, descending. #CodeNewbie
1
5
5
Day 48 of #100DaysOfCode 🦁🦓🦒 Creating and querying my first #SQL databases with PostgreSQL, practicing with @khanacademy and SQLZoo #CodeNewbie
6
Day 45-46 of #100DaysOfCode 🎨 Finishing up the client-side of my Twitter clone: media-queries for different screen sizes, and first time using Sass. Plus reading up on Big O notation and intro to databases. #CodeNewbie
4
Day 44 of #100DaysOfCode 🦚 Finishing up my mini Twitter clone app. This function takes in a tweet's creation date (in milliseconds) and returns a string of how many days ago tweet was published. #CodeNewbie #Javascript
2
4
4
Day 40 of #100DaysOfCode 🧛‍♂️ Writing recursive methods for depth-first data-tree traversal. This function takes in a name, can be called on the root vampire, and returns the vampire object with matching name value, or null if not found. #CodeNewbie #JavaScript
1
3
4
Day 32 of #100DaysOfCode 🛰️ #APIs, callbacks, and Promises. Chaining calls to #JSON APIs in order to get my location, trace the International Space Station, and get the next few date-times during which I can see the ISS. #CodeNewbie #Javascript
3
9
Day 28 of #100DaysOfCode 🚗 Learning about unit testing with #mocha and #chai. Writing my very first unit tests, for a function that helps choose what car to buy. #CodeNewbie #Javascript #WomenWhoCode
1
3
6
Day 27 of #100DaysOfCode 🙃 Practicing closures (and no, I'm not talking about my ex). #Javascript #CodeNewbie #WomenWhoCode
2
4
6
Day 26 of #100DaysOfCode 📂 Working on a Lodash-inspired minified utility library project. My takeUntil function takes in a callback and an array, checks the elements against a condition set in callback, and returns a new array of values up until condition is met. #CodeNewbie
3
8
Day 23 of #100DaysOfCode 🐷 First time using process.argv (a global object that you can use without importing any additional libraries) to process command line arguments. It returns an array of strings, that I use to create a pig-latin translator #CodeNewbie #WomenWhoCode
1
10
Day 20 of #100DaysOfCode Eloquent #Javascript: "A list is a nested set of objects, with the first object holding a reference to the second, the second to the third, and so on." My function takes in an array of values, and creates an object list. #CodeNewbie #WomenWhoCode
1
3
12
Day 19 of #100DaysOfCode 📜 Second part of my secret-code function. The inner loop adds the first letter of each line together, and so on, then I join the elements of the array together into a string. Less than a week until bootcamp starts! #katas #Javascript #CodeNewbie
2
3
Day 18 of #100DaysOfCode 🗒️ Back at it after a weekend with family. Here is step one of my secret-code generator. Find the square root of a string's length (no spaces or special chars), and turn the string into a square with a double loop. #CodeNewbie #WomenWhoCode #Javascript
1
8
13 of #100DaysOfCode Modifying string case type. Looping issue: If parameter is an array, I want to loop through array, and modify input string each time according to value of element. But it wasn't working! Here is how I solved the issue: #CodeNewbie #WomenWhoCode #Javascript
3