Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
160
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
130
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
240
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
430
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
1
250
OAuthからOIDCへ ― 認可の仕組みが認証に拡張されるまで
yamatai1212
0
150
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.9k
それでも私が品質保証プロセスを作り続ける理由 #テストラジオ / Why I still continue to create QA process
pineapplecandy
0
150
AI-Readyを目指した非構造化データのメダリオンアーキテクチャ
r_miura
1
270
Railsの話をしよう
yahonda
0
170
事業開発におけるDify活用事例
kentarofujii
4
1.2k
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Typedesign – Prime Four
hannesfritz
42
2.8k
The Cult of Friendly URLs
andyhume
79
6.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
880
How STYLIGHT went responsive
nonsquared
100
5.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Visualization
eitanlees
149
16k
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