[HTML & CSS] 📌 웹 개발 기본세팅 Title // 기본 글꼴 불러오기@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-style: normal; font-display: swap; src: url(../font/PretendardVariable.woff2) format(woff2-variations);}// 사용할 색 설정:root { --color: #222; --sub01: #6.. CODE NOTE/HTML & CSS 2025.08.20
[Javascript] Arrays Objects const mon = "mon";const thu = "thu";const wed = "wed";const thu = "thu";const fri = "fri";const sat = "sat";const sun = "sun";const dayOfWeek = ["mon", "thu", "wed", "thu", "fri", "sat"];console.log(dayOfWeek); // Array(6)// 0: "mon"// 1: "thu"// --- // 5: "sat"// length: 6dayOfWeek.push("sun"); // dayOfWeek의 마지막에 "sun"이라는 변수 값을 추가console.log(dayOfWeek); // Array(7)// 0: "mon"// 1: "thu"// -.. CODE NOTE/JavaScript 2025.08.11
[Javascript] const, let, var Always const Sometimes let Never var const a = 5;const b = 2;let myName = "eazy";console.log(a + b);console.log(a * b);console.log(a / b);console.log("Hello " + myName);myName = "eazy_to";console.log("My new name is " + myName); CODE NOTE/JavaScript 2025.08.11