TG/home

Foundations Reflections

A reflection on Foundations - Core

May 7, 2022 by Tim Greenslade
photograph of a tree reflected in a lake

What are three new things you have learnt about yourself and your ego due to the core learning?

  1. have been reminded of the value of asking for help. I've spent a decade working in the library. I've been the person who trains new team members, and now I'm relearning what it's like to be a student.
  2. am already very good at working on problems, when coding I often find myself in a state of flow. But I have found that When I put conscious effort into planning and scheduling my time, I can achieve so much more.
  3. learn more effectively when I tell someone about what I've been working on.

Problem Solving

How to get things done

May 8, 2022 by Tim Greenslade
photograph of a rubber ducky

A time I got unstuck; using .map() method to capitalize each word:

I was stuck on how to select each word within a single string using the .map() method. It made sense initially, all I had to do was run the map method on the string. Make an array with all the elements and capitalise them, simple as that. However, the string was just a single element. I needed a way to make each word an individual string element, so that I could run the map method on each of them. I googled and did some research ("how to split a string into multiple elements"). I discovered the .split() method. MDN says "The .split() method divides a String into an ordered list of substrings" and I knew I'd found the final piece of the puzzle. All I had to do was tell the map function exactly what I wanted it to do; first index in each element `.toUpperCase()` and the indexes after that to .substring.

Neuroplasticity

Neuroplasticity and Growth Mindset

May 6, 2022 by Tim Greenslade
photograph of a road going and trees

How people can benefit from principles of neuroplasticity.

Neuroplasticity research introduces the idea that our brains are malleable, that we can reinforce the permanence of neural networks with repeated practice of an activity or access of memories. In other words practice makes perfect, or, more accurately, access makes perfect.

If people understand that they can 'rewire' their brain to retain anything through practice and recollection, it makes it easier for them to adopt a growth mindset and achieve more.

Emotional Intelligence

Self-Awareness, Mindfulness and Loving yourself

May 1, 2022 by Tim Greenslade
photograph of candle burner

Emotional Intelligence is an approach to life and not so much a quantifiable personality stat. We can think of it as a toolkit to help us live with the complex trials and tribulations of being a person in a chaotic world. The purpose of the toolkit is to help us know ourselves, focus on the present and steer away from negative and critical thoughts.

Keep reading for some thoughts on those three pillars.

JavaScript Fundamentals

JS Fundamentals and the DOM

April 30, 2022 by Tim Greenslade
photograph of js doc

Lets Begin with An analogy to describe how JavaScript relates to HTML and CSS:

Lets say a film has three key elements:

  • the script - lays out the bones of the film, like HTML.
  • the sets - renders the film visually, like CSS.
  • the performers - bring the film to life, like JS.

You could have a film with scripts and sets, but it would be dull. It takes performers to bring a film to life. like JavaScript, they create interactivity and allows events to occur.

My Identity, Values and Strengths

A self introduction

April 22, 2022 by Tim Greenslade
photograph of me on wharf

Explain a situation where you have had an ethical decision to make. Discuss how you weighed up the values involved in that decision, the decision you made, and the consequences of your action.

I found myself thinking of ways to reduce my personal impact on climate change. One of the things coming up on study after study was diet. I felt that a plant-based diet was something I could get on board with. It was a decision that lined up two of my core values; being constructive rather than destructive and empathy for every living thing. I went with it and 10 years later I am healthier and feel a weight off my shoulders because I'm doing something. It also encouraged me to find other things I could do to help.

How has your culture influenced your values and identity?...

CSS Positions

What is the difference between Relative, Absolute and Fixed Positions?

April 21, 2022 by Tim Greenslade
photograph of a compass and sextant on a table

Position: relative;

position: relative; allows an element to be moved relative to itself.

This means that the element can only be moved from its default starting position.

When you add top, bottom, left or right values, they push the element away from its original position. Meaning left moves the element to the right and so on. You can see this demonstrated in the embedded CodePen below...

Git Cheat Sheet

A summary of my Git learnings, makes a handy cheat sheet.

April 20, 2022 by Tim Greenslade
picture of octocat and groot reading a book

Git Setup

  1. Create directory mkdir
  2. git init creates a local repository. It is done in an existing directory
  3. $ git clone https://github.com/<directory> to clone a repository into the directory
  4. git add
  5. git commit
  6. git push

git log Is used to display commits. It includes...

Recommended

Git Cheat Sheet

A summary of my Git learnings, makes a handy cheat sheet.

April 20, 2022 by Tim Greenslade
photograph of a compass and sextant on a table

CSS - Position

What is the difference between Relative, Absolute and Fixed Positions?

April 21, 2022 by Tim Greenslade
photograph of me on a wharf

Self Introduction

April 22, 2022 by Tim Greenslade

...view archive