Программируй
279 subscribers
631 photos
11 videos
23 files
199 links
Всем привет я scratch_craft_2 и это мой канал в телеграмм, он тебе понравится если ты ищешь хорошие канал по скретч.
———————————
Сайт: https://scratch-craft-2.github.io
——
Буст каналу: https://t.me/boost/
creative_programmer
——
По вопросам в директ канала
Download Telegram
гравитация сайтов:
javascript:var script = document.createElement("script"); script.src="//gravityscript.github.io/grav.js"; document.body.appendChild(script); void(0);

@creative_programmer #web
6
Давно не было интересных кодов😼
function isMarch8th() {
const today = new Date();
return today.getMonth() === 2 && today.getDate() === 8;
}
if (isMarch8th()) {
var image = document.getElementById('image1');
image.src = 'ссылка на изображение 8 марта';
}

#web
Please open Telegram to view this post
VIEW IN TELEGRAM
62🤩1
Случайный цвет фона на сайте🙂
const randomColor = () => {
const r = Math.floor(Math.random() * 256);
const g = Math.floor(Math.random() * 256);
const b = Math.floor(Math.random() * 256);
document.body.style.backgroundColor = `rgb(${r}, ${g}, ${b})`;
};
randomColor();

#web
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥64🆒2
👩‍💻Написал функцию для проверки равен ли текущий день указанному дню (и месяцу):
function isDate(month, number) { const today = new Date(); 
return today.getMonth() === month-1 && today.getDate() === number;}

#web
Please open Telegram to view this post
VIEW IN TELEGRAM
32👍1
Я нашел сайт который поможет вам в веб-программировании
-
doka.guide
- html, js, css и все что вам нужно!
#полезные_сайты #web
6🔥2🤩22