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
Web Programming - Lesson 6
Search
Ryan Chung
May 07, 2020
Technology
660
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Web Programming - Lesson 6
Ryan Chung
May 07, 2020
More Decks by Ryan Chung
See All by Ryan Chung
MovieBot Development
ryan403
0
320
Design Voice-First Games for Alexa
ryan403
0
87
AI Teaching Talk
ryan403
0
150
Cognitive Service
ryan403
0
120
jQuery & API Practices
ryan403
0
150
CSS Practices
ryan403
1
180
JavaScript Practices
ryan403
0
110
Web Programming - Lesson 7
ryan403
1
660
Web Programming - Lesson 5
ryan403
1
460
Other Decks in Technology
See All in Technology
個人最適 から 全体最適 へ AI情報共有会・AIギルド・AI-DLC で進める カンリーの組織展開
rfdnxbro
0
1.9k
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.9k
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
2.2k
社内 AI エージェント Synapse と セマンティックレイヤーの育て方
hiroakis
0
360
価格.comをAI駆動で全面刷新する ー 30年分の技術的負債を返し、次の30年の土台をつくる ー / AI Engineering Summit Tokyo 2026
tkyowa
50
56k
いまさら聞けない人のためのAIコーディング入門
devops_vtj
0
130
GoとSIMDとWasmの今。
askua
3
510
DevOps Agentで始めるAWS運用 〜フロンティアエージェントが変える運用の現場〜
nyankotaro
1
320
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
トークン数だけでは測れない — Claude Code 組織展開の効果検証から学んだこと
makikub
0
140
生成 AI × MCP で切り拓く次世代 SRE!自律型運用への挑戦と開発者体験の進化
_awache
0
170
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
3k
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Art, The Web, and Tiny UX
lynnandtonic
304
22k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
RailsConf 2023
tenderlove
30
1.5k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
160
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
330
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Test your architecture with Archunit
thirion
1
2.3k
Transcript
Web Programming –
[email protected]
行動開發學院 行動開發學院 JavaScript Lab 網頁整合 Ryan
Chung 107
Web Programming –
[email protected]
行動開發學院 行動開發學院 目標 • 把目前做過的五個練習頁面變成一個網站 •
有一個首頁,然後可以跳至每個練習頁面 • 每個練習頁面也可以互相連結 • 每個練習頁面也可以回到首頁 108
Web Programming –
[email protected]
行動開發學院 行動開發學院 Bootstrap • 方便好用的樣板,並已考慮桌面與行動端 109
https://getbootstrap.com/
Web Programming –
[email protected]
行動開發學院 行動開發學院 Example : Carousel •
我們用Carousel這個範例來整合 • 下載:https://ppt.cc/f27Lrx 110 https://getbootstrap.com/docs/4.3/examples/
Web Programming –
[email protected]
行動開發學院 行動開發學院 建立一個新專案 • 在電腦中新增一個資料夾:merge-practice •
將剛才解壓縮的內容放至這個資料夾 • 再將過去練習的五個資料夾都搬進來 111
Web Programming –
[email protected]
行動開發學院 行動開發學院 首頁測試 • 先確定樣板範例的 index.html有正常運作
112
Web Programming –
[email protected]
行動開發學院 行動開發學院 新增 random-select.html • 在資料夾中增加random-select.html
• 修改index.html上方的選單 113
Web Programming –
[email protected]
行動開發學院 行動開發學院 編輯random-select.html • 先將index.html中的所有內容貼至random- select.html
• 上方Head中,加入需要的CSS 114
Web Programming –
[email protected]
行動開發學院 行動開發學院 編輯random-select.html • 修改上方選單中的連結 115
Web Programming –
[email protected]
行動開發學院 行動開發學院 編輯random-select.html • main區塊中的大部分內容都刪掉 •
將原本random-select中的index裡的Body中的內容貼過來 116
Web Programming –
[email protected]
行動開發學院 行動開發學院 編輯random-select.html • 最下方加上我們需要的JS檔 117
Web Programming –
[email protected]
行動開發學院 行動開發學院 random-select中的main.js • 合併後需要考量選擇器是否要調整寫法 118
Web Programming –
[email protected]
行動開發學院 行動開發學院 測試 • 首頁可跳至RandomSelect,也可再回來 •
RandomSelect可正常運作 119
Web Programming –
[email protected]
行動開發學院 行動開發學院 相同方法製作另外四個頁面 • 建立xxx.html •
把random-select.html的內容貼過來 • 加上會用到的CSS • 修改Main區塊中的內容(原專案index.html) • 加上會用到的JS • 測試 120
Web Programming –
[email protected]
行動開發學院 行動開發學院 細節 • 增加頁面後,要再回去改其他幾頁的選單 •
active類別可以讓該選單文字為白色 • 該頁面自己的選單href屬性設定為# • js檔中的圖片路徑 • 事件傳回物件的結構是否有改變 121
Web Programming –
[email protected]
行動開發學院 行動開發學院 Recap • Bootstrap –樣板套用與修改
–選單 • JavaScript –放的位置、選擇器調整 • CSS –放的位置 • HTML –頁面超連結 122