Tutorial 2: �HTML, CSS, JavaScript
Hyungyu Shin
Human-AI Interaction KAIST Spring 2021 | human-ai.kixlab.org
1
Learning Objective of Tutorial 2 & 3
“Students are able to build the following user interface”
2
How does it work?
3
User
Web-based User Interface
Server
How does it work?
4
User
Web-based User Interface
Server
How does it work?
5
User
Web-based User Interface
Server
HTML/CSS/JavaScript
Python
How does it work?
6
User
Web-based User Interface
Server
HTML/CSS/JavaScript
Python
React, Vue.js
Django, Flask
How does it work?
7
User
Web-based User Interface
Server
HTML/CSS/JavaScript
Python
React, Vue.js
Django, Flask
Tutorial 2
Tutorial 3
Let’s build the following website
8
Let’s build the following website
9
Bigger font size
Bold
Bigger font size
Bold
Let’s build the following website
10
Bigger font size
Bold
Bigger font size
Bold
Input box
Let’s build the following website
11
Bigger font size
Bold
Bigger font size
Bold
Input box
Button
Let’s build the following website
12
Bigger font size
Bold
Bigger font size
Bold
Input box
Button
Horizontal line
Let’s build the following website
13
Bigger font size
Bold
Bigger font size
Bold
Input box
Button
Horizontal line
Text in the input box
Three things to remember:
Structure, Presentation, and Action
14
Structure
15
Structure + Presentation
16
Structure + Presentation + Action
17
HTML, CSS, and JavaScript
18
CodePen, an online code editor for web dev
19
Takeaway
20
Separation of concerns