CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
💎 Interactive particles text
➡️ Фантастически красивая анимация текста для твоего проекта с интерактивными частицами на JS
🔗 Ссылка
CodeBase | Frontend
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
Здесь всё просто:
function isInteger(num) {
return num % 1 === 0;
}
Например:
console.log(isInteger(4)); // true
console.log(isInteger(4.2)); // false
console.log(isInteger(-3)); // true
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
css
.color-change {
background-color: #3498db;
transition: background-color 0.5s;
}
.color-change:hover {
background-color: #e74c3c;
}
css
.move {
position: relative;
animation: moveAnimation 2s infinite;
}
@keyframes moveAnimation {
0% { left: 0; }
50% { left: 50%; }
100% { left: 0; }
}
css
.resize {
transform: scale(1);
transition: transform 0.5s;
}
.resize:hover {
transform: scale(1.2);
}
css
.rotate {
transform: rotate(0);
transition: transform 1s;
}
.rotate:hover {
transform: rotate(360deg);
}
css
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
.blink {
animation: blink 1s infinite;
}
@keyframes
) для создания разнообразных эффектов на вашем веб-сайте.Для тех, кто интересуется анимацией, нашел для вас крутой курс.
Вот ССЫЛКА НА КУРС (ID: 020)
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
Данный макет прокачает ваши навыки до небес!
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
В каком элементе вы размещаете JavaScript?
Anonymous Poll
2%
<var>
93%
<script>
2%
<section>
3%
<code>
let a = 1;
let b = 1.5;
let a = "John" * 20; // вернет NaN
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
javascript
const http = require("http");
http.createServer(function(request, response) {
response.end("Hello Node.js!");
}).listen(3000, "127.0.0.1", function() {
console.log("Сервер начал прослушивание запросов на порту 3000");
});
require()
.createServer()
создали новый сервер для обработки входящих запросов. В этом методе мы передали функцию с двумя параметрами: request
с информацией о запросе и response
для отправки ответа.http.createServer()
лишь создает сервер. Чтобы начать прослушивание подключений, мы использовали метод listen()
, указав номер порта и функцию обратного вызова для отображения сообщения о начале прослушивания.node app.js
в директории с проектом. CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Ответ:
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
CodeBase | Frontend
Please open Telegram to view this post
VIEW IN TELEGRAM