$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
(TH Crash Course) Intro to JavaScript
Search
Ryhan Hassan
January 20, 2013
Technology
1
100
(TH Crash Course) Intro to JavaScript
Ryhan Hassan
January 20, 2013
Tweet
Share
More Decks by Ryhan Hassan
See All by Ryhan Hassan
(TH Crash Course) Advanced HTML & CSS
ryhan
5
250
(Skill Swap Weekend) HTML5 & CSS3
ryhan
7
270
Introductory HTML & CSS
ryhan
3
230
Other Decks in Technology
See All in Technology
「え?!それ今ではHTMLだけでできるの!?」驚きの進化を遂げたモダンHTML
riyaamemiya
10
4.4k
セキュリティAIエージェントの現在と未来 / PSS #2 Takumi Session
flatt_security
3
1.3k
GitLab Duo Agent Platformで実現する“AI駆動・継続的サービス開発”と最新情報のアップデート
jeffi7
0
120
なぜ使われないのか?──定量×定性で見極める本当のボトルネック
kakehashi
PRO
1
710
こがヘンだよ!Snowflake?サービス名称へのこだわり
tarotaro0129
0
110
事業部のプロジェクト進行と開発チームの改善の “時間軸" のすり合わせ
konifar
9
2.8k
著者と読み解くAIエージェント現場導入の勘所 Lancers TechBook#2
smiyawaki0820
7
2.7k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
履歴テーブル、今回はこう作りました 〜 Delegated Types編 〜 / How We Built Our History Table This Time — With Delegated Types
moznion
15
9.3k
シンプルを極める。アンチパターンなDB設計の本質
facilo_inc
1
1k
私のRails開発環境
yahonda
0
180
ページの可視領域を算出する方法について整理する
yamatai1212
0
160
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.7k
The Language of Interfaces
destraynor
162
25k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
960
Measuring & Analyzing Core Web Vitals
bluesmoon
9
690
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Statistics for Hackers
jakevdp
799
230k
Transcript
Intr t JavaScript & jQuery
@ Ryhan Hassan
Why learn JavaScript? Critical for Web Development. Write once, run
anywhere. Asynchronous (non-blocking).
Respond to User Input Manipulate Page Content Fetch Data from
APIs
T l jQuery & Web Inspector
Why use jQuery? Simplifies code. Manages cross-browser compatibility. Useful plugins.
console.log(“hello world”); hello world function hello() { console.log(“hello world”); }
hello(); hello world Functions
function addOne(value){ return value + 1; } addOne(4); 5 function
addTwo(value){ return addOne(addOne(value)); } addTwo(3); // -> addOne(addOne(3)); 4 Composing Functions
count = 10; function incCount(){ count++; console.log(count); } incCount(); 11
Variable Scope
count = 10; function incCount(){ var count = 0; count++;
console.log(count); } incCount(); 0 Variable Scope
None
Sample Code https://github.com/ryhan/th-javascript-talk
15-237 Course Website http://www.kosbie.net/cmu/fall-12/15-237/ Underscore.js Functional JS http://underscorejs.org