JavaScript with LinkedIn Learning, Day 4

Just a short post today. I’ve been following up on the practice exercises from last time, building a class and using it to create objects. I ran into some issues with it, though — I can’t access my new class and its constructor from the browser console. My first suspicion is that it’s because I switched browsers (formerly using the Firefox console, now using Chrome). Maybe Firefox is more forgiving in some way — but I can’t think of why… Read moreJavaScript with LinkedIn Learning, Day 4

JavaScript with LinkedIn Learning, Day 3

Another day, another example of JavaScript doing things strangely, where strange is defined in the self-centered manner of “not how I would expect, based on what I learned”. This time it’s the flexible method of creating a class: either using a declaration: Or using an expression: According to the lesson the trend is towards using an expression, but the instructor uses a declaration, and it seems to me to line up with other languages’ way of doing things a bit… Read moreJavaScript with LinkedIn Learning, Day 3

JavaScript with LinkedIn Learning, Day 2

Bracket Notation The first big thing today was learning about accessing the properties of different objects. The standard notation – aka, what I’m used to – is dot notation (object.property), but today I discovered bracket notation, which looks like object[“property”]. This is used for cases where the property is a variable rather than a constant, or the property might not conform to JavaScript naming conventions (basically, there’s nothing preventing an object or variable from being named in a way that… Read moreJavaScript with LinkedIn Learning, Day 2

JavaScript with LinkedIn Learning, Day 1(ish)

As per usual, the “first” day was all setup, and the real day one is where the learning starts. I’m following along with this tutorial in LinkedIn Learning, to get familiar with some of the basics of JavaScript. Fun Little Tidbits Special Commenting Trick: First, I learned that you can put your cursor on a line of code (or highlight multiple lines) hit CTRL+/ in order to comment out those line(s). Probably old news for some people, but absolutely magic… Read moreJavaScript with LinkedIn Learning, Day 1(ish)

Rails Girls, Day 3

Been a while, hasn’t it? Anyway, I’ve finally had a bit of time now to sit down and revisit the tutorial. The next steps in the tutorial (the link is here if you’re interested) are regarding adding picture/file uploads to the server (so, section 4). This bit started off pretty simple. I did hit that one error they warn you about, where the uploader cannot be found and you need to add another gem, but that only added a step… Read moreRails Girls, Day 3