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
const getSmallestNumber = (...nums) => Math.min(...nums) | |
const getBiggerNumber = (...nums) => Math.max(...nums) | |
// Ex: | |
// getSmallestNumber(2,1,5,2,6) | |
// = 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
.video-wrapper { | |
position: relative; | |
padding-bottom: 56.25%; | |
height: 0; | |
overflow: hidden; | |
max-width: 100%; | |
iframe, object, embed { | |
margin-top: 0; | |
position: absolute; | |
top: 0; |
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
if (/(.*)\?lid=(.*)/ig.test(window.location.href)) { | |
console.log("Você está numa LID, escreva seus códigos para Homologação aqui...."); | |
} else { | |
console.log("Você não está numa LID"); | |
} |