thumbnail

offset().top

์ •ํ™•ํžˆ ์ดํ•ดํ•˜๊ณ ์ž ์ •๋ฆฌํ•ด๋‘๋Š” ๊ธ€. offset() ๊ฐ€์žฅ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” ๋ฉ”์„œ๋“œ๋Š” top์ด ์žˆ๋‹ค. ์ด ๋ฉ”์„œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด์„œ window์ฐฝ์œผ๋กœ๋ถ€ํ„ฐ ๊ฑฐ๋ฆฌ๊ณ„์‚ฐ์„ ํ•  ์ˆ˜ ์žˆ๋‹ค. offset.jpg stop point๊ณ„์‚ฐ์€ ํ•ด๋‹น ์Šคํƒ‘ํฌ์ธํŠธ์˜ offset().top์—์„œ ํ•ด...

7์ผ ์ „0๊ฐœ์˜ ๋Œ“๊ธ€

๐Ÿคฏ ์ž๊ทน

์ž๊ทน๋ฐ›๊ฑฐ๋‚˜, ์ž๊ธฐ๊ฐœ๋ฐœ์— ์œ ์šฉํ•œ ๋งํฌ๋ฅผ ๊ฑธ์–ด๋‘ . ๊ณ„์† ์ˆ˜์ •&์ถ”๊ฐ€ ๋  ์ˆ˜ ์žˆ์Œ. ๊ฐœ๋ฐœ * ์ง„์œ ๋ฆผ ๋ธ”๋กœ๊ทธ

7์ผ ์ „0๊ฐœ์˜ ๋Œ“๊ธ€

๐Ÿ“ Floating menu script ์ฐธ๊ณ 

์ฃผ๋ฌธ๊ฒฐ์ œ ๊ฒฐ์ œ์˜ˆ์ •๊ธˆ์•ก ํ”Œ๋กœํŒ… ์ฒ˜๋ฆฌ image.png ํ”Œ๋กœํŒ… ๋ฐ•์Šค๊ฐ€ ํŠน์ • ์˜์—ญ์— ๋„๋‹ฌ์‹œ CSS ์•„๋ž˜ ์ฒ˜๋Ÿผ ์ฒ˜๋ฆฌํ•  ๊ฒƒ. :

2019๋…„ 11์›” 12์ผ0๊ฐœ์˜ ๋Œ“๊ธ€
[ES6] filter, map, reduce ์ •๋ฆฌ Thumbnail

[ES6] filter, map, reduce ์ •๋ฆฌ

ํ™˜๊ฒฝ - VS code - ESLint - ์ด ๋ฌธ์„œ๋Š” ์œ ํŠœ๋ฒ„ Traversy Media๋‹˜์˜ ์˜์ƒ์„ ๋ณด๊ณ  filter, map, reduce ๋ฉ”์„œ๋“œ์˜ ์‚ฌ์šฉ๋ฒ•์„ ์ตํžˆ๊ณ ์ž ์ •๋ฆฌํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๊ฐ ์š”์†Œ๋ฅผ ํ…Œ์ŠคํŠธํ•ด์„œ true๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋ฉด ์š”์†Œ๋ฅผ ์œ ์ง€ํ•˜๊ณ , false๋ฅผ ๋ฐ˜ํ™˜...

2019๋…„ 11์›” 6์ผ0๊ฐœ์˜ ๋Œ“๊ธ€
โœจESLint์—์„œ AutoFixOnSave ์„ค์ •ํ•˜๊ธฐ Thumbnail

โœจESLint์—์„œ AutoFixOnSave ์„ค์ •ํ•˜๊ธฐ

ํ™˜๊ฒฝ - VS code - ESLint (VS code ํ”Œ๋Ÿฌ๊ทธ์ธ) - VS code ํ”„๋กœ๊ทธ๋žจ์— ์„ค์น˜๋œ ESLintํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์‚ฌ์šฉํ•ด ์ €์žฅ์‹œ ์ž๋™์œผ๋กœ ํฌ๋งท์„ ์ •๋ฆฌํ•ด์ฃผ๋Š” ํ™˜๊ฒฝ ์„ค์ •์„ ํ•ด๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ์šฐ์„ , ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ์ดˆ๊ธฐ ์„ธํŒ…์„ ํ•ด์ค๋‹ˆ๋‹ค.: ezgi...

2019๋…„ 11์›” 6์ผ0๊ฐœ์˜ ๋Œ“๊ธ€