This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*---------------------------------------------------------------------------------------- | |
COMMON STYLES | |
-----------------------------------------------------------------------------------------*/ | |
body { | |
font-family: sans-serif; | |
font-weight: normal; | |
line-height: 1.6; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*---------------------------------------------------------------------------------------- | |
COMMON STYLES | |
-----------------------------------------------------------------------------------------*/ | |
body { | |
font-family: sans-serif; | |
font-weight: normal; | |
line-height: 1.6; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Exercise 1 | |
/*To keep things organized, let's create a folder for this workshop. | |
Run this command to make a directory called javascripting (or something | |
else if you like): | |
mkdir javascripting | |
Change directory into the javascripting folder: | |
cd javascripting | |
Create a file named introduction.js: | |
touch introduction.js | |
Or if you're on Windows: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Exercise 1 | |
console.log('HELLO WORLD'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var electron = require('electron') | |
electron.app.on('ready', function () { | |
var mainWindow = new electron.BrowserWindow({width: 600, height: 800}) | |
mainWindow.loadURL('file://' + __dirname + '/index.html') | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: To add post type | |
* Plugin URI: http://# | |
* Description: This is custom plugin to add taxonomy po post type. | |
* Author: Muzykina Ann | |
* Author URI: http://# | |
* Version: 0.1.0 | |
*/ | |
function create_taxonomy_to_cars() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Accordion widget | |
* Description: Accordion widget | |
* Plugin URL: http://# | |
* Author: Musykuna Ann | |
* Author http://# | |
* Version: 1.0 | |
*/ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Add taxonomy post type | |
* Description: Easy add new taxonomy to your post type | |
* Plugin URL: http://# | |
* Author: Musykuna Ann | |
* Author http://# | |
* Version: 1.0 | |
*/ | |
function create_taxonomy_to_cars() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("a: "+a+", b: "+b+", c: "+c);//a: 1, b: 5, c: 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Exercise 1 | |
/*Scopes | |
The main type of scope in Javascript is Lexical Scoping. Present in the language | |
from the very beginning, this is the scope created within a function, and the | |
one most developers are familiar with.[1] | |
ES6 recently defined Block Scoping. This scope is created within curly braced | |
blocks.[2] |
OlderNewer