-
Operador lógico AND:&&
-
Operador lógico OR:||
-
Operador lógico NOT:!
-
O operador de módulo:%
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
*{ | |
margin: 0px; | |
padding: 0px; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
a{display: inline-block;} |
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
<body> | |
<header>Cabeçalho</header> | |
<nav>Menu de navegação</nav> | |
<section> | |
Seção | |
<article> | |
Artigo | |
</article> | |
</section> | |
<aside> Lateral </aside> |
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
<body> | |
<header> | |
<h1>Titulo site</h1> | |
</header> | |
<nav> | |
<h2>Titulo menu</h2> | |
<a href="#">Link</a> | |
<a href="#">Link</a> | |
<a href="#">Link</a> | |
</nav> |
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
// Seleção com javascript puro | |
var el = document.querySelector(".myclass"); | |
// Seleção com jquery | |
var el = $(".myclass"); |
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
<input | |
required | |
oninvalid="this.setCustomValidity('Este campo é obrigatório!')" | |
oninput="this.setCustomValidity('')" | |
> |
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
p { | |
white-space: nowrap; | |
width: 50px; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
border: 1px solid #000000; | |
} |
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 delay example | |
function delay(time = 2500) { | |
return new Promise((resolve) => { | |
setTimeout(resolve, time) | |
}) | |
} | |
// await delay() |
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
# develop stage | |
FROM node:20-alpine as develop-stage | |
WORKDIR /app | |
COPY ./app/package*.json ./ | |
RUN yarn | |
COPY ./app . | |
# build stage | |
FROM develop-stage as build-stage | |
RUN yarn |
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
CULTURE SPEC.CULTURE ENGLISH NAME | |
-------------------------------------------------------------- | |
Invariant Language (Invariant Country) | |
af af-ZA Afrikaans | |
af-ZA af-ZA Afrikaans (South Africa) | |
ar ar-SA Arabic | |
ar-AE ar-AE Arabic (U.A.E.) | |
ar-BH ar-BH Arabic (Bahrain) | |
ar-DZ ar-DZ Arabic (Algeria) | |
ar-EG ar-EG Arabic (Egypt) |