-
Notifications
You must be signed in to change notification settings - Fork 0
/
pt.html
799 lines (761 loc) · 36.2 KB
/
pt.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wild World of Websites</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=ABeeZee&family=Architects+Daughter&family=Permanent+Marker&display=swap');
:root {
--light-pink: #efc3b2;
--dark-green: #25442f;
--green: #05843a;
--dark-purple: #5a2532;
--purple: #942ef2;
}
.broider {
border-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAqRJREFUeF7tm0tuwzAMRJ1FL9WzZdmz9VJZNGurgB8GHEpyMNlaH/JxSH3sPI78rAQe1tEy2BGgZhEEaDfQr5/vv6s5Xs/fpUGYbZ863z846gDmAONws+1T5wtQCGGAmkvSdkBVgyjnZ49H9oxrSnvKzwagLppkX4CKKR+g5m1dO9BR4uqEY8q5+1NKj/Op7Uf/qf/YHjfpbiBqTaoCIiDkH/UP0IFAgMKiU1X09ilPKa7WbEpBVXFqe/KnvYaSAQEKhEhBBLiqGLW/2p7sj0LN+1oEShFZnbJkn1uBNF+AikfVADWndIDeDSjVqOpGmRRBz8k+9e6BdjHlGkoGByiFXDwLB2iAll6jyylPKU41RozX9OZV/wJULGEkmAAN0N4qYE/56oC97vaPrl5Q4yuQAD1/LEc1M0BB5FGouQoEqAi0u6S1f9sk+tvePEDNiAP07kDJforw6tul1fbbj54BSiEVz7oBGqCXBMonJZHvQTVVNUidv7u96p9cQ0cH1Am7AbjHV/0LUPFsT2tEgK4GWr08cKdk93jtKR+g5xDiH78o4gEaoKSRy+f2lFcHLFm/oLPbP1zl3RMuYGZVINkfoObPHQN0d6C7lQiyh04+lOLjc7tCyYHZlyVkT4CKkglQERg13w4oGdx9nUdAqIRU+6v+Yw1VB3Q7UB2v2l/1P0A//Y9f7hKyvUJVA9X2bqCUsmSfuq2SU54McP+RSp2PAKoBC1CRKAUsQD8dKKWYuo9USwop7HYKDVBIGYpoVXFqAMieKHQgQC8FtweqGkgKoDWC5iPFk6Jn2yd/Y0+A7gaA/FEDHqDmNSNAVwNVU9qdUjSe+3l7ygfoOWT4bZMakaoiZs+n2qvaJ9fQKFRUqBrBtD8TkO9DA/CaQICaFRKgZqBvB2qggofcCe0AAAAASUVORK5CYII=')
28 / 28px / 0 round;
border-width: 28px;
border-style: solid;
}
body {
max-width: 60ch;
margin: 0 auto;
font-family: 'ABeeZee', 'Monaco';
background-color: var(--light-pink);
}
h1 {
font-size: 2.5em;
}
h1,
h2,
h3,
h4,
h5 {
font-family: 'Permanent Marker', Georgia, 'Times New Roman', Times, serif;
margin-top: 1em;
padding-top: 1em;
color: var(--dark-purple);
align-self: center;
text-align: center;
}
strong,
b {
color: var(--dark-purple);
display: inline;
}
img {
margin: 1em 0;
width: 100%;
}
body {
display: flex;
flex-direction: column;
line-height: 1.5;
padding: 2ch;
color: var(--dark-green);
font-size: 1.2em;
}
.paper {
position: relative;
width: 100%;
min-height: 300px;
margin: 0 auto;
background: #fafafa;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
.paper:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 60px;
background: radial-gradient(var(--light-pink) 6px, transparent 7px) repeat-y;
background-size: 30px 30px;
border-right: 3px solid #4d9f0c;
box-sizing: border-box;
}
.name {
position: absolute;
left: 25%;
width: 50%;
top: 20%;
height: 50%;
max-height: 100%;
border: 0;
outline: 0;
background: transparent;
color: darkslateblue;
font-family: 'Architects Daughter', 'Handlee', cursive;
font-weight: bold;
font-size: 1.2em;
box-sizing: border-box;
border-bottom: #9198e5 solid 2px;
resize: none;
}
.paper-content {
position: absolute;
top: 30px;
right: 0;
bottom: 30px;
left: 60px;
background: linear-gradient(transparent, transparent 28px, #9198e5 28px);
background-size: 30px 30px;
}
.paper-content textarea {
width: 100%;
max-width: 100%;
height: 100%;
max-height: 100%;
line-height: 30px;
padding: 0 10px;
border: 0;
outline: 0;
background: transparent;
color: darkslateblue;
font-family: 'Architects Daughter', 'Handlee', cursive;
font-weight: bold;
font-size: 1.2em;
box-sizing: border-box;
resize: none;
}
.suggestion {
list-style-image: url(/images/seedling.png);
margin-left: 5ch;
}
.suggestion > li {
margin-bottom: 2ch;
}
code {
padding: 20px;
margin: 20px;
vertical-align: text-bottom;
background: #f5f7f9;
/* color: #555; */
display: block;
font-family: monospace;
border: 1px solid var(--dark-green);
}
a {
color: var(--green);
}
strong,
b,
em,
table,
tr,
th {
-webkit-font-smoothing: antialiased;
}
li {
list-style-type: circle;
}
input[type='text'] {
min-height: 3ch;
width: 50%;
margin: 0 auto;
}
span.definable {
text-decoration: underline wavy var(--purple);
font-weight: bold;
-webkit-font-smoothing: antialiased;
color: #333;
}
img.definable {
border: 10px dashed var(--purple);
padding: 2ch;
}
.todo > summary::marker {
font-size: 1.5em;
}
.todo > summary {
list-style-type: '☐';
text-align: center;
font-size: 1.5em;
}
.todo[open] > summary {
list-style-type: '☑';
}
.activity {
border-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAuhJREFUeF7tnUFu4zAQBNeH/dS+bY95Wz6VQxZ7s8aBCo3usQ2hc0owEskp9jRJxVFuvz/+fP+6+/r6+3m7/5ni99de4fuZ78yJ+NwIGMWvAPFMQAVqznAVagKct9tAqUHyjBkP5/fQXNqC1Pbo+sMC9H/0dAPFC3QQIGAUL9ACPd02qpYob5toG0EKdRWuLho0HgJG+c7xFChUaIGOk14VCgQuV/LqvpMAqCVF/aseTdfT+Od4ZA+lhFSTL1DRo2iGC7RADxp4KHkqUfUsT55Eqy4pmiyH7qeKoPFRPH6WL9Dw0bNAC/ShSqmsz+J2Y+RZ5HmqhzvJ/vR4Mu2pBTqIqgKYE1KgBeoVfdqi1hXqloyHy7/b3aXES75AzUl1Z9TsPn67m08VKu7DaQZloNumTgPejrv5FSgoVN34F2iB7hb9esm7q95u+vnW3Xyx5N0O8invtujmW6DP3ja5M7arp3zrbr74KxB125BPMduiu+jQaAp0+/Hd9gzSDG/Ht/OrQrcVSgrZnmHqPx1P54PbpplAegBpQGp76XwKdPwloburKdBXA726Bbj5yQp1O1Q97tXXqx5boDBjBRqW9DpQ9+FBON/15tR85ZJXO1jPeLkDNd8CFT2UPshRoM8GqprycgXGm0/nhwpNdxgnYjaYzq9An330TM+gKaj47en8UKF01KRVL04g3KC6LaLuCxReBEYAZ7xAC1TVzPn1Ly958lT3iTfhcgGkFyG75Av0fMplDy3QAj0QePuSVxWremwaAHmwG7dLvkCPL7AtUPGNvqTgAt0GqnoWzRhZAj0LoPZpvKpnq+Od/dufvqOE1QGq1xeoeHamCSvQqwN1FUAeqJ7Ntz0vPZ4HDy3QI2KyEHoxmPwyQVdBtOi47ZNAqlDzXXuqJdkKJcXQgFxFuP2T4tQ45UNx3IcWqPbPZgp0SJgUSPECTQMl4qpJq5717terfF6+bSrQQYAWrXcHRuOrQomQGFeB/gM1u7O5sExrDwAAAABJRU5ErkJggg==')
28 / 28px / 0 round;
border-width: 28px;
border-style: solid;
padding: 2ch;
}
.tagsTable {
width: 100%;
align-self: center;
table-layout: fixed;
border: 10px dotted var(--purple);
/* border-image: repeating-linear-gradient(40deg, #4d9f0c, #9198e5, #4d9f0c 50px)
200; */
padding: 20px;
/* border-collapse: collapse; */
}
thead {
border-bottom: 2px dashed #999;
font-size: 1.2em;
}
th {
max-width: 33%;
word-wrap: break-word;
font-size: 0.8em;
}
.purple {
color: var(--purple);
}
.reset {
width: unset;
padding: 0;
margin: 0;
display: block;
}
.leafBox {
position: relative;
width: 100%;
height: 200px;
}
.leafBox img {
visibility: hidden;
width: 30%;
position: absolute;
}
</style>
<script>
function addTextareaContent(e) {
e.textContent = e.value;
}
function openDetails(e) {
if (e.open) {
window.scrollBy(0, 100);
}
}
</script>
<link
rel="stylesheet"
href="https://unpkg.com/@highlightjs/cdn-assets@11.3.1/styles/default.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/tippy.js@6/animations/scale.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/tippy.js@6/animations/scale.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/tippy.js@6/themes/light-border.css"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<a href="./index.html" style="position: absolute; left: 5%; top: 5%;">Read in English</a>
<h1 style="margin-bottom: 0">O Mundo Selvagem dos Sites</h1>
<h2 style="margin-top: 0">Uma apostila de HTML & CSS</h2>
<img
src="./images/waterfall.png"
style="margin: 0 auto; width: 80%;"
/>
<h3>Este livro pertence a:</h3>
<div class="paper" style="min-height: 90px">
<textarea class="name" onchange="addTextareaContent(this)"></textarea>
</div>
<p style="margin: 5ch auto 1ch auto"><strong style="color: #25442f">Hello, explorer!</strong></p>
<p>
Bem-vindo a apostila que mudará a maneira como você pensa sobre cada site que você já visitou.
Passamos muito do nosso tempo online, navegando de um site para outro. Mas de onde vêm todos esses sites? Quem os está fazendo?
Você já se perguntou se <em> você </em> poderia fazê-los também? Bem,
</p>
<p style="margin: 1ch auto 1ch auto; font-size: 2em"><strong style="color: #25442f">VOCÊ PODE!</strong></p>
<p>
Tendo muita experiência em codificação ou nenhuma, você pode aprender a usar ferramentas digitais para se expressar.
Pense em como você aprendeu sua língua nativa. Você se lembra de ter feito algum tipo de esforço consciente para estudá-lo?
Provavelmente não ... então, como você aprendeu?
</p>
<p>
Provavelmente, você estava cercado por "materiais" em seu idioma - sua família o falava perto de você,
talvez você tenha assistido TV ou ouvido música nela. <strong style = "color: #25442f"> Você aprendeu naturalmente, simplesmente por estar imerso
em um ambiente rico em materiais para exploração e interação. </strong>
</p>
<p>
Esta apostila vai mostrar como, mesmo sem perceber, você já está imerso na "linguagem" dos sites. Tudo que você precisa fazer é olhar com atenção! Vamos
prepare-se para se aventurar no Mundo Selvagem dos Sites.
</p>
<p>Antes de partirmos, vamos avaliar o que já sabemos:</p>
<h2>Como você descreveria sites para alguém que nunca ouviu falar deles?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<h2>E se eles perguntassem como os sites são feitos, o que você diria?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<!--
<h2>What if they asked you if <em>you</em> could make a website, what would you say?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
-->
<h1>Ferramenta de Trabalho</h1>
<div>
<img
src="./images/binoculars.png"
alt="person in wilderness holding binoculars looking at HTML & CSS"
style="width: 50%; float: left; margin: 0 2ch 0 0"
/>
<p style="margin-top: 0">
Para dar uma boa olhada em um site, precisamos ir além do que vemos com
apenas nossos olhos. Precisamos dar uma olhada mais de perto no que está por baixo;
o código.
<br />
<br />
Nossa principal ferramenta será o
<span class ="definable" id ="webInspector"> Inspetor da Web </span>.
<br />
<br />
Clique com o botão direito <strong> ☛ AQUI</strong> e selecione "Inspecionar".
<br />
<br />
</p>
</div>
<details class="todo" ontoggle="openDetails(this)">
<summary>Consegui abrir o Inspetor da Web!</summary>
<p style="margin-top: 5%">Você deve ver algo mais ou menos assim:</p>
<img
src="./images/inspector.png"
alt="screenshot of this page with the web inspector open to the right"
class="definable"
id="WIScreenshot1"
/>
<details>
<summary>Como posso usar o Inspetor da Web e manter minha página na largura total?</summary>
<div style="display: flex; flex-direction: row;">
<p>
Para manter a página que você está inspecionando em largura total, você também pode puxar o Inspetor da Web em seu
própria janela. Procure o menu de três pontos no canto superior direito e selecione a opção Dock Side que
parece duas janelas.
</p>
<img style="width: 40%; margin-left: 2ch; object-fit: contain;" src="https://i.ibb.co/wSyMnK1/Screen-Shot-2021-11-13-at-5-11-37-PM.png" />
</div>
</details>
<h2>Como você se sente olhando para o Inspetor da Web? Principalmente se você se sentir sobrecarregado, pode ser útil reunir aqui suas idéias.</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<br />
<br />
Passe alguns minutos percorrendo o código HTML na aba <strong> Elementos </strong>.
O que você vê? Você vê algum texto desta apostila?
<br />
Aqui está um vídeo que demonstra
algumas dicas úteis para navegar com o Inspetor da Web. Saber como recolher/não recolher os elementos HTML
é especialmente importante!
<video style="display: block; margin: 2ch 0" width="100%" controls>
<source src="./images/WIVideo.mp4" type="video/mp4">
</video>
<h2>Escreva sobre algumas das coisas que você vê por meio do Inspetor da Web.</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<p>O que acontece se você clicar duas vezes no conteúdo no Inspetor da Web? Você deve ser capaz de editar ou substituir totalmente essa parte do conteúdo!</p>
<br />
<br />
<div class="activity">
<h3 style="padding: 0;">Atividade nº 1: Edição de Conteúdo</h3>
<p>
Vamos tentar alterar o conteúdo por meio do Inspetor da Web. Lembre-se de que você pode fazer isso clicando duas vezes.
<img src="https://i.ibb.co/Qfcm640/Screen-Shot-2021-11-13-at-4-20-50-PM.png">
<!-- You have to hit enter after making a change.
Don't worry, the changes aren't permanent and if you ever want to go to the original version of this page you just need to refresh.
<br />
<br /> -->
<p>Tente clicar em "Inspecionar" novamente e editar aqui:</p>
<ul>
<strong> Minha refeição perfeita:</strong>
<li> ??????? </li>
<li> ::::::: </li>
<li> ^^^^^^^ </li>
</ul>
<br />
<p>Você pode alterar o conteúdo em quase qualquer site, sem a necessidade de Photoshop! Por exemplo, um tweet:</p>
<img src="https://i.ibb.co/rwBjW3p/Screen-Shot-2021-11-14-at-10-22-32-AM.png" />
<p>Ou uma manchete:</p>
<img src="https://i.ibb.co/R66n4x4/Screen-Shot-2021-11-14-at-10-37-08-AM.png" />
<p>Seja criativo! Explore a internet e torne-a sua.</p>
<img src="https://i.ibb.co/xjk0RGX/Screen-Shot-2021-11-14-at-10-49-16-AM.png" />
</p>
</div>
<details class="todo" ontoggle="openDetails(this)">
<summary> Consegui alterar parte do conteúdo de uma página da web! </summary>
<h1> Explorando a Estrutura: HTML </h1>
<p>
HTML significa <strong> linguagem de marcação de hipertexto </strong>. Historicamente, as linguagens de marcação foram usadas
para anotar conteúdo de texto (por exemplo, um manuscrito) para que o compositor saiba como as diferentes partes do
texto devem aparentar depois de impresso. Por exemplo, a linguagem de marcação pode mostrar a parte do texto que
deve estar em negrito, em itálico, em uma fonte diferente, ser um cabeçalho de seção e assim por diante.
<img src="https://i.ibb.co/NWsTJsX/manuscript.png" />
</p>
<p>
De volta ao Inspetor da Web, encontre os elementos que se parecem com:
<ul style="margin-bottom: 0">
<li><span class="purple"><h1></span></li>
<li><span class="purple"><p></span></li>
<li><span class="purple"><strong></span></li>
</ul>
</p>
<p>
Elas são chamadas de <strong> tags </strong>!
Assim como uma marcação de manuscrito tem símbolos que comunicam ao compositor o propósito de uma
parte do conteúdo e como ela deve ficar depois de impresso, <strong> tags HTML são símbolos que informam ao seu navegador a finalidade de uma
parte do conteúdo. </strong>
<br />
<br />
Quando você passa o mouse sobre as marcas HTML, a seção correspondente nesta pasta de trabalho deve ser destacada.
<img src = "images / realce.png" />
As tags de HTML geralmente são aninhadas umas dentro das outras. Você pode expandir uma tag clicando na seta à sua esquerda.
<br />
<br />
</p>
<h2 style="margin-top: 0; padding-top: 0;">Como você descreveria a relação entre uma tag HTML e o conteúdo dentro dela com suas próprias palavras?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<p>
<div style="width: 50%; display: inline-block;">
Existem demais tipos de tags de HTML para cobrir aqui, mas você pode descobrir mais sobre todas elas na
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element" target="_blank"> Documentação de desenvolvedor da Mozilla </a>.
Os Web Docs da Mozilla são uma ótima fonte de referência não apenas para HTML, mas para muitas outras tecnologias da web que você pode estar curioso, como CSS e JavaScript.
<!-- something about next steps here? -->
<br />
<br />
Vamos dar uma olhada em algumas tags de HTML comuns. Você pode ver o código HTML para cada tag na primeira coluna. Você também pode
encontre os trechos de código relevantes no Inspetor da Web.
</div>
<img src="./images/shoes.png" style="width: 50%; float: right;"/>
</p>
<p>
<table class="tagsTable">
<thead>
<tr>
<th> HTML </th>
<th> Nome da tag </th>
<th colspan = "1"> Renderização </th>
</tr>
</thead>
<tbody>
<tr>
<th>
<code>
<span class="purple"><p></p></span>
</code>
</th>
<th>parágrafo</th>
<th>Este é um parágrafo! É curto, mas ainda assim.</th>
</tr>
<tr>
<th>
<code>
<span class="purple"><h1></h1></span>
<br/>
<span class="purple"><h2></h2></span>
<br/>
<span class="purple"><h3></h3></span>
<br/>
<span class="purple">...</span>
</code>
</th>
<th>cabeçalho</th>
<th>
<h1 class ="reset"> Sou um h1! </h1>
<h2 class ="reset"> Sou um h2! </h2>
<h3 class ="reset"> Sou um h3! </h3>
</th>
</tr>
<tr>
<th>
<code>
<span class="purple"><div></div></span>
</code>
</th>
<th>
divisão de conteúdo
</th>
<th>
<div style="background-color: cornsilk; padding: 10px; margin: 10px; border: 5px dotted olivedrab">Estou <em> dentro </em> de um div. O div não tem nenhum atributo visual, a menos que seja estilizado para ter alguns. Por exemplo, este tem uma borda e um fundo.</div>
</th>
</tr>
<tr>
<th>
<code>
<span class="purple"><strong></strong></span>
</code>
</th>
<th>
forte
</th>
<th>Eu sou muito <strong>importante</strong></th>
</tr>
<tr>
<th>
<code>
<span class="purple"><em></em></span>
</code>
</th>
<th>
ênfase
</th>
<th>Também sou <em>importante</em>, mas de forma mais enfática</th>
</tr>
<tr>
<th>
<code>
<span class="purple"><img src="image_url"></span>
</code>
</th>
<th>
imagem
</th>
<th><img src="https://pbs.twimg.com/profile_banners/1864075333/1598733485/1500x500" style="width: 90%"></th>
</tr>
<tr>
<th>
<code>
<span class="purple">
<span style="margin-left: -40px"><ul></span>
<br/>
<span style="margin-left: 20px"><li></li></span>
<br/>
<span style="margin-left: 20px"><li></li></span>
<br/>
<span style="margin-left: -40px"></ul></span>
</span>
</code>
</th>
<th>
lista não ordenada e itens de lista
</th>
<th>
<ul style="text-align: left">
<li>Estamos em uma lista!</li>
<li>Somos os elementos da lista</li>
</ul>
</th>
</tr>
<tr>
<th>
<code>
<span class="purple"><a href="any_url"></span>
</code>
</th>
<th>
âncora
</th>
<th><a href="https://twitter.com/tfivefifty" target="_blank">Eu sou uma âncora! Eu sou um link para qualquer coisa com um URL</a></th>
</tr>
</tbody>
</table>
</p>
<div class="activity">
<h3 style="padding: 0;">Atividade nº 2: Editando Tags</h3>
<!-- activity where changing emphasis changes sentence meanig OR poem line breaks -->
<p>Vamos passar algum tempo mexendo nas tags do Web Inspector! Experimente estes para começar:</p>
<h6>sou tão pequeno ... gostaria de ser grande e importante</h6>
<strong>QUERO SER APENAS UM PARÁGRAFO NORMAL</strong>
<br />
<p>Minha imagem está quebrada! Você pode concertar isso?</p>
<img src="o URL da minha imagem está quebrado ... você pode substituí-lo por um que funcione?" />
<br />
<br />
<p>
As tags HTML podem ter atributos. Por exemplo, <span class = "purple"> src </span> é um atributo da tag <span class = "purple"> & lt; img> </span>.
Os atributos podem ser adicionados ou excluídos por meio do Inspetor da Web. Tente remover o atributo desativado do botão abaixo.
</p>
<button disabled>Eu quero ser clicável!</button>
<p>Também é possível usar o Inspetor da Web para excluir totalmente as tags.</p>
<img src="https://i.ibb.co/PCb18sc/Screen-Shot-2021-11-14-at-10-58-30-AM.png" />
<p>Excluir HTML pode ser útil em muitas situações, como ultrapassar <span class ="definable" id ="paywalls">acessos pagos.</span></p>
<img src="https://i.ibb.co/VMVDDtm/Screen-Shot-2021-11-14-at-11-04-02-AM.png" />
<p>Você pode praticar a exclusão de elementos corrigindo a frase abaixo.<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br" target="_blank">Leia sobre a tag <span class="purple"><br></span>.</a></p>
<p>
me bo
<br />
te de
<br/>
volta
<br/>
po
<br />
r fa
<br/>
vo
<br/>r
</p>
O que você pode tentar mudar na internet?
</div>
<details class="todo" ontoggle="openDetails(this)">
<summary>Consegui editar algumas tags HTML!</summary>
<h2>Qual (is) site (s) tentou editar?</h2>
<div class="paper" style="min-height: 150px;">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<h2>O que você mudou?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<h2>Adicione uma imagem de sua edição aqui:</h2>
<img src="adicione um URL de imagem aqui" />
<details>
<summary>Como posso obter um link para minha captura de tela?</summary>
<p>
Primeiro você precisa fazer o upload da sua captura de tela para um serviço de hospedagem. <a href="https://imgbb.com/" target="_blank"> ImgBB </a> é uma opção gratuita.
Em seguida, você precisa obter o URL da imagem. Você pode clicar com o botão direito na imagem e procurar algo como "Copiar endereço da imagem". Você também pode arrastar
a imagem para a barra de URL do seu navegador e copie o que aparece lá.
<br />
<br />
Cole seu url no atributo <span class ="purple">src</span> da tag <span class ="purple"><img/></span>.
</p>
</details>
<h1>Explorando o Estilo: CSS</h1>
<p>
Pense nos sites que você visita com frequência. Eles são parecidos? Como as mesmas tags HTML podem <em>parecer</em> tão diferentes em sites diferentes?
<h2 style="margin: 0">Como isso pode ser um <span class="purple"><h2></span></h2>
<h2 style="font-family:'Courier New'; color:cadetblue; font-size: 0.7em;">E isso tambem ser um<span class="purple"><h2></span></h2>
Mas eles parecem totalmente diferentes? Vamos <span style="margin: 2ch auto 0 auto">゚・✧・゚INSPECIONAR゚・✧・゚</span>
<img src="https://i.ibb.co/BVFCLR1/Screen-Shot-2021-11-14-at-11-47-33-AM.png" />
</p>
<p>
A chave está no atributo "style" na tag <span class ="purple"><h2> </span>. No atributo de estilo, você pode escrever CSS.
<strong> CSS significa Cascading Style Sheets e é a linguagem que podemos usar para definir melhor a aparência dos elementos em uma página da web.</strong>
<br />
<br />
<div style="display: flex;">
<p>É mais fácil ver o estilo de um elemento se você olhar para a <span class ="definable" id ="StylesTab">aba de Estilos</span> perto da parte inferior.</p>
<img style="width: 50%; margin-left: 2ch" src="https://i.ibb.co/WPx9cjr/Screen-Shot-2021-11-14-at-11-47-51-AM.png" />
</div>
</p>
<p>Você pode fazer vários estilos diretamente na aba de Estilos de um elemento. Você pode editar uma de suas propriedades, excluir uma ou adicionar uma nova propriedade inteira.</p>
<div class="activity">
<h3 style="padding: 0;">Atividade nº 3: Editando CSS</h3>
<p style="color: #333">Aqui está uma lista de <a href="https://www.w3schools.com/cssref/css_colors.asp" target="_blank">cores nomeadas em CSS</a>. Mude esta linha para qualquer cor que você quiser!</p>
<br />
<p style="background-color: darkseagreen;">Você também pode adicionar ou alterar uma cor de fundo para os elementos. Qual é a tua cor preferida?</p>
<br />
<p style="background-color: sandybrown; border-style: dashed; border-color: seagreen; border-width: 10px;">Você pode criar muito interesse visual com apenas uma borda e um plano de fundo. Consulte a documentação do Mozilla para saber mais sobre todas as possibilidades para <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/border" target="_blank">bordas</a> e <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-color" target="_blank">fundos</a> e seja criativo aqui!</p>
<br />
<p style="border: 5px outset pink; outline: 5px solid khaki; box-shadow: 0 0 0 20px skyblue; border-radius: 5px; padding: 10px; margin: 10px; outline-offset: 10px">Eu tenho uma borda, um contorno e uma sombra de caixa. Legal, não?? Confira meus estilos no inspetor! O que parece divertido de mudar?</p>
<br />
<p style = "cursor: grab"> Você pode estilizar muitas coisas com CSS, incluindo o cursor. Passe o mouse sobre mim para ver! Você pode alterar este cursor para <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/cursor" target="_blank">um diferente?</a></ p>
<p>CSS também é usado para propriedades mais estruturais, como a exibição ou não de um elemento. Tente usar a guia Estilos para alternar a visibilidade das folhas, talvez você encontre algo legal!</p>
<div class="leafBox">
<img src="./images/snail.png" style="visibility: visible; right: 60px; top: 60px; width: 10%;" />
<img src="./images/leaf.png" style="visibility: visible; left: 0;"/>
<img src="./images/leaf.png" style="visibility: visible; left: 50%; margin-left: -87px"/>
<img src="./images/leaf.png" style="visibility: visible; right: 0;"/>
</div>
</div>
<p>
Mesmo as pessoas que já programam para a web há anos não conhecem todas as propriedades CSS possíveis. Em caso de dúvida, você sempre pode consultar este
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Properties_Reference" target="_blank">lista das propriedades CSS mais comuns</a> ou
a <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference" target="_blank">referência estendida</a>. Quando você se depara com uma
propriedade desconhecida, você pode pesquisá-la no MDN para saber mais.
</p>
<details class="todo" ontoggle="openDetails(this)">
<summary>Consegui mudar alguns estilos CSS!</summary>
<h1>Continue explorando!</h1>
<p>
A web é realmente um lugar selvagem e continuamente expansivo. Mas isso não significa que você precisa de anos de treinamento ou um diploma em Ciência da Computação para interagir com ele de forma pessoal.
Por meio desta apostila, você aprendeu a usar o Inspetor da Web para examinar mais de perto alguns dos materiais que constituem a web: HTML e CSS. Mais do que apenas olhar, você
alcançou o funcionamento interno e tornou esta página sua!
<br />
<br />
Você pode baixar esta página com todas as suas maravilhosas adições clicando em <a onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)" href="#" download="index.html">aqui!</a>
Se desejar criar um novo site com <strong>SUA</strong> versão desta apostila, você pode usar <a href="https://app.netlify.com/drop" target="_blank">Netlify</a> para implantá-lo. Tudo que você precisa fazer é
colocar seu arquivo dentro de uma pasta e arrastea-lo para a página no link acima.
</p>
<p style="text-align: center; margin-bottom: 1ch; margin-top: 5ch;">Aqui está um retorno a onde começamos. <br />Pegando o que você aprendeu,</p>
<h2 style="margin-top: 0; padding-top: 0;">Como você descreveria para alguém como os sites são feitos?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<h2>Como você se sente sobre sua capacidade de fazer um site agora?</h2>
<div class="paper">
<div class="paper-content">
<textarea onchange="addTextareaContent(this)"></textarea>
</div>
</div>
<p style="margin-top: 6ch">
Há muito mais para descobrir sobre a web e como ela é feita, e ainda mais maneiras de se expressar por meio dela.
No espírito de uma internet mais estranha, mais livre e criada por você, aqui estão alguns links para você começar:
<br />
<br />
<ul class="suggestion">
<li>Se você quiser saber mais sobre a vibe da web nos anos 90 enquanto pratica HTML e CSS, dê uma olhada no livro de Jackie Liu
<a href="https://www.zinesbyjackie.com/activities/build-an-under-construction-page" target="_blank"> <em>Construir um mini site em construção</em></a> zine.</li>
<li>Se você tem um tipo específico de site em mente que deseja criar, experimente o <a href ="https://glitch.com/edit/#!/remix/glitch-hello-website" target = "do Glitch _blank ">Projeto inicial do <em>Hello Website </em> </a>. O projeto <a href="https://glitch.com/edit/#!/remix/glitch-in-bio" target="_blank">Faça você mesmo<em> Link na Bio </em></a>é também excelente.</li>
<li>Se você quer apenas fazer um site e não está sentindo as partes HTML e CSS, não tenha medo! Experimente a interface de arrastar e soltar da <a href="https://mmm.page/" target="_blank">mmm.page</a>. A expressão na web é para todos! </li>
<li>Se você está intrigado com CSS e quer se sentir <strong> muito </strong> mais confiante com ele, recomendo fortemente o <a href="https://wizardzines.com/zines/css/" target="_blank"><em>Claro que sim! CSS!</em> </a> zine de Julia Evan</li>
<li>Se você estiver interessado em fazer um blog enquanto trabalha em HTML e CSS, <a href="https://zonelets.net" target="_blank">Zonelets</a> de Marina Kittaka é um ótimo lugar para ir. </li>
<li>Se tudo o que você deseja é um lugar para compartilhar suas ideias rápidas, você gostaria de <a href="https://thoughts.page/" target="_blank">thoughts.page</a> criado por Wesley Aptekar-Cassels.</li>
<li>Se você está tentando se tornar realmente artístico com suas habilidades na web, o <a href="https://www.youtube.com/watch?v=HerCR8bw_GE&list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA&index=1" target="_ blank"> <em>Programar com a série p5.js</em> do The Coding Train</a> é mais divertido do que você pode imaginar.</li>
<li>Se um curso inteiro sobre como fazer gráficos para a web parece muito, mas você quer mergulhar de cabeça, vá para <a href="https://cafe-robot.co/" target="_blank">Café Robot</a> e tente suas experiências rápidas de codificação.</li>
</ul>
</p>
<p style="margin-top: 5ch">Obrigado por dedicar seu tempo ao meu pequeno projeto! Se você tiver um minuto, adoraria ouvir de você. Você pode compartilhar suas ideias por meio deste <a href="https://airtable.com/shrVC8oSBwVrKFDPB" target="_blank">formulário super curto.</a></p>
</details>
</details>
</details>
</details>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
<script>
tippy('#webInspector', {
content: 'Também chamadas de ferramentas de desenvolvedor',
placement: 'auto',
theme: 'light-border',
});
tippy('#WIScreenshot1', {
content:
"<p>Isso parece MUITA informação agora, mas não se preocupe. Em breve aprenderemos a navegar bem nessa ferramenta. <br/> <br/> Por enquanto, certifique-se de estar na aba de <strong>Elementos</strong>.</p>",
placement: 'bottom',
theme: 'light-border',
allowHTML: true,
});
tippy('#paywalls', {
content:
"Excluir um acesso pago nem sempre é fácil em sites sofisticados. Eles tentam o seu melhor para desviá-lo. É como um jogo de gato e rato. Mas funciona bem em muitos outros sites.",
placement: 'auto',
theme: 'light-border',
});
tippy('#StylesTab', {
content: "Algumas vezes, um elemento possui uma propriedade de estilo definida em mais de um lugar. A parte 'Cascata' do CSS se refere à ordem em que as propriedades são aplicadas a elementos específicos. A aba de Estilos lista as propriedades aplicadas da maioria às menos específicas. Você pode dizer que uma propriedade foi substituída em outro lugar quando ela é riscada.",
placement: 'auto',
theme: 'light-border',
});
</script>
</body>
</html>