-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/GDSC-DEU/Web-Basic-Study-23-24
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<style> | ||
h1 { | ||
text-align: center; | ||
font-size: 40px; | ||
margin: 0; | ||
padding: 20px; | ||
} | ||
</style> | ||
<title>WEB2</title> | ||
</head> | ||
<body> | ||
<h1>WEB2</h1> | ||
<input | ||
type="button" | ||
value="금색" | ||
onclick=" | ||
document.querySelector('body').style.backgroundColor = 'gold'; | ||
document.querySelector('body').style.color= 'black'; | ||
" | ||
/> | ||
<input | ||
type="button" | ||
value="은색" | ||
onclick=" | ||
document.querySelector('body').style.backgroundColor='silver'; | ||
document.querySelector('body').style.color='black'; | ||
" | ||
/> | ||
<input | ||
type="button" | ||
value="기본" | ||
onclick=" | ||
document.querySelector('body').style.backgroundColor = 'white'; | ||
document.querySelector('body').style.color= 'black'; | ||
" | ||
/> | ||
<h2> | ||
JavaScript는 가벼운, 인터프리터 혹은 just-in-time 컴파일 프로그래밍 | ||
언어로, 일급 함수를 지원합니다.<br /> | ||
웹 페이지를 위한 스크립트 언어로 잘 알려져 있고, Node.js, Apache CouchDB, | ||
Adobe Acrobat처럼 많은 비 브라우저 환경에서도 사용합니다<br /> | ||
JavaScript는 프로토타입 기반, 다중 패러다임, 단일 스레드, 동적 언어로, | ||
객체지향형, 명령형, 선언형 스타일을 지원합니다. | ||
</h2> | ||
</body> | ||
</html> |