๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

๋…ธ๋งˆ๋“œ ์ฝ”๋”43

[๋ฐ”๋‹๋ผJS๋กœ ๊ทธ๋ฆผํŒ ๋งŒ๋“ค๊ธฐ] What are we building [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/jlOtDiYt9wg -๋ฐ”๋‹๋ผJS Part2 (๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ๊ฐ€ Part1) -Part1์„ ์ˆ˜๊ฐ•ํ–ˆ๋Š”๋ฐ๋„ ๋ฐ”๋‹๋ผJS์— ๋Œ€ํ•ด ์•„์ง ๋ชจ๋ฅด๊ฒ ์œผ๋ฉด ์ด ๊ฐ•์˜๋ฅผ ๋“ค์„ ๊ฒƒ (์ดํ•ด๋˜๋ฉด ์œ ํŠœ๋ธŒ ํด๋ก  ์ฝ”๋”ฉ์œผ๋กœ ๋„˜์–ด๊ฐ€์„ธ์š”) -์—ฌ๊ธฐ์„  ์ข€๋” interactiveํ•œ ๊ฒƒ์„ ๋งŒ๋“ค๊ฑฐ์ž„. ํŽ˜์ธํŒ… ์บ”๋ฒ„์Šค! -์บ”๋ฒ„์Šค API๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ์ž„ 2021. 4. 23.
[๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ] Getting the Weather part Two API [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/l6hSze8vgVo index.html 00:00 weather.js const weather = document.querySelector(".js-weather"); const API_KEY = "f97c1ed1e4b50ed233ccabf8c1ea2011"; const COORDS = 'coords'; function getWeather(lat, lng){ fetch( `https://api.openweathermap.org/data/2.5/weather?lat=${lat}&lon=${lng}&appid=${API_KEY}&units=metric` ).then(function(response){ return respon.. 2021. 3. 3.
[๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ] Getting the Weather part One Geolocation [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/5fAMu2ORvDA index.html 00:00 weather.js const API_KEY = "f97c1ed1e4b50ed233ccabf8c1ea2011"; const COORDS = 'coords'; function saveCoords(coordsObj){ localStorage.setItem(COORDS, JSON.stringify(coordsObj)); } function handleGeoSuccess(position){ const latitude = position.coords.latitude; const longitude = position.coords.longitude; const coordsObj = {.. 2021. 3. 3.
[๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ] Image Background [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/aHlJqxLREcY ๋จผ์ € ์‚ฌ์šฉํ•  ์ด๋ฏธ์ง€๋ฅผ ๋‹ค์šด๋ฐ›๋Š”๋‹ค https://unsplash.com/ Beautiful Free Images & Pictures | Unsplash Beautiful, free images and photos that you can download and use for any project. Better than any royalty free or stock photos. unsplash.com -์ด๋ฏธ์ง€ ๋žœ๋ค์œผ๋กœ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ bg.js const body = document.querySelector("body"); const IMG_NUMBER = 3; function paintImage(imgNumbe.. 2021. 3. 3.
[๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ] Making a To Do List part Three [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/dbPOjiG5WJ4 -HTML์—์„œ ์ง€์šฐ๊ธฐ function deleteToDo(event){ console.log(event.target); } delBtn.addEventListener("click", deleteToDo); function paintToDo(text){ const li = document.createElement("li"); const delBtn = document.createElement("button"); const span = document.createElement("span"); const newId = toDos.length + 1; delBtn.innerText = "X"; delBtn.a.. 2021. 3. 3.
[๋ฐ”๋‹๋ผJS๋กœ ํฌ๋กฌ ์•ฑ ๋งŒ๋“ค๊ธฐ] Making a To Do List part Two [์ถœ์ฒ˜-์œ ํŠœ๋ธŒ ๋…ธ๋งˆ๋“œ ์ฝ”๋” Nomad Coders] https://youtu.be/JEbOaI_0phc const toDoObj = { text: text, id: toDos.length + 1 }; toDos.push(toDoObj); ↑์ด๊ฒƒ์„ ์ถ”๊ฐ€ํ•ด์ค€๋‹ค const toDoForm = document.querySelector(".js-toDoForm"), toDoInput = toDoForm.querySelector("input"), toDoList = document.querySelector(".js-toDoList"); const TODOS_LS = 'toDos'; const toDos = []; function paintToDo(text){ const li = document.createEleme.. 2021. 3. 3.
๋ฐ˜์‘ํ˜•