JS - React workshop

Posted on: Fri, 27/07/2018 - 10:19 By: sacha

Two days of basic js training using react.  Day one we all worked on creating a very basic  tic tac toe game, day 2 a meme generator.

All very much beyond me, too advanced to be able to do much of anything.  Most of the group felt the same.  Also no talk about how this would integrate with a website. But good exposure I suppose, made two very basic react apps with a lot of help.  But not the basic intro to js I was expecting.

reactjs.org

reactjs.org/tutorial/tutorial.html

Capturing Visitor Input

Posted on: Tue, 17/07/2018 - 10:08 By: sacha

Using the prompt() method.

Concatenation

The process of combining strings is called "concatenation". In JavaScript, you combine strings with a + operator like this:

'one string ' + ' another string'

If you have a variable that contains a string you can combine it with a literal string value to come up with a new string:

var name = "Dave";
var message = "Hello " + name;

Access the variable to update the variable

Javascript basics

Posted on: Mon, 16/07/2018 - 14:44 By: sacha

Treehouse trainerPreparing for two day javascript training a couple of weeks from now by running through treehouse training on basics of javascript.  This is something else that I've used for the past couple of years without much of an understanding of what is going on.  So, this basic introduction is very helpful.

Explanation of how to use the console also very helpful.

Git merging branches

Posted on: Tue, 03/07/2018 - 08:14 By: sacha

At a point where feel I should merge my doodle day feature branch into my standard sandbox branch.  First time doing this:

  1. On branch feature/doodleday-section prepare for merge by adding all files not staged for commit, and commit

How to install specific version of drush

Posted on: Fri, 22/06/2018 - 09:30 By: sacha

Quick one - how to install a specific version of drush.  Because googling this results in a multitude of possible ways to install drush, here is a quick and to the point method:

  1. global composer has to be installed already
  2. install cgr:
    composer global require consolidation/cgr 
  3. Then using your new cgr command, install the version you want of drush like this. In my case I wanted 8.1.13:
    cgr drush/drush:8.1.13

And that's all.

Subscribe to