Update gallery.html
This commit is contained in:
parent
7b8a3c466e
commit
ad3c2e1025
58
gallery.html
58
gallery.html
@ -1,29 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>My Image Gallery</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>My Image Gallery</h1>
|
||||
</header>
|
||||
<main>
|
||||
<div class="controls">
|
||||
<label for="imageInput" class="custom-file-upload">
|
||||
Select Image
|
||||
</label>
|
||||
<input type="file" id="imageInput" accept="image/*">
|
||||
<span id="fileName"></span>
|
||||
<button id="addImageButton">Add Image</button>
|
||||
</div>
|
||||
<section class="gallery" id="gallery">
|
||||
<!-- 이미지가 여기에 추가됩니다 -->
|
||||
</section>
|
||||
</main>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"> <!-- 문서의 문자 인코딩을 UTF-8로 설정 -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- 뷰포트 설정으로 반응형 디자인 구현 -->
|
||||
<title>My Image Gallery</title> <!-- 문서 제목 설정 -->
|
||||
<link rel="stylesheet" href="styles.css"> <!-- 외부 스타일시트 연결 -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> <!-- 구글 폰트 연결 -->
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>My Image Gallery</h1> <!-- 헤더 섹션에 제목 추가 -->
|
||||
</header>
|
||||
<main>
|
||||
<div class="controls">
|
||||
<label for="imageInput" class="custom-file-upload">
|
||||
Select Image <!-- 파일 선택 레이블 -->
|
||||
</label>
|
||||
<input type="file" id="imageInput" accept="image/*"> <!-- 파일 입력 요소, 이미지 파일만 허용 -->
|
||||
<span id="fileName"></span> <!-- 선택한 파일명을 표시할 요소 -->
|
||||
<button id="addImageButton">Add Image</button> <!-- 이미지 추가 버튼 -->
|
||||
</div>
|
||||
<section class="gallery" id="gallery">
|
||||
<!-- 이미지가 여기에 추가됩니다 --> <!-- 이미지 갤러리가 추가될 섹션 -->
|
||||
</section>
|
||||
</main>
|
||||
<script src="script.js"></script> <!-- 외부 스크립트 파일 연결 -->
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user