본문 바로가기

분류 전체보기176

HTML, CSS 관련 사이트 연습하기: https://codepen.io/pen/ CodePen - Create a New PenBehavior Auto Save If active, Pens will autosave every 30 seconds after being saved once. Auto-Updating Preview If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update. Format on Save If enabled, your cocodepen.io다양한 웹사이트(디자인) 보기: https://dbcut.com/ 디비컷 - 웹디자인 평가 및 우수 웹사이트 모음국내외 우수 웹디자인 레.. 2024. 12. 12.
[Python] 자료형, 변수 숫자# integer(정수형)a = 789a = -1340a = 0# floating-point(실수형)a = 1.2a = -3.45# E 또는 e는 10의 n승을 의미 e3 == 10의 3승 == 1000a = 4.24e3a = 4.34e-10# 8진수(0o, 0O, 숫자 0 + o), 16진수(0x, 0X)a = 0o177a = 0xabc# 연산자: ** == 제곱 , % == 나눗셈의 나머지, // == 나눗셈 후 몫(정수값)을 리턴a = 10 ** 10a = 7 % 2 # 1a = 7 // 2 # 3# 복합 연산자: 계산 후 다시 대입해 계산된다. +=, -=, *=, /=, //=, %=, **=a = 1a = a + 1# 위 아래 같은 값을 나타낸다.a += 1print(a)문자# 문자열 만들.. 2024. 12. 12.
특이한 HTML 태그 (details-summary, dialog, sub, sup, input[type], progress, meter) 1. details / summary hello world">helloworld역할:사용자가 접었다 폈다 할 수 있는 인터랙티브한 토글(접힘/펼침) 위젯을 제공합니다. 요소 내부에 요소를 포함하여, 제목(요약)을 클릭하면 내용이 펼쳐지거나 접힙니다.HTML 예시: hello worldCSS 예시:details { width: 100px; border: 1px solid black;}summary { /* 기본 마커 대신 커스텀 텍스트(여기서는 단순 예시) */ list-style-type: 'click v ';}/* 열렸을 때 패딩 추가 */details[open] { padding: 5px;}/* 열렸을 때 summary의 marker 변경 */details[open] summary .. 2024. 12. 12.
[Java] Variable(변수), Constant(상수), 자료형 변수(Variable)public class Variable { public static void main(String[] args) { int x; // declaration x = 123; // + assignment int y = 123; // = initialization System.out.println("Myj namber is: " + x); long z = 1232093574892084137L; float a = 3.14f; char symbol = '@'; boolean b = true; String name = "bro"; System.out.println(.. 2024. 8. 26.
Mac 마크다운 마크텍스트 다운로드 방법접속 후 운영체제에 맞는 버전을 설치해 주면 끝이다. (맥에서는 마크다운 에디터를 사용해보는 것도 좋을 거 같다.) 마크 텍스트 다운로드 https://www.marktext.cc/마크다운 에디터 다운로드 https://apps.apple.com/kr/app/markdown-editor/id1458220908?mt=12마크다운 기본문법- # h1- ## h2- 링크: [Next.js](https://nextjs.org)- 회색강조박스: `app/page.tsx` (ctrl + ` )- 볼드: **굵게**- 리스트: - 리스트- 코드: ```bash import Image from 'next/image'; ```>> 인용문 2024. 8. 4.