July 21, 2019

Understanding CSS Flexbox with no coding background

I'm a little over a month into DigitalCrafts coding bootcamp and I've enjoyed every hair-tearing, head throbbing minute of it so far. Our instructors challeneged us to write about our experience, so I'll start with Flexbox.

I came into the program as a graphic designer with no coding background and was eager to learn about frontend development. The curriculum up to this point was straight forward: Javascript > HTML > CSS. I'll write more about my learning experience with Javascript and HTML in a separate post (hint: Javascript was hard, HTML was easy).

As a designer dabbling around on HTML and CSS when I was developing WordPress websites, Flexbox was a life-changing feature that I was looking for most of my career. I would definitely recommend anyone starting off to go though the less prettier parts of CSS to get a deeper understanding of how CSS works. Properties such as floats, displays, box-sizing and positions are the building blocks of web layouts and are still used in many websites today. Once you get those down, move onto Flexbox and it will all come so naturally to you.

You'll find that most of the properties can be compared similarly to design programs such as Photoshop or Illustrator. Align center, justify, evenly distribute are just a few of the properties that are available. Conceptually, Flexbox creates layouts that are sized by proportion, percentages or directly though pixels (which I would not recommend since this would render it pointless).


Start off with this exercise then this exercise. You can use this guide here to reference the different parent and child properties that flexbox has to offer.

Bonus: recreate the Mondrian

July 14, 2018

Ball was Life

Saturday morning basketball

Basketball was my first love. When I moved to Houston back in 2011, I found solace with the hoopers of third grade. They were all easily recognizable -long, slightly overside Nike t-shirts with ball shorts and the nicest basketball shoes their parents can afford. I remember when Sameer got his pair of Jordan 17 - with the protective sticker still on. At the time, Yao Ming was the hottest signing for the Houston Rockets and naturally, due to my black hair, yellow skin and tall, lanky body, I was nicknamed 'Yao' by my peers.

I played pretty damn well for a kid that never watched a NBA game, let alone play a game. I owned the post. I grabbed boards and caught those alley-oops that always ended up as hyper-aggressive lay-ups since we can't dunk yet. My game developed over time and I sort of grew into comfortable power-forward with solid post game. Just today, I played a pick up game at the local park and got hurt on my right leg. Don't know how it happened, but it made it hard for me to walk. I just took a minute to reminisce about my basketball career: elementary legend, middle school rising star, high school quitter and college pick-up hooper. I've been playing all my life and I'm sad it all can end though age or injury.

Totally should kept at it during my younger years and got that mean NBA contract. I mean, look at Jeremy Lin.

Steve Francis and Yao Ming of the Houston Rockets

July 12, 2018

Investment or speculation?

A colleague at work as well as my girlfriend have successfully convinced me to start trading in the stock market. As of today, I am a shareholder of Starbucks (SBUX). They've recently hit a new low within the past couple months, so you know how these markets work - they're bound to bounce back. Right? *nervous laugh* I've read a couple chapters of Benjamin Graham's The Intelligent Investor and I feel like I can switch professions as a day trader tomorrow.

I followed some basic rules of Graham's principals: look for a small gain (don't aim to get rich), buy when the value is low (the recent meeting/restroom debacle) and invest in something that has a rigid history (do not speculate). I feel like I followed these three core principals pretty closely, but obviously, I'm only applying a small percentage of his wisdom. I admit I'm still a baby trader and will need to do a lot of reading, researching and even stock drops.

Let me know if you have any advice or comments in trading to help a young buck get started.

anstudio © 2019 All Rights Reserved

anstudio © 2018 All Rights Reserved