T()
<div id="carousel" class="view">
<div class="item">1</div>
<div class="item">2</div>
<div class="item">3</div>
<div class="item">4</div>
<div class="item">5</div>
<div class="item">6</div>
</div>
const carusel = document.querySelector('#carousel');
carusel.innerHTMl = '';
[...carusel.children]
.sort(() => Math.random() - 0.5)
.forEach(v => carusel.append(v));
<script src="path/to/smooth-scroll.polyfills.min.js"></script>
или<script src="https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
<a data-scroll href="#bazinga">Anchor Link</a>
...
<div id="bazinga">Bazinga!</div>
<script>
var scroll = new SmoothScroll('a[href*="#"]');
</script>
var scroll = new SmoothScroll('a[href*="#"]', {
speed: 300
});
flex: 0 1 33.333%
English, do you speak it?
t = 1000px
unquote("@media screen and (max-width: " + t + ") {")
html
background blue
unquote("}")
/**
*
*/
function createTrigger() {
ScriptApp.getProjectTriggers().forEach(
(trigger) =>
trigger.getHandlerFunction() === 'saveData' &&
trigger.getEventType() === ScriptApp.EventType.CLOCK &&
(ScriptApp.deleteTrigger(trigger) ||
console.info(`Tirgger ${trigger.getUniqueId()} was deleted`))
);
// every minutes for testing
// ScriptApp.newTrigger('saveData').timeBased().everyMinutes(1).create();
// at 9 o'clock every days
ScriptApp.newTrigger('saveData').timeBased().atHour(9).everyDays(1).create();
}
/**
*
*/
function saveData() {
const book = SpreadsheetApp.openById(
'1FUSSiDQoXyvKXfzYydoUUfcCGYq_TskpRiwfb28_1Z0'
);
const sheet = book.getSheetByName('Лист1');
const value = sheet.getRange('A1').getValue();
book.getSheetByName('Лист2').appendRow([new Date(), value]);
console.info(`saveData was called successful`);
}
1FUSSiDQoXyvKXfzYydoUUfcCGYq_TskpRiwfb28_1Z0
на ваш.Лист1!A1
и добавляет новую строку на Лист2
.createTrigger
один раз.if ( strpos(preg_replace('/[^0-9]+/', '', '+7 999 111-22-33'), '9991112233') !== false ) // ...
document.getElementById('input-id').addEventListener(function (event) {
if (event.target.value.replace(/[^0-9]+/, '').indexOf('9991112233') >= 0)
event.target.value = '';
});
<?php
header('Access-Control-Allow-Origin: *');
// Ваш код
?>