This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*** The new CSS Reset - version 1.2.0 (last updated 23.7.2021) ***/ | |
| /* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */ | |
| *:where(:not(iframe, canvas, img, svg, video):not(svg *)) { | |
| all: unset; | |
| display: revert; | |
| } | |
| /* Preferred box-sizing value */ | |
| *, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.addEventListener("DOMContentLoaded", ()=>{ | |
| init() | |
| }) | |
| function init(){} | |
| // альтернатива событию DOMContentLoaded | |
| document.onreadystatechange = function () { | |
| if (document.readyState == "interactive") { | |
| init() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require('express') | |
| const exphbs = require('express-handlebars') | |
| const path = require('path') | |
| const homeRoute = require('./routes/home') | |
| const app = express() | |
| app.enable('view cache') | |
| app.set('view cache', false) | |
| const hbs = exphbs.create({ | |
| defaultLayout: 'mains', |
NewerOlder