Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
(TH Crash Course) Intro to JavaScript
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ryhan Hassan
January 20, 2013
Technology
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
(TH Crash Course) Intro to JavaScript
Ryhan Hassan
January 20, 2013
More Decks by Ryhan Hassan
See All by Ryhan Hassan
(TH Crash Course) Advanced HTML & CSS
ryhan
5
260
(Skill Swap Weekend) HTML5 & CSS3
ryhan
7
280
Introductory HTML & CSS
ryhan
3
240
Other Decks in Technology
See All in Technology
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.3k
SREでアラート疲れを 解決しよう!
kairim0
1
230
USB PDを使ってスマホを労わりたい
raspython3
0
160
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
5.9k
Loop Engineering, beyond prompt, context, and harness engineering
glaforge
0
100
大型犬好きによるPugの紹介
yamanoku
1
150
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
720
AIは「聞けば答える」から「任せると自分で進める」へ - JACTIMペナン地域部会・ペナン三水会講演
knishioka
0
110
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
360
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
190
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
350
Kiro Crewをはじめよう
kizawa2020
1
150
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Building the Perfect Custom Keyboard
takai
2
900
The Limits of Empathy - UXLibs8
cassininazir
2
720
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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