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.
Using the prompt() method.
'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
Explanation of how to use the console also very helpful.
This treehouse series on sass is really good. Great to have clear explanations of all these basics and more, which I've been using for a while but not had the time to understand properly and use more effectively.
sass guide sass-lang.com/guide
name that colour: chir.ag/projects/name-that-color/
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:
- global composer has to be installed already
- install cgr:
composer global require consolidation/cgr
- Then using your new cgr command, install the version you want of drush like this. In my case I wanted 8.1.13:
And that's all.