-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalert.html
More file actions
24 lines (19 loc) · 936 Bytes
/
alert.html
File metadata and controls
24 lines (19 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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.0">
<title>Alert_Javascript</title>
<script>
window.alert("Alert é um metodo do,"); // Alert_so_necessita_de_um_parametro_uma_"string",_posso_usar_o_window
alert("objeto window"); // ou_posso_omitir_o_window_pois_ele_nao_e_necessario
var nome = "Luis_Henrique_Silva_ferreira";
var formacao = "Logica de Programacao/_Front Ent/_Tecnico de Eletroeletronica/_ Tecnico de Informaica para Internet/_Analise e Desenvolvimento de Sistemas";
const quebra = "\n"; // constante_"quebra_com_"\n"_que_faz_a_quebra_de_linha_dentro_de_um_lert
alert("Nome: " + nome + quebra + "\n" + "Formado em: " + formacao)
</script>
</head>
<body>
</body>
</html>