Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
Ex 1 React, atualizado resumo
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcon83 committed Apr 7, 2021
1 parent 39039fa commit 1b8e48a
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
55 changes: 55 additions & 0 deletions React Dia 01 - Revisão/RD1E1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="pt-br">

<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>

<title>Layout HTML</title>

<style>
* {
border: 1px solid black;
border-collapse: collapse;
min-height: 150px;
text-align: center;
font-size: 30px;
}
</style>

</head>

<body>
<!-- <header>Header</header>
<nav>Nav</nav>
<aside>aside</aside>
<section>section</section>
<article>article</article>
<footer>footer</footer> -->

<table style="width: 100%; min-height: 900px;">
<tr>
<td colspan="2">Header</td>
</tr>
<tr>
<td colspan="2">Nav</td>

</tr>
<tr>
<td>section</td>
<td rowspan="2">aside</td>
</tr>
<tr>

<td>article</td>
</tr>
<tr>
<td colspan="2">footer</td>

</tr>
</table>

</body>

</html>
8 changes: 8 additions & 0 deletions _JS - Regular Expressions .txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ Expressões
/txt[ba*]/ => Aceita txt com b com zero ou mais "a"s no final, (b, ba, baa, etc);
/txt[0-9]*/ => Aceita txt com zero ou mais números no final;
/txt[0-9]+?/ => Busca o txt com zero ou mais números no final, que seja o mais curto;
/^txt/ => Busca txt, mas apenas no início da string;
/txt$/ => Busca txt no fim da string;


Abreviaturas

\w => equivalente a [A-Za-z0-9_];
\W => equivalente a [^A-Za-z0-9_];

Opções

/../i => ignora maiúsculas e minúsculas;
Expand All @@ -26,3 +33,4 @@ funções:
string.match(/rEx/) // Retorna a string achada, o index, e a string
// original em uma array;


0 comments on commit 1b8e48a

Please sign in to comment.