์ ๋ชฉ์ฐจ ์ ์ฉ์ด ์ ๋์ง?
๐ ์ดํํ 16hour
๐๐ผ ์ด๊ณต
๐๐ผ -
ํ ๊ฐ์ง ์ธ์ด์ ๋ํด์ ์ ๋๋ก ์๋ฉด ๋ฐ๋ณต๋ฌธ, ์กฐ๊ฑด๋ฌธ, ํจ์, ํด๋์ค, ๊ฐ์ฒด์งํฅ ๊ฐ๋
์ ๊ฐ๊ณ ๋ฌธ๋ฒ๋ง ๋ค๋ฅผ ๋ฟ์ด๋ค.
์คํ ์์ค, ๊ตฌ๊ธ๋ง, ์ ๋ฐฐ ํตํด์ ์ ๊ทน์ ๋ฅ๋์ ์ผ๋ก ๋น ๋ฅด๊ฒ ํก์ํ๊ธฐ
์๊ณ ๋ฆฌ์ฆ : ์
๋ ฅ, ์ถ๋ ฅ, ์ ํ์ฑ, ๋ช
๋ฐฑ์ฑ, ํจ๊ณผ์ฑ
C์ธ์ด ๊ธฐ์ด ํ๋ก๊ทธ๋๋ฐ(์ธ์ด)+์๋ฃ๊ตฌ์กฐ -> ์ค์ ์๊ณ ๋ฆฌ์ฆ ๊ฐ์ข
์ค์ผ์ค๊ด๋ฆฌ, ๋ค๋น๊ฒ์ด์
, ๊ฒ์ํ
The Web Developer Bootcamp 2021
Taehoon CSS Grid ์ค๋ช
MDN Grid system
๋ง์ฐ์ค ํฌ์ธํฐ ํจ๊ณผ Javascript
Bootstrap Icons
SVG Guide
Font Awsome
Icon sites
Codepen JS Airplanes
Poly.google
GreenSock ScrollTrriger
Cํ๋ก๊ทธ๋๋ฐ ์
๋ฌธ by๋๋์ฝ๋ฉ
Jump to Python WikiDocs
css ๋งํฌ ๋ณต์ฌ ํ head์ ๋ถ์ฌ๋ฃ๊ธฐ, stylesheet ์์ ๋ฃ์ด์ผ ๋ด๊บผ ์ ๋ฌปํ
js script closing body tag ์ ์ ๋ฃ๊ธฐ
container ์ grid sytem (grid system ์ฌ์ฉํ๋ ค๋ฉด container ํ์)
container-fluid
container-md(sm,md,lg,xl)
Typography
Blockquotes
<blockquote class ="blockquote">
Alignment
[Utility]
not component, stand alone, ๋ค์ ์ถ๊ฐํ๋ฉด ๋จ
badge
button group
alert
dismissing
โ
Bootstrap Basics Practice(Done)
Every row in Bootstrap has 12 units of space, total is always 12 units
MDN Grid system
div ๋์ container ์ธ ์ ์๊ธด ํ๋ margin ์๊น
โ
Bootstrap Grid Practice(Done)
<div class="container">
<div class="row">
<div class="col-4 bg-danger">One Third</div>
<div class="col-8 bg-warning">Two Thirds</div></div>
<div class="row">
<div class="col-3 bg-info">One Quarter</div>
<div class="col-6 bg-warning">One Half</div>
<div class="col-3 bg-success">One Quarter</div>
</div>
</div>
<div class="col-6">
<!--ํฌ๊ธฐ๊ฐ ์ค์ด๋ 6๊ทธ๋ฆฌ๋๋ฅผ ๊ณ์ ์ฐจ์งํ๋ค-->
<div class="col-md-6">
<!--6units๋ฅผ ์ฐจ์งํ๋ค๊ฐ medium ์ฌ์ด์ฆ ๋ฐ์ผ๋ก ๋ด๋ ค๊ฐ๋ฉด ์ฌ์ดํธ ์ ์ฒด๋ฅผ ์ฐจ์งํ๋ค-->
<div class="col-md-6 col-xl-3">
<!--์ด์ ์๋ stack, medium์ฌ์ด์ฆ๋ถํฐ๋ 6์นธ ์ฐจ์ง, xl ์ฌ์ด์ฆ๋ถํฐ 3์นธ ์ฐจ์ง-->
container์ ํฌ๊ธฐ์ ๋ฐ๋ผ ๋ณํ
<div class="row no-gutters"><!--nogutters:๋ง์ง ์์จ ๋ ์-->
<div class="col-xl-4 col-md-6">
<img class="img-fluid" src="" alt="">
``
``
<input type="email" class="form-control" id="email">
<div class="form-group">
<label for="password">Password</label>
<intput type="password" class="form-control" id="password"> </div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="state">City</label>
<input type="text" class="form-control" id="city">
</div>
<div class="form-group col-md-3 c0l-6">
<label for="state">State</label>
<select class="form-control" name="state" id="state">
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
</select>
</div>
<div class="form-group col-md-3 col-6">
<label for="zip">Zip Code</label>
<input type="text" class="form-control" id="zip">
</div>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="tos">
<label class="custom-control-label" for="tos"Sign Me Up</label>
</div>
</div>
<button type="submit" class="btn btn-success">Register</button>
Bootstrap Icons
๊ทธ๋ฅ ์ํ๋ ๊ณณ์ ๋ฐ๋ก ๋ฃ์ผ๋ฉด ๋จ
โ ๏ธ optional) Musiem of Candy Project(Undone)
The basic building blocks
number, string, boolean, null, undefined
๐ธ cmd +option+ J : ๊ฒ์ฌ์ฐฝ
clear(): console์ฐฝ ๊นจ๋ํ๊ฒ
js has one number type
positive numbers
negative numbers
whole number (integer) (์ ์)
decimal(์์) numbers
// ์ฃผ์
PEMDAS: order of operation
parentheses
exponentiation and root extraction
multiplication and division
addition and subtraction
9 % 2 ->remainder = 9-24=1
2 ** 3 -> 22*2 = 8
numeric value, but not a number
technically number in js
0/0 //NaN
1+NaN //NaN
typeof 4 //number
NaN * 12 //NaN
(13%5)**2 //9
200+0/0 //NaN
variables are like labels for values
jar with a value inside of it, with a label on it
let year=1985; //registering variable
let roosters = 2;
hens + roosters //6, recall values
roosters + 1 = 3;
์๋ซ์ค ๋ณ๊ฒฝํ๋ค๊ณ ์๊ฐ๋ ๋ณ๊ฒฝ๋๋ ๊ฒ์ด ์๋
snapshot์ ์ฐ๋ ๊ฒ, link๋ ๊ฒ์ด ์๋
โ
Our First Variables Exercise(Done)
``
score += 5; //+5๊ฐ score๋ก update ๋๋ค
score -= 10; //-10์ด score๋ก updat ๋๋ค
score *= 2;
numLives-- //decrements by 1
numLives++ //increments by 1
``
๐ธ clear() = command + k
const works just like let, except you cannot change or update the value.
const age = 17;
age = age + 1; //ERROR
-> const ์ฐ๋ ์ด์
const dayssInWeek = 7;
true false (lowercase๋ก๋ง ์จ์ผ ํจ)
Variables can change Types -> 2 -> false ๊ฐ๋ฅ
typescript๋ javascript ๊ธฐ๋ฐ์ ์ธ์ด์ธ๋ฐ ์ข fancier
variable - valid identifier
๋์ด์ฐ๊ธฐ ์ ๋จ
์ซ์ ์ฐ๋ ๊ฑด ๋จ
๊ทผ๋ฐ ์ซ์๋ก ์์ํ๋ ๊ฑด ์ ๋จ
_ (underscore ๊ฐ๋ฅ) ์ด๊ฑธ๋ก ์์ํ๋ ๊ฑด ๊ฐ๋ฅ
๋ณดํต ์ธ๋์ค์ฝ์ด, ์ฒซ๋ฌธ์ ์ดํผ์ผ์ด์ค๋ก ์ ์ด๋ค
camelCase๋ฅผ ์ด๋ค -> ๋๋ฒ์งธ ๋จ์ด ์ฒซ๋ฌธ์๋ฅผ ๋๋ฌธ์๋ก
let currentYear = 1999;
isLoggedIn
isGameOver ์ด๋ฐ ๊ฑฐ ์์ฃผ ์ is ์ฐ๋ ์ด์ ๋ boolean variable์ด๋ผ๋ ๊ฒ ๋ณด์ฌ์ฃผ๊ธฐ ์ํด
number
string : text, strings of characters, ' " ์ํ๋ ๋๋ก ์ฐ์ง๋ง ์ผ๊ด์ฑ ์๊ฒ
boolean
null
undefined
"" : technically a string, empty string
โ
Our First String Variables Practice(Done)
strings are indexed, each character has a corresponding index, a positional number
let animal = "dumbo
์ธ๋ฑ์ค๋ก figure out ํจ
animal.length ๋ก length ์ ์ ์์
highest index = length -1
"lol"[0] ๋ ๊ฐ๋ฅ
concatenation: "lol" + "lol"
let firstName = "River"; //1
let lastName = "Phoenix";
firstName + lastName //RiverPhoenix
firstName = "river" //2
1๊ณผ 2๋ ๊ฐ์ ๊ฒ ์๋๋ค, completely different string
let fullName = firstName + " " + lastName
์ค ์ ๋ง์ถ๋ฉด ์คํ ์ ๋จ (๋ค์ฌ์ฐ๊ธฐ ํด์ผ ํจ)
์๋ฃํ: ํ๋ก๊ทธ๋จ์ ๊ธฐ๋ณธ์ด์ ํต์ฌ
Hello World
>>> 7 % 3
1
>>> 3 % 7
3
"""
๋ฌธ์์ด ์ค๋ฅ๋ฅผ ์ผ์ผํค์ง ์๋ ๋ฐฉ๋ฒ๋ค (" ' ๋ฐ๋๋ก ์จ์ฃผ๊ธฐ), \๋ฅผ ๋ฐ์ดํ ์์ ์จ์ฃผ๊ธฐ
"""
food = "Python's favorite food is perl"
say = '"Python is very easy." he says.'
say = "\"Python is very easy.\" he says."
"""
์ฌ๋ฌ ์ค์ธ ๋ฌธ์์ด์ ๋ณ์์ ๋์
ํ๊ณ ์ถ์ ๋, ํฐ๋ฐ์ดํ ์ธ ๊ฐ๋ ๊ฐ๋ฅํ๋ค
"""
multiline='''
... Life is too short
... You need python
... '''
\n ๋ฌธ์์ด ์์์ ์ค์ ๋ฐ๊ฟ ๋ ์ฌ์ฉ
\t ๋ฌธ์์ด ์ฌ์ด์ ํญ ๊ฐ๊ฒฉ์ ์ค ๋ ์ฌ์ฉ
\ ๋ฌธ์ \๋ฅผ ๊ทธ๋๋ก ํํํ ๋ ์ฌ์ฉ
\' ์์๋ฐ์ดํ(')๋ฅผ ๊ทธ๋๋ก ํํํ ๋ ์ฌ์ฉ
\" ํฐ๋ฐ์ดํ(")๋ฅผ ๊ทธ๋๋ก ํํํ ๋ ์ฌ์ฉ
๋ฐ์ดํ๋ก ๋๋ฌ์ธ์ฌ ์์ผ๋ฉด "123"์ด๋ผ๋ ๋ฌธ์์ด!
์ธ๋ฑ์ฑ: a[๋ฒํธ]
์ฌ๋ผ์ด์ฑ(Slicing): a[0:4] ->์ฃผ์: ๋ ๋ฒํธ์ ํด๋นํ๋ ๊ฒ์ ํฌํจํ์ง ์๋๋ค
a[0:4] = 0 <= a < 3
a[19:] : ์์ ๋ฒํธ๋ถํฐ ๋๊น์ง
a[:] : ์ฒ์๋ถํฐ ๋๊น์ง
ํ์ด์ฌ์ 0๋ถํฐ ์์ํ๋ ๊ฒ ์์ง ๋ง๊ธฐ!!!
๋ฌธ์์ด ์๋ฃํ์ immutableํ ์๋ฃํ์ด๋ฏ๋ก ์ธ๋ฑ์ฑ์ผ๋ก ๋ฐ๋ก ๋ฐ๊พธ๋ ค ํ๋ฉด ์ค๋ฅ
ํ์ง๋ง ์ฌ๋ผ์ด์ฑ ํตํด์๋ ๋ฐ๊ฟ ์ ์๋ค -> ์ฌ์ด์ ์ถ๊ฐํ์ฌ ์๋ก์ด ๋ฌธ์์ด์ ๋ง๋ค ์ ์๊ธฐ ๋๋ฌธ
%s ๋ ์๋์ผ๋ก % ๋ค์ ์๋ ๊ฐ์ ๋ฌธ์์ด๋ก ๋ฐ๊พผ๋ค
"Error is %d%." % 98 ->์ด๋ฌ๋ฉด ์ค๋ฅ ๋ธ, ๋ฐ๋์ ํฌ๋งคํ
์ฐ์ฐ์์ ํจ๊ป %๋ฅผ ์ธ ๋๋ %%๋ฅผ ์จ์ค๋ค.
"Error is %d%%." % 98