๋ฐ์ํ ๋ ธ๋ง๋ ์ฝ๋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. ์ด์ 1 2 3 4 5 6 ยทยทยท 8 ๋ค์ ๋ฐ์ํ