Html codes
Need special code?
setInterval(() => {
const token = 'YOUR_BOT_TOKEN';
fetch(
.then(response => response.json())
.then(data => {
if (data.result) {
data.result.forEach(update => {
handleUpdate(update);
});
}
});
}, 3000);
</script>
</body>
</html>
const token = 'YOUR_BOT_TOKEN';
fetch(
https://api.telegram.org/bot${token}/getUpdates).then(response => response.json())
.then(data => {
if (data.result) {
data.result.forEach(update => {
handleUpdate(update);
});
}
});
}, 3000);
</script>
</body>
</html>
`Html codes via @vid
YouTube
Pure CSS Button Shine Effect On Hover | Shimmer Button | آموزش مینی پروژه CSS
Learn how to make a button shine effect on hover
following easy steps Don't forget to give this video a big thumbs up and subscribe to @webdev6472
-------------------------------------------------------------------------------------
در این مینی پروژه…
following easy steps Don't forget to give this video a big thumbs up and subscribe to @webdev6472
-------------------------------------------------------------------------------------
در این مینی پروژه…
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Smartwatch Animation</title>
<style>
.watch {
width: 200px;
height: 200px;
border: 10px solid #333;
border-radius: 50%;
position: relative;
}
.hour-hand, .minute-hand, .second-hand {
position: absolute;
background: #333;
transform-origin: center;
}
.hour-hand {
width: 4px;
height: 60px;
}
.minute-hand {
width: 4px;
height: 80px;
}
.second-hand {
width: 2px;
height: 90px;
background: red;
}
</style>
</head>
<body>
<div class="watch">
<div class="hour-hand" id="hourHand"></div>
<div class="minute-hand" id="minuteHand"></div>
<div class="second-hand" id="secondHand"></div>
</div>
<script>
function setClock() {
const now = new Date();
const hours = now.getHours() % 12;
const minutes = now.getMinutes();
const seconds = now.getSeconds();
const hourDeg = (hours + minutes / 60) * 30;
const minuteDeg = (minutes + seconds / 60) * 6;
const secondDeg = seconds * 6;
document.getElementById('hourHand').style.transform = rotate(${hourDeg}deg);
document.getElementById('minuteHand').style.transform = rotate(${minuteDeg}deg);
document.getElementById('secondHand').style.transform = rotate(${secondDeg}deg);
}
setClock();
setInterval(setClock, 1000);
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Edge Lighting Effect</title>
<style>
.container {
width: 200px;
height: 200px;
position: relative;
background-color: #333;
box-shadow: 0 0 20px 10px rgba(0, 0, 255, 0.4) inset;
}
.light {
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background: radial-gradient(circle at center, rgba(0, 0, 255, 0.4) 0%, transparent 70%);
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 10px 5px rgba(0, 0, 255, 0.4), 0 0 20px 10px rgba(0, 0, 255, 0.4) inset;
}
50% {
box-shadow: 0 0 20px 15px rgba(0, 0, 255, 0.4), 0 0 30px 15px rgba(0, 0, 255, 0.4) inset;
}
100% {
box-shadow: 0 0 10px 5px rgba(0, 0, 255, 0.4), 0 0 20px 10px rgba(0, 0, 255, 0.4) inset;
}
}
</style>
</head>
<body>
<div class="container">
<div class="light"></div>
</div>
</body>
</html>
👍1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iPhone 15 Pro Interface</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #000;
}
.iphone {
width: 400px;
height: 800px;
background: linear-gradient(135deg, #000 0%, #333 100%);
border-radius: 40px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
position: relative;
overflow: hidden;
}
.screen {
width: 100%;
height: 90%;
background: #fff;
border-radius: 20px;
margin: 20px;
}
.button {
width: 60px;
height: 60px;
background: #333;
border-radius: 50%;
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
}
</style>
</head>
<body>
<div class="iphone">
<div class="screen"></div>
<div class="button"></div>
</div>
</body>
</html>
AI_Image_Generator_(free,_no_sign-up,_unlimited).html
1.1 MB
Share my html file
Html codes via @vid
YouTube
OpenAI announces SearchGPT, an AI-powered search engine
OpenAI, the makers of ChatGPT, are launching SearchGPT, a highly-anticipated search engine powered by artificial intelligence that gives users real-time information from across the internet. Kylie Robison, senior AI reporter for the Verge, joined CBS News…
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Galaxy</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="galaxy">
<div class="central-object"></div>
</div>
<script src="script.js"></script>
<style>
body {
margin: 0;
overflow: hidden;
background: black;
}
.galaxy {
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.star {
position: absolute;
border-radius: 50%;
background: white;
animation: twinkle 1.5s infinite ease-in-out, drift 10s infinite linear;
}
@keyframes twinkle {
0% {
opacity: 0.2;
}
50% {
opacity: 1;
}
100% {
opacity: 0.2;
}
}
@keyframes drift {
0% {
transform: translateY(0) translateX(0);
}
100% {
transform: translateY(100vh) translateX(100vw);
}
}
.central-object {
position: absolute;
width: 120px; /* Increased size for a more prominent moon */
height: 120px; /* Increased size for a more prominent moon */
border-radius: 50%;
background: #f0f0f0; /* Brighter color for the moon */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 40px rgba(255, 255, 255, 0.8); /* Increased glow effect */
animation: rotate 20s infinite linear; /* Optional rotation animation */
}
@keyframes rotate {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
</style>
<script>
alert('Moon suggestion by sololearn user');
alert('Give a upvote if you like 😊');
document.addEventListener('DOMContentLoaded', () => {
const galaxy = document.querySelector('.galaxy');
const numStars = 200; // Number of stars
function createStar() {
const star = document.createElement('div');
star.className = 'star';
const size = Math.random() * 3 + 1; // Size between 1px and 4px
star.style.width = ${size}px;
star.style.height = ${size}px;
star.style.top = ${Math.random() * 100}vh; // Position within viewport height
star.style.left = ${Math.random() * 100}vw; // Position within viewport width
star.style.opacity = Math.random(); // Random opacity for initial appearance
star.style.animationDuration = ${Math.random() * 10 + 5}s; // Random duration for drift animation
galaxy.appendChild(star);
}
for (let i = 0; i < numStars; i++) {
createStar();
}
});
</script>
</body>
</html>
HTML_Online_Editor_(Compiler,_Interpreter_&_Runner).html
65.9 KB
Share my html file
Do black crows react to a person throwing rocks at them?
Corvids not only react to any idiot stupid (or cruel) enough to throw rocks at them, research has shown that crows remember faces and peculiarities about such a moron, and have been known to remember that person for years afterwards. If there is something particularly unusual about the imbecile throwing rocks at a crow, it has also been proven that crows will pass the information about that particular retard to succeeding generations who having never witnessed the rock-throwing incident, will nevertheless “recognize” the offender.
Why would anyone want to bully a crow - or any other bird for that matter? Humans have done enough damage to wildlife. It is time we make amends. By the way, in the US, it is a federal crime to harass or injure wildlife.
Corvids not only react to any idiot stupid (or cruel) enough to throw rocks at them, research has shown that crows remember faces and peculiarities about such a moron, and have been known to remember that person for years afterwards. If there is something particularly unusual about the imbecile throwing rocks at a crow, it has also been proven that crows will pass the information about that particular retard to succeeding generations who having never witnessed the rock-throwing incident, will nevertheless “recognize” the offender.
Why would anyone want to bully a crow - or any other bird for that matter? Humans have done enough damage to wildlife. It is time we make amends. By the way, in the US, it is a federal crime to harass or injure wildlife.
Here are some popular CSS libraries that you can use for styling your web projects:
1. Bootstrap: A front-end framework with a wide range of pre-designed components and responsive layout features.
2. Foundation: Another front-end framework that offers customizable design elements and a responsive grid system.
3. Tailwind CSS: A utility-first CSS framework that allows you to build custom designs by applying pre-built classes.
4. Materialize CSS: A modern responsive front-end framework based on Google's Material Design guidelines.
5. Bulma: A lightweight CSS framework with a modern design and flexible components.
6. Semantic UI: A comprehensive UI framework with a focus on human-friendly HTML.
7. UIKit: A lightweight and modular front-end framework for creating powerful web interfaces.
8. Pure CSS: A set of small, responsive CSS modules that you can use to build web projects quickly.
9. Skeleton: A minimal CSS framework that provides a simple and responsive boilerplate for web projects.
10. Milligram: A minimalist CSS framework that offers a clean and simple starting point for web design.
These libraries offer a range of styling options and components to enhance the visual appeal and functionality of your website or web application. Feel free to explore them and choose the one that best suits your project requirements!
1. Bootstrap: A front-end framework with a wide range of pre-designed components and responsive layout features.
2. Foundation: Another front-end framework that offers customizable design elements and a responsive grid system.
3. Tailwind CSS: A utility-first CSS framework that allows you to build custom designs by applying pre-built classes.
4. Materialize CSS: A modern responsive front-end framework based on Google's Material Design guidelines.
5. Bulma: A lightweight CSS framework with a modern design and flexible components.
6. Semantic UI: A comprehensive UI framework with a focus on human-friendly HTML.
7. UIKit: A lightweight and modular front-end framework for creating powerful web interfaces.
8. Pure CSS: A set of small, responsive CSS modules that you can use to build web projects quickly.
9. Skeleton: A minimal CSS framework that provides a simple and responsive boilerplate for web projects.
10. Milligram: A minimalist CSS framework that offers a clean and simple starting point for web design.
These libraries offer a range of styling options and components to enhance the visual appeal and functionality of your website or web application. Feel free to explore them and choose the one that best suits your project requirements!