Browse Source

commit exercicio aula 04 e inicio da aula 05

master
andre 3 years ago
parent
commit
314ffca331
5 changed files with 66 additions and 3 deletions
  1. +23
    -0
      ex-aula04/extincoes.html
  2. +13
    -0
      ex-aula04/formulario-animal/index.html
  3. +3
    -0
      ex-aula04/formulario-animal/salvo.html
  4. +5
    -3
      index.html
  5. +22
    -0
      style.css

+ 23
- 0
ex-aula04/extincoes.html View File

@ -0,0 +1,23 @@
<html>
<head>
<meta charset="utf-8" />
<title>Animais em extinção</title>
</head>
<body>
<h1>Animais em extinção</h1>
<table border="1">
<thead>
<tr>
<th>Animais</th>
<th>Quantidade restante</th>
</tr>
</thead>
<tbody>
<tr>
<td>Baleia orca</td>
<td> 13</td>
</tr>
</tbody>
</table>
</body>
</html>

+ 13
- 0
ex-aula04/formulario-animal/index.html View File

@ -0,0 +1,13 @@
<<html>
<body>
<form action="salvo.html" target="iframe-salvo">
<label>Nome do animal</label>
<input type="text"/>
<label>Quantidade</label>
<input type="number"/>
<button>Enviar</button>
</form>
<iframe name="iframe-salvo"></iframe>
</body>
</html>

+ 3
- 0
ex-aula04/formulario-animal/salvo.html View File

@ -0,0 +1,3 @@
<html>
<h1>Salvo com sucesso</h1>
</html>

+ 5
- 3
index.html View File

@ -1,7 +1,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<link rel="stylesheet" href="style.css"/>
</head> </head>
<body> <body>
<table border="1"> <table border="1">
@ -28,8 +28,10 @@
Estou construindo esse site pelo editor vim dentro do Estou construindo esse site pelo editor vim dentro do
terminal linux através do putty terminal linux através do putty
</p> </p>
<img src="vini.jpg" />
<a href="teste/">Vá para a outra página</a>
<div id="div-img">
<img src="vini.jpg" />
</div>
<a href="teste/">Vá para a outra página</a>
</div> </div>
</body> </body>
</html> </html>

+ 22
- 0
style.css View File

@ -0,0 +1,22 @@
h1 {
text-align: center;
text-transform: uppercase;
padding: 20px 10px 5px;
margin: 5px;
}
p {
margin: 1px 0px 30px;
text-align: center;
}
#div-img {
display: flex;
justify-content: center;
width: 100%;
}
img {
width: 200px;
height: 200px;
}

Loading…
Cancel
Save