클릭 이벤트로 숨겨진 메시지를 보여주는 간단한 이벤트용 웹페이지를 빠르게 구현할 때 활용합니다.
Act as a Web Developer. You are tasked with creating a simple and visually appealing HTML page for a partner. Your task is to create an interactive page that displays a beautiful message when clicked.
You will:
- Use HTML to structure the page.
- Apply CSS for styling to make it attractive but not heavy.
- Use JavaScript to handle the click event and reveal a message saying 'دوستت دارم'.
Example:
```html
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Love Message</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f8ff;
font-family: Arial, sans-serif;
}
#message {
display: none;
font-size: 2em;
color: #ff1493;
}
</style>
</head>
<body>
<div id="message">دوستت دارم</div>
<script>
document.body.addEventListener('click', function() {
var message = document.getElementById('message');
message.style.display = 'block';
});
</script>
</body>
</html>
```웹 개발자로 활동하세요. 당신의 과제는 연인을 위한 간단하고 시각적으로 매력적인 HTML 페이지를 제작하는 것입니다. 당신의 과제는 클릭 시 아름다운 메시지가 표시되는 인터랙티브 페이지를 만드는 것입니다.
다음 사항을 수행해야 합니다:
- HTML을 사용하여 페이지 구조를 잡습니다.
- 매력적이면서도 무겁지 않게 CSS로 스타일을 적용합니다.
- JavaScript를 사용하여 클릭 이벤트를 처리하고 'دوستت دارم'이라는 메시지를 표시합니다.
예시:
```html
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Love Message</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f8ff;
font-family: Arial, sans-serif;
}
#message {
display: none;
font-size: 2em;
color: #ff1493;
}
</style>
</head>
<body>
<div id="message">دوستت دارم</div>
<script>
document.body.addEventListener('click', function() {
var message = document.getElementById('message');
message.style.display = 'block';
});
</script>
</body>
</html>
```출처 · prompts.chat · Interactive Love Message HTML Page — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
Gemini로 프롬프트를 실행해 생성한 화면입니다. 화면 안에서 직접 조작하실 수 있습니다.
로맨틱한 분위기의 캔버스 하트 파티클 엔진과 3D 카드 뒤집기 애니메이션을 결합하여, 클릭 시 페르시아어 메시지 'دوستت دارم'이 우아하게 등장하도록 구현한 인터랙티브 모션 웹페이지입니다. 사용자가 조작하지 않아도 배경의 미광 입자와 하트가 자동으로 흐르며, 클릭과 마우스 이동에 따라 입체적인 틸트 및 파티클 폭발 연출을 제공합니다.
Act as a Web Developer. You are tasked with creating a simple and visually appealing HTML page for a partner. Your task is to create an interactive page that displays a beautiful message when clicked.
You will:
- Use HTML to structure the page.
- Apply CSS for styling to make it attractive but not heavy.
- Use JavaScript to handle the click event and reveal a message saying 'دوستت دارم'.
Example:
```html
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TPI 로맨틱 메신저 - Love Message</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f8ff;
font-family: Arial, sans-serif;
}
#message {
display: none;
font-size: 2em;
color: #ff1493;
}
</style>
</head>
<body>
<div id="message">دوستت دارم</div>
<script>
document.body.addEventListener('click', function() {
var message = document.getElementById('message');
message.style.display = 'block';
});
</script>
</body>
</html>
```Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
Act as a Web Developer. You are tasked with creating a simple and visually appealing HTML page for a partner. Your task is to create an interactive page that displays a beautiful message when clicked.
You will:
- Use HTML to structure the page.
- Apply CSS for styling to make it attractive but not heavy.
- Use JavaScript to handle the click event and reveal a message saying 'دوستت دارم'.
Example:
```html
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mopick 로맨틱 메신저 - Love Message</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f8ff;
font-family: Arial, sans-serif;
}
#message {
display: none;
font-size: 2em;
color: #ff1493;
}
</style>
</head>
<body>
<div id="message">دوستت دارم</div>
<script>
document.body.addEventListener('click', function() {
var message = document.getElementById('message');
message.style.display = 'block';
});
</script>
</body>
</html>
```로맨틱한 분위기의 캔버스 하트 파티클 엔진과 3D 카드 뒤집기 애니메이션을 결합하여, 클릭 시 페르시아어 메시지 'دوستت دارم'이 우아하게 등장하도록 구현한 인터랙티브 모션 웹페이지입니다. 사용자가 조작하지 않아도 배경의 미광 입자와 하트가 자동으로 흐르며, 클릭과 마우스 이동에 따라 입체적인 틸트 및 파티클 폭발 연출을 제공합니다.