HTML and CSS Coding Challenges

CSS codeMy first blog post, hello world. Thing are coming a long. I now know how to use HTML and CSS. It took me about 5 weeks to feel confidant with problem solving but now I’m sure I can figure it out. I’ve come up against a few challenges and was able to get it done. Feels good to do it to and it gets addictive after the taste of just a few small successes. I'm looking forward to problems now because I know it means I’m about to learn something. Obstacle is the way, and it is.

I missed my goal of getting the first page up by December 16. I got it up on the 20th. I can live with that. Don’t need to be perfect, just need to make progress.

Another goal I set is to code everyday. Even if I just get in a half hour. Just code. Look at code, read code, find a problem and solve it. Today was a day like that. This morning I ran out of time. Still got up at 4:30 but I felt I needed to focus on some writing this morning before I taught a class on Skype at 6:00. We have a full house for the holiday and things started to roll after that. I didn’t get to code at my usual time.

I did get a chance to pull out the computer at the table with everyone sitting around tonight and worked on a problem. It took me about 10 minutes but I figured it out. And now I’m writing this post at 11:00pm. Don’t think I will get my self to wake up tomorrow at 4:30. Maybe 6:00. We’ll see.

One rule I set for myself, go to sleep at least 6 hours before I want to wake up. Another rule I set while perusing this goal, no news, no sports and no Netflix. I added no beer today too. The reason is I want to be focused. I don’t want to introduce anything that may distract me and slow my progress, even in the smallest way. Reading the news was a distraction. It would get into my head and crowed out the important stuff I need to focus on.

Sports was a distraction too. I love sports. I didn’t watch much outside of playoff games – NFL, NBA and Baseball – but I did read the ESPN app daily. This will be the first year since I am, well, since ever, that I am not following the NFL. I will not know who is in the Super Bowl. I will not even know who the Super Bowl Champ is this year.

I did make a deal that I will watch the NBA finals, but only if Lebron James and the Cavs are back to defend the title they won last June. Lebron is a once in a lifetime player and I gotta watch. I’m focused but I’m not trying to be a monk.

It feels good to have my mind clear of all that stuff. I retain what I’m learning much better. One thing I used to do was right after working on a project I’d switch over to Facebook, ESP or The Huffington Post and get sucked in. As a result all this noise would crowd out the important stuff I just finished working on. So no more, gone. Not even sure I will go back once I reach my goal. I like my mind the way it is now.

Netflix was doing the same thing, and it kept me up late. Walking Dead took up way too much headspace too. Gone.

One tool I’m using to keep the momentum going is once a week I check in and re-evaluate my strategy. The goal doesn’t change and the plan stays pretty solid, but the strategy needs to be evaluated. And I need to write it down, which I do in my journal. With a pencil. I need to feel that pull of the lead across the page. I am a kinesthetic learner. It's good to know what kind of a learner you are. It's helped me a lot know this.

The technique I am using to re-evaluate my strategy is called an OODA loop and then FFF. OODA stands for Observe Orient Decide Act. FFF stands for Fail Forward Fast. So once I decide what to do I act quickly and if I fail it's fast and I'm still making progress.

I learned this reading a book called “Unbeatable Mind” by Mark Divine, a former Navy Seal. This is a technique they use in the Seals to teach cadets to make decisions fast. Don’t think too much about it, just decide and go. This is where the FFF part kicks in.

The real lesson I took from it is failure is not bad, it’s valuable feedback to use and improve. Great stuff once I learned to trust it and trust myself. I am more confidant knowing that if I fail it doesn’t mean I’m a failure, just means I need to re-evaluate. OODA loop and FFF, great tools to have and use.

I will keep talking about my progress in web development in future posts and I want to go into some detail about specific challenges and how I figured them out. I’ll also share some of the tools I picked up in the last year to help me be successful. Mostly books and the lessons taught by the people who wrote them.

I am also a follower of Stoic philosophy. The lessons learned from the stoics have helped me through some difficult times. With that in mind, I want to end this post with a quote from Seneca: "The fool, with all his other faults, has this also, he is always getting ready to live."


The JavaScript Learning Curve Gets Steep

JavaScript is proving to be a tough challenge for me. I don't know what I'm doing or why I'm doing it yet and my brain is starting to hurt a little. Good, because it means it's growing - right?. I just read an excerpt from the book "Motzart's Brain and the Fighter Pilot" by Richard Restak, and in it he says that as we learn we are creting new connections in our brains. And as a result our brains gain weight. I wonder what would the diet look like?

I wasn't expecting it to all be easy, and it's not. It makes no sense to me at this point. I'm just reading, copying and in-putting exactly what I'm being told to. Sometimes it works and sometimes I have to dig a little deeper. But until it clicks it's going to be a grind.

I worked hard to condition myself to enjoy the grind. It wasn't always that way. I used to give up, a lot. I would think if it was hard that maybe it wasn't for me because it was supposed to be easy. What I learned is anybody can do easy and I have to enjoy the hard grind to master anything. Not everybody can do hard and that's exactly why it's valuable. It's a choice.

The worst thing I was ever told when I was a kid: You're so telented! Worst thing you can tell any one. Don't tell them they're smart either. We're all the same blank slate when we get here. It's what we do with that blank slate that sets us apart or holds us back. In this line of thinking I take inspiration from the MMA fighter Conor McGregor. He is quoted to have said "...Talent does not exist, we are all equal as human beings. You could be anyone if you put in the time. You will reach the top, and that is that. I am not talented, I am obsessed." I repeat this to myself everyday that I sit down to work on this,

One technique that is working for me so far is to apprach it from different angles. There are so many resources out there that teach JavaScript that if one apprach doesn't click, I can look for another. Even if it does click, I still try to find a different apprach just to cement the concept. So far it's working.

At the moment I'm using Codecademy, Udemy's Complete Web Developers course and learn.co's Bootcamp prep course. Each one offers a unique approach to teaching and, combined, seem to be filling in the blanks. I also use Free Code Camp but not as much. I love the concept but the course is not clicking with me for some reason. I read the blog and follow Quincy Larson's posts. Good stuff there.

Another thing that helps to keep me moving forward is writing stuff down. Not notes about class, but a journal about my plan. I do this about once a week. I think about a strategy to accomplish my plan and revise it as I gather more information. I've made about half a dozen course corrections since I started my journey in mid November.

Learning to code is hard. I am feeling it and I'm pushing forward. I will be successful, it's just going to take time and effort

Another quote I get inspiration form is this: "Cease to hope and you will cease to fear". This Quote is from Lucius Annaeus Seneca. I asked myself; why do I fear anything? Most of the time is because I don't know what the outcome will be - the future. How many times did I say to myself that I hope this would work out, I hope I get the job, the girl, the outcome I want. I lived in fear that my hopes would not come to be. Fuck that shit. No more, never again. Hope is for suckers, I am doing everything I can to make this happen. If it doesn't happen it's not going to be because I relied on hope.

One more thing before I go. A few months ago I asked a friend who had gone through some tough times and landed on his feet - and by all measures a success - what pulled him through the toughest times. His answer was persistence, and always look for an answer. Persistence. That is the backbone of success, at coding at life. Be persistent.

   © darenjm 2017