Monday, February 3, 2014

I'm Blind, But Awesome Still Happened!

     Well, it's no longer pleasant outside. It's actually frigid out there. Which is why I'm indoors with a nice cappuccino. After Fighting valiantly against the elements, I made it to my coffee shop of choice, and quickly got some hot caffeine. I have a Flightless Bird by Iron and Wine themed playlist going, I have my cappuccino, I've done some cursory puttering, so it's time to plug in and plug away! 


HTML5



      Well, after having some issues getting my text to align on the center, turns out I needed to say text-align, not font-align, seems it depends on things. Not sure what those things are, but they're there.      Anyhoo, back to the lesson at hand. So, as I'm sure all of us are aware, you need to make sure that when you write some code, spacing matters!! I can't believe I just spent seven minutes thinking I had the syntax of the code incorrectly laid out, when really, I just needed a space! I am so blind...
     And now the internet is down. That's ironic. I come here, because; the wifi is better than what I have at my house, and now it's dead.
     Aaaaand it's back.
     OK, so, I'm dealing with tables now. Table data is pretty much cells and columns. I just created a single-column table. So, that's what you'll probably see on here at some point. Pretty much, once I learn something in HTML, I'm able to apply it to here.
      These guys really like the monsters and super heroes and such. +1 for them! Here's an example:
<html>
    <head>
        <title>Table Time</title>
    </head>
 
    <body>
     
        <table border="1px">
            <tr>
                <td>King Kong</td>
                <td>1933</td>  
            </tr>
         
            <tr>
                <td>Dracula</td>
                <td>1897</td>
            </tr>
         
            <tr>
                <td>Bride of Frankenstein</td>
                <td>1935</td>
            </tr>
        </table>
     
    </body>

</html>
 
     At first, I saw the year by Dracula backwards. I was like: Dracula is not my age! 1987, what? But then I saw that it was 1897 not 1987. It would seem I'm suffering from a mild case of dyslexia today.

JavaScript

     Continuing with the whole Arrays and Objects things, I have been working on them in my lessons once again. This time I'm working on Object constructors. They're pretty much a way to assign things to an Object more easily. Here's an example for those that don't know what that looks like:
var me = new Object();
me.name="Mookie";
me.age=24;
The capitalization of the 'O' in Object is, as in everything in .js, quite important.

THAT WAS AWESOME!!

     The lesson was to create a an array with a first element  that should be a number, its second should be a boolean, its third should be a string, and its fourth should be... an object. They didn't say how to do it, you have to look at the hint, but I figured it out how to do it and it worked! Olé! That makes me feel good about myself that I was able to figure it out and get it to work. I feel like they're trying to get me to do more, but not stuff that I can't handle. I like it. 

     Today has been quite the adventure! I had to relocate after the HTML because life happened, butI was still able to get everything done. I'm very happy about the fart that I was able to work those arrays, and get the Objects and arrays working together. 

No comments:

Post a Comment