TIL 12์ผ

Durumi Gimยท2021๋…„ 2์›” 26์ผ
0

๐Ÿš
์•„์นจ : ๋ฐ”๋‚˜๋‚˜
์ ์‹ฌ :

๐Ÿง™
์•„์นจ์ƒํƒœ : ๋„ˆ๋ฌด ์ž˜ ์žค๋‹ค. (๋„ˆ๋ฌด ์˜ค๋ž˜ ์žค๋‹ค) ๊ทธ๋ž˜์„œ ์ƒ์พŒํ•˜๊ธฐ๋„ ํ•˜์ง€๋งŒ, ์‹œ๊ฐ„์ด ํ๋ฅธ๊ฒƒ์— ๋Œ€ํ•œ ์•„๊นŒ์›€์ด ์žˆ๋‹ค. ํ•˜์ง€๋งŒ ์ž˜ ์žค๋‹ค. ๋ฐค์ด ๋˜์„œ ๋„ˆ๋ฌด ํ”ผ๊ณคํ•œ ์ฑ„๋กœ ์ž๋Š” ๊ฒŒ ํž˜๋“ค๋‹ค. ๊ฐ€๋ฒผ์šด ๋ชธ์œผ๋กœ ์ž ๋“ค๊ณ  ์‹ถ๋‹ค.
์ˆ˜๋นˆ๋‹˜์ด ๋„ˆ์ธ ๋ฅผ ์ฃผ์…จ๋‹ค. ์˜ค๋žœ๋งŒ์— ๋จน๋Š” ๋„›์ธ 

์˜ค๋Š˜ ํ• ์ผ

  1. ๋กœ๊ทธ์ธ ํŽ˜์ด์ง€ js๊นŒ์ง€
  2. ๋ฉ”์ธ ์บ๋Ÿฌ์…€ ์™„๋ฃŒ
  3. ์ƒ๋‹จ ์บ๋Ÿฌ์…€ ์™„๋ฃŒ

์ผ์ •ํ‘œ

10-11 ๋Œ“๊ธ€ ์“ฐ๊ณ  ๋‚œ๋’ค ์ธํ’‹ ๋น„์šฐ๊ธฐ
11-12 ๋ฌธ์ œ ํ’€๊ธฐ
12-1


1-2 ๋กค.
2-3 ์›น์„ธ์…˜
3-4 ๋กœ๊ทธ์ธ ํŽ˜์ด์ง€
4-5 ์บ๋Ÿฌ์…€ ๊ตฌํ˜„ (2/10)
5-6
6-7
7-8 ์ธ์Šคํƒ€๊ทธ๋žจ ์ด์Šˆ์ •๋ฆฌ 2,3,4
8-9
9-10

์ตํžŒ ๊ฒƒ

  1. ์›น์ด ์–ด๋–ป๊ฒŒ ๋™์ž‘ํ•˜์ง€?

:์ธํ„ฐ๋„ท์— ๋„์šด๋‹ค๋Š” ๊ฒƒ์€ ํ™ˆํŽ˜์ง€์˜ html,ss,jsํŒŒ์ผ๋“ค์ด ์ธํ…Œ๋„›์— ํ•ญ์ƒ ์—ฐ๊ฒฐ๋˜์žˆ๊ณ , ์ ˆ๋Œ€ ์•ˆ๊บผ์ง€๋Š” ์›น์„œ๋ฒ„(ํ˜ธ์ŠคํŠธ ์ปดํ“จํ„ฐ)์— ์ €์žฅ๋˜์žˆ๋‹ค๊ฐ€,
์‚ฌ์šฉ์ž์š”์ฒญ์ด ์˜ค๋ฉด ์–ธ์ œ๋“  ์‘๋‹ตํ•˜๋Š” ๊ฒƒ.

: ํ˜ธ์ŠคํŒ… (์›น ํ˜ธ์ŠคํŒ… ์„œ๋น„์Šค): ์„œ๋ฒ„ ์ปดํ“จํ„ฐ์˜ ์ „์ฒด(์ผ์ •๊ณต๊ฐ„)๋ฅผ ์ด์šฉํ• ์ˆ˜ ์žˆ๊ฒŒ ์ž„๋Œ€์„œ๋น„์Šค
ex: aws ec2/s3. cafe24 ํ˜ธ์ŠคํŒ…์„ผํ„ฐ

: IP :์ฃผ์†Œ๋Š” #์ธํ„ฐ๋„ท์œผ๋กœ ํ†ต์‹ ํ•˜๋Š” ๊ฐ ์ปดํ“จํ„ฐ(orํ†ต์‹ ์žฅ๋น„) ์— ๋ถ€์—ฌ๋œ #๊ณ ์œ ๊ฐ’. IP ์ฃผ์†Œ๋Š” ์–ด๋ ค์šฐ๋‹ˆ๊นŒ, ๋ฌธ์ž๋กœ ๋œ ๋„๋ฉ”์ธ์œผ๋กœ ์‚ฌ์šฉ . IP ์ฃผ๋กœ์™€ ๋„๋ฉ”์ธ์„ ๋งค์นญํ•ด์ฃผ๋Š” ๊ฒŒ DNS

: ํ”„๋กœํ† ์ฝœ์€ ํ†ต์‹ ๊ทœ์•ฝ์ด๋‹ค.
port๋Š” ๋””ํดํŠธ๋กœ ์ƒ๋žต๋˜์žˆ์Œ.

:


  1. ๋งˆํฌ๋‹ค์šด
    https://velog.io/@yuuuye/velog-%EB%A7%88%ED%81%AC%EB%8B%A4%EC%9A%B4MarkDown-%EC%9E%91%EC%84%B1%EB%B2%95
console.log(var)

์ƒ‰์ƒ : <span style="color:tomato">red</span>


  1. ์ธ์Šคํƒ€๊ทธ๋žจ ๋Œ“๊ธ€ input enter์นœ ๋‹ค์Œ์— '' ๋งŒ๋“ค๊ธฐ
    ์ตœ์ข…๋Œ“๊ธ€dom.append(๋ธ”๋ผ๋ธ”๋ผ)๋ฅผ ๋งˆ์นœ ํ›„,
    input๋”.value=''
    ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด, ์™„๋ฃŒ๋‹ท. ํฌํ•˜ํ•˜ํ•ซ
    (๋‹ค๋ฅธ ๋ฐ๋‹ค ๋„ฃ์œผ๋‹ˆ๊นŒ ์˜ค๋ฅ˜๋‚˜์„œ, ์ด๊ฑธ 1์‹œ๊ฐ„์„ ํ—ค๋ฉ”์ž„..ใ…  ๋…๐Ÿ˜‚)

  1. ์บ๋Ÿฌ์…€ ๊ตฌํ˜„ (2/10)
  • ํ•œ ๋”์„ ํƒํ•˜๊ณ , ๋„ฅ์ŠคํŠธ์—˜๋ฆฌ๋จผํŠธ์”จ๋ธ”๋ง์„ ์ฐ๊ณ  ๋ณ€์ˆ˜์— ํ• ๋‹นํ•˜๋ฉด,, ์˜ค์šฐ, ์ •๋ง ๋„ฅ์ŠคํŠธ๋”์ด ๋‹ด๊ธด๋‹ค. ํ™”์•„์•„.๐Ÿ˜น(๊ธฐ์˜๊ณ  ์ง€์นœ ๋ˆˆ๋ฌผ)
nextSlide=curreuntSlide.nextElementSibling

html

<div class="slider">
  <div class="slide showing">1</div>
   <div class="slide">2</div>
   <div class="slide">3</div>
   <div class="slide">4</div>
  
  <button class="btn left"> `<` </button>
   <button class="btn right"> `>` </button>
</div>

css

.slider {
  width:100%;
  position:relative;
  
}
.showing {
  opacity: 1;
  z-index: 1 ;
}
.slide{
  width:100%;
  background:pink;
  height:300px;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  position:absolute;
  top:0;
/*   opacity:0;
  transition:all 1.0s ease-in-out */
}
.slide:nth-childe(1) {
  background:red;
}
.slide:nth-childe(2) {
  background:orange;
}
.slide:nth-childe(3) {
  background:yellow;
}
.slide:nth-childe(4) {
  background:green;
}
.btn{
  height:30px;
  width:100px;
  color:tomato;
  z-index:9999;
  cursor:pointer;
}
.left {
  position: absolute;
  top:100px;
  left:0;
}
.right {
  position: absolute;
  top:100px;
  right:0;
}

  1. disabled
    ์„ ํƒ, ์ž…๋ ฅ, ํฌ์ปค์Šค ์•ˆ๋จ
profile
๋งˆ์Œ๋„ ๋ชธ๋„ ํŠผํŠผํ•œ ๊ฐœ๋ฐœ์ž

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

๊ด€๋ จ ์ฑ„์šฉ ์ •๋ณด