This is my first entry into my ongoing quest to learn how to code. This log is to serve as a quick look into what I have been learning. A couple days ago, I started my website in earnest. I got my head wrapped around what Bootstrap is and does. And most importantly, how it can help me get a website up fairly quickly. When I took the html and css courses, everything was done from scratch , so this almost seemed like cheating. But I will not complain; it has been pretty handy so far. Today I played around with the background image and formatting the first section and nav bar. Honestly, if you had told me 4 months ago I would know what any of this is, I would have laughed heartily. So, I'm pleased that this stuff doesn't look completely foreign to me. I was worried at first getting back to html and css as I have been working with javascript for the past several weeks. And since before Christmas, I was really just focused on practicing writing functions. That's where my head has been, but I need to continue moving forward, esspecially with this website. I want a career as a software developer - I think a website is not only a good way to put what I've learned into practice. Here's to more log entries and a successful year transitioning into a new career!
Modulus Division!! This is the Remainder operator : % To calculate: Take two numbers. How many times does the second number 'go into' the first. Now, what remains? For example: 2 % 2 // 0 ; 2 goes into 2 1 time, and 0 is remaining. 10 % 5 // 0 ; 5 goes into 10 2 times, and 0 is remaining. 9 % 5 // 4 ; 5 goes into 9 1 time, and 4 is remaining. 5 % 9 // 5 ; if the second number is larger than the first, than the first number is always the remainder.
I'm lucky I have a nice Teaching Assistant. My husband Jeff! He's so nice! Today I worked through a javascript assignment he gave me. I was to create two arrays containing (1)grocery list items and (2)store items each with properties such as name, quantity, and cost. Then I was to calculate the total cost of the items found at the store and also log the items not found at the store. Sounds so easy, right? And the concepts were simple, but getting these nested for loops and if statements going, along with accessing multiple object properties was truly a challenge. But it is helping me solidify several basic javascript principles. Notably, how to access those properties inside Loops.
Building on loops with Iterators. .forEach() .map() .filter() are examples.
After a couple days working through loops and iterators, I think I'm making progress. My biggest challenge has been grasping what the parameters do and what they are. And especially, how to use them. For example, using them while calling object properties in an array. The light bulb just went off with the .forEach in that the param IS the object's index. Guys, I was trying to call the index on the param. Not working. I did several practice problems today, first doing the for Loop, and then the same problem using iterators. Anyways, still a lot of practice is needed, but I'm getting there...I think.
It's been a little bit since I've logged what I've been doing, but it's been a lot! Really working on understanding some key SQL concepts, finishing up CSS. The CSS Grid is pretty cool! Seems fairly intuitive. I can definitely see a rabbit hole with creating websites and applications. So many ideas and possibilities. Which brings me to my website. I think I got a little flustered because I could tell I was rushing it. I've pretty much started over on it. Making sure I have good coding and git practices. Jeff helped me get it set up with Bootstrap and Sass. I've decided that I just don't like the bootstrap nav functionality and I was trying to use it, but didn't want it. So, it has been scrapped. There will be other elements of bootstrap that I will be using, like the jumbotron in the header. And form stuff. It's a pretty simple site, so not only is my website practical for employers and recruiters to get to know me and my work/style, this is a huge learning tool for me. Which is why I added Sass and some jquery. I can already tell that I'm going to be chomping at the bit to build another website for myself for music students.
The biggest challenge I am facing right now, is feeling overwhelmed. I am learning so much and it feels like I have just begun understanding a blade of grass in this big wide world of web development. So much still seems like "nerd magic".