README.md

Download
markdown 153 lines 4.0 KB
  1# Web_Development 예제
  2
  3Web_Development ν΄λ”μ˜ 14개 λ ˆμŠ¨μ— ν•΄λ‹Ήν•˜λŠ” μ‹€ν–‰ κ°€λŠ₯ν•œ 예제 μ½”λ“œμž…λ‹ˆλ‹€.
  4
  5## 폴더 ꡬ쑰
  6
  7```
  8examples/
  9β”œβ”€β”€ 01_html_basics/       # HTML 기초
 10β”‚   β”œβ”€β”€ index.html        # κΈ°λ³Έ νƒœκ·Έ
 11β”‚   └── semantic.html     # μ‹œλ§¨ν‹± HTML
 12β”‚
 13β”œβ”€β”€ 02_html_forms/        # 폼과 ν…Œμ΄λΈ”
 14β”‚   β”œβ”€β”€ form_example.html # 폼 μš”μ†Œ
 15β”‚   └── table_example.html # ν…Œμ΄λΈ”
 16β”‚
 17β”œβ”€β”€ 03_css_basics/        # CSS 기초
 18β”‚   β”œβ”€β”€ index.html        # μ„ νƒμž, λ°•μŠ€λͺ¨λΈ
 19β”‚   └── style.css
 20β”‚
 21β”œβ”€β”€ 04_css_layout/        # CSS λ ˆμ΄μ•„μ›ƒ
 22β”‚   β”œβ”€β”€ flexbox.html      # Flexbox
 23β”‚   β”œβ”€β”€ grid.html         # Grid
 24β”‚   └── style.css
 25β”‚
 26β”œβ”€β”€ 05_css_responsive/    # λ°˜μ‘ν˜• λ””μžμΈ
 27β”‚   β”œβ”€β”€ index.html        # 미디어쿼리
 28β”‚   └── style.css
 29β”‚
 30β”œβ”€β”€ 06_js_basics/         # JavaScript 기초
 31β”‚   β”œβ”€β”€ index.html        # λ³€μˆ˜, ν•¨μˆ˜, λ°°μ—΄, 객체
 32β”‚   └── script.js
 33β”‚
 34β”œβ”€β”€ 07_js_dom/            # DOM μ‘°μž‘
 35β”‚   β”œβ”€β”€ index.html        # DOM API, 이벀트
 36β”‚   └── script.js
 37β”‚
 38β”œβ”€β”€ 08_js_async/          # 비동기 ν”„λ‘œκ·Έλž˜λ°
 39β”‚   β”œβ”€β”€ index.html        # Promise, async/await
 40β”‚   └── script.js
 41β”‚
 42β”œβ”€β”€ 09_project_todo/      # Todo μ•± ν”„λ‘œμ νŠΈ
 43β”‚   β”œβ”€β”€ index.html
 44β”‚   β”œβ”€β”€ style.css
 45β”‚   └── app.js
 46β”‚
 47β”œβ”€β”€ 10_project_weather/   # 날씨 μ•± ν”„λ‘œμ νŠΈ
 48β”‚   β”œβ”€β”€ index.html
 49β”‚   β”œβ”€β”€ style.css
 50β”‚   └── app.js
 51β”‚
 52β”œβ”€β”€ 11_typescript/        # TypeScript
 53β”‚   β”œβ”€β”€ basics.ts         # νƒ€μž… 기초
 54β”‚   β”œβ”€β”€ interfaces.ts     # μΈν„°νŽ˜μ΄μŠ€
 55β”‚   └── tsconfig.json
 56β”‚
 57β”œβ”€β”€ 12_accessibility/     # μ›Ή μ ‘κ·Όμ„±
 58β”‚   β”œβ”€β”€ index.html        # ARIA, ν‚€λ³΄λ“œ
 59β”‚   └── style.css
 60β”‚
 61β”œβ”€β”€ 13_seo/               # SEO
 62β”‚   └── index.html        # λ©”νƒ€νƒœκ·Έ, ꡬ쑰화데이터
 63β”‚
 64└── 14_build_tools/       # λΉŒλ“œ 도ꡬ
 65    β”œβ”€β”€ vite-project/
 66    └── webpack-example/
 67```
 68
 69## μ‹€ν–‰ 방법
 70
 71### HTML/CSS/JS 예제
 72
 73```bash
 74# 방법 1: λΈŒλΌμš°μ €μ—μ„œ 직접 μ—΄κΈ°
 75open examples/01_html_basics/index.html
 76
 77# 방법 2: VS Code Live Server
 78# VS Codeμ—μ„œ Live Server ν™•μž₯ μ„€μΉ˜ ν›„ Go Live 클릭
 79
 80# 방법 3: Python 간이 μ„œλ²„
 81cd examples
 82python -m http.server 8000
 83# λΈŒλΌμš°μ €μ—μ„œ http://localhost:8000 접속
 84```
 85
 86### TypeScript 예제
 87
 88```bash
 89# TypeScript μ„€μΉ˜
 90npm install -g typescript
 91
 92# 컴파일
 93cd examples/11_typescript
 94tsc basics.ts
 95
 96# λ˜λŠ” ts-node둜 직접 μ‹€ν–‰
 97npx ts-node basics.ts
 98```
 99
100### λΉŒλ“œ 도ꡬ 예제
101
102```bash
103# Vite
104cd examples/14_build_tools/vite-project
105npm install
106npm run dev
107
108# Webpack
109cd examples/14_build_tools/webpack-example
110npm install
111npm run build
112npm run dev
113```
114
115## λ ˆμŠ¨λ³„ 예제 λͺ©λ‘
116
117| 레슨 | 주제 | 예제 파일 |
118|------|------|-----------|
119| 01 | HTML 기초 | index.html, semantic.html |
120| 02 | HTML 폼/ν…Œμ΄λΈ” | form_example.html, table_example.html |
121| 03 | CSS 기초 | μ„ νƒμž, λ°•μŠ€λͺ¨λΈ, ν…μŠ€νŠΈ |
122| 04 | CSS λ ˆμ΄μ•„μ›ƒ | Flexbox, Grid |
123| 05 | λ°˜μ‘ν˜• λ””μžμΈ | 미디어쿼리, λͺ¨λ°”일 퍼슀트 |
124| 06 | JS 기초 | λ³€μˆ˜, ν•¨μˆ˜, λ°°μ—΄, 객체, 클래슀 |
125| 07 | DOM/이벀트 | DOM μ‘°μž‘, 이벀트 처리 |
126| 08 | 비동기 JS | Promise, async/await, fetch |
127| 09 | Todo μ•± | CRUD, λ‘œμ»¬μŠ€ν† λ¦¬μ§€, ν•„ν„° |
128| 10 | 날씨 μ•± | API 연동, 비동기 처리 |
129| 11 | TypeScript | νƒ€μž…, μΈν„°νŽ˜μ΄μŠ€, μ œλ„€λ¦­ |
130| 12 | μ›Ή μ ‘κ·Όμ„± | ARIA, ν‚€λ³΄λ“œ, μŠ€ν¬λ¦°λ¦¬λ” |
131| 13 | SEO | λ©”νƒ€νƒœκ·Έ, ꡬ쑰화 데이터 |
132| 14 | λΉŒλ“œ 도ꡬ | Vite, Webpack |
133
134## ν•™μŠ΅ μˆœμ„œ
135
1361. **기초**: 01 β†’ 02 β†’ 03 β†’ 04 β†’ 05
1372. **JavaScript**: 06 β†’ 07 β†’ 08
1383. **ν”„λ‘œμ νŠΈ**: 09 β†’ 10
1394. **κ³ κΈ‰**: 11 β†’ 12 β†’ 13 β†’ 14
140
141## λΈŒλΌμš°μ € ν˜Έν™˜μ„±
142
143- Chrome 80+
144- Firefox 75+
145- Safari 13+
146- Edge 80+
147
148## 참고 자료
149
150- [MDN Web Docs](https://developer.mozilla.org/ko/)
151- [CSS-Tricks](https://css-tricks.com/)
152- [JavaScript.info](https://javascript.info/)