CLASS3 [HTML] selector 선택자 (tag, class, id) + style 💾 Editor: VSCode 👉 기존 html 코드 devje Front-end Developer I want my dream to come true. The future is mine. 기존 html 코드에서 style 속성으로 넣었던 것을 모두 style.css 로 옮긴다. html 파일 안에 html과 css를 연결하는 link 태그를 head 안에 작성한다. 👉 index.html => style.css (스타일 속성 옮기기) index.html style.css .profile { width:100px; display:block; margin-left:auto; margin-right:auto; } img 태그에 class 속성 추가 style.css 파일에 코드 옮기기 html 태그에 sty.. 2022. 12. 28. [JAVA] 객체지향 프로그래밍 4~6 class instance static 부스트코스 생활코딩 [쉽게 배우는 자바2] 공부 기록 4-1 클래스 (존재 이유와 기본형식) package javaChapter2_10; class Print { public static String delimiter = ""; public static void A() { System.out.println(delimiter); System.out.println("A"); System.out.println("A"); } public static void B() { System.out.println(delimiter); System.out.println("B"); System.out.println("B"); } } public class MyOOP { public static void main(String[.. 2022. 2. 8. [JAVA] 메소드 1~9 method , class, static, instance 부스트코스 생활코딩 [쉽게 배우는 자바2] 공부 기록 1. 수업소개 method = function = subroutine = procedural procedural programming (절차 지향 프로그래밍) 자바에서는 method programming 작은 부품을 만들고, 결합하여 만든다. method와 variable을 결합하여 class로 정리정돈 정리정돈 상자를 통해 구조화하여 만드는 게 object oriented programming (객체 지향 프로그래밍) 2. 이미 익숙한 메소드 public class FirstMethod { public static void main(String[] args) { System.out.println("Hello Method"); System.out.pr.. 2022. 2. 6. 이전 1 다음