This file contains 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
h1 { | |
font-weight: 850; | |
font-style: italic; | |
font-stretch: normal; | |
} | |
h1 { | |
font-variation-settings: "wght" 850, "wdth" 100, "ital" 1; | |
} |
This file contains 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
h1 { | |
font-variation-settings: 'SIZE' 100, 'QUAD' 80, 'BEVL' 950, 'OVAL' 210; | |
} |
This file contains 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
@font-face { | |
font-family: 'source sans'; | |
src: url(SourceSansVariable.woff2) format("woff2-variations"), | |
url(SourceSans.woff2) format("woff2"); /* for older browsers */ | |
font-weight: normal; font-style: normal; | |
} | |
@font-face { | |
font-family: 'source sans'; | |
src: url(SourceSansVariable-italic.woff2) format("woff2-variations"), |
This file contains 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
@font-face { | |
font-family: 'source sans'; | |
src: url(SourceSansVariable.woff2) format("woff2-variations"), | |
url(SourceSans-bold.woff2) format("woff2"); | |
font-weight: 700; font-style: normal; | |
} |
This file contains 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
html { | |
font-family: 'source sans', Verdana, sans-serif; | |
} |
This file contains 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
html { | |
font-family: system-ui, -apple-system; | |
} |
This file contains 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
// 1. Что выведется в консоль? | |
(function () { console.log(this) })() | |
// 2. Что выведется в консоль? | |
var i = 10; | |
var array = []; | |
while (i--) { |
This file contains 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
fetch('https://jsonplaceholder.typicode.com/posts/1') | |
.then(response => response.json()) | |
.then(data => console.log(data)); |
This file contains 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
async getPost = () => { | |
const response = await fetch('https://jsonplaceholder.typicode.com/posts/1'); | |
const data = await response.json(); | |
console.log(data); | |
} |
This file contains 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
function* generatorCreator () { | |
const response = yield fetch('https://jsonplaceholder.typicode.com/posts/1'); | |
const data = yield response.json(); | |
console.log(data); | |
} |
OlderNewer