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
Transcript
13 slides
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
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
290
Introductory HTML & CSS
ryhan
3
240
Other Decks in Technology
See All in Technology
AIで実装が加速したのに、 なぜ私は仕事の大半で人と話し続けていたのか?
say_no_w
0
190
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
250
Claude Securityを使ってみた / claude-security-claude-code-meetup-nagoya
tnir
0
140
AIネイティブ組織の作り方。1人のPOとAIから始める、自社での実験
ama_ch
2
1.2k
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.1k
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
340
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
240
IoTのデータ保存をSREの観点で考える
grimoh
1
110
Linuxネットワークスタック進化の軌跡: 過去10年の歩みと最新トレンド
orimanabu
4
750
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
170
Biohub - Cell Tracking During Development 5th place solution
rist
0
170
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
190
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Navigating Weather and Climate Data
rabernat
0
590
Mobile First: as difficult as doing things right
swwweet
225
10k
We Are The Robots
honzajavorek
0
450
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
300
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
300
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k