- https://www.youtube.com/user/DevTipsForDesigners/videos - туторијали, објаснувања итн (особено постарите видеа)
- https://www.youtube.com/user/learncodeacademy/featured - слично како претходното
- https://javascript30.com/ - hands-on учење, практични апликации
- https://www.udacity.com/course/intro-to-javascript--ud803 - почетнички JS курс
- https://www.udacity.com/course/es6-javascript-improved--ud356 - исто почетнички JS курс што се фокусира на „новата“ JS синтакса
This file contains 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
let contentElement = document.getElementById('content'); | |
let contents = ""; | |
// document.getElementById('content').innerHTML = contents; | |
igri.forEach(function (element) { | |
// let contents = ""; | |
contents += `<div class="col-lg-4 col-md-4 col-sm-6"> | |
<div id="text"> | |
<a class="textDecoA" href='singlecard.html'data-toggle="tooltip" container: 'body' data-placement="auto top" | |
title="Click to enter the game" | |
data-trigger="mouse hover"> |
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/pop
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat
This file contains 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
<script type="text/javascript"> | |
function downloadJSAtOnload() { | |
var element = document.createElement("script"); | |
element.src = "defer.js"; | |
document.body.appendChild(element); | |
} | |
if (window.addEventListener) | |
window.addEventListener("load", downloadJSAtOnload, false); |
This file contains 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 asCircle = function() { | |
this.area = function() { | |
return Math.PI * this.radius * this.radius; | |
}; | |
this.grow = function() { | |
this.radius++; | |
}; | |
this.shrink = function() { | |
this.radius--; | |
}; |
This file contains 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
import XMonad | |
import XMonad.Core | |
import XMonad.Config.Gnome | |
import XMonad.Util.Dmenu | |
import XMonad.Layout.NoBorders | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M | |
import XMonad.Hooks.ManageDocks | |
myManageHook = composeAll |
This file contains 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
function interval(duration, fn){ | |
this.baseline = undefined | |
this.run = function(){ | |
if(this.baseline === undefined){ | |
this.baseline = new Date().getTime() | |
} | |
fn() | |
var end = new Date().getTime() | |
this.baseline += duration |