Desenvolvimento web com html css e javascript

Page 468

R ESPOSTAS

456

Questão 3.13 d Questão 3.14 e Questão 3.15 c Questão 3.16 e Questão 3.17 d Exercício Complementar 4.1 No projeto javascript, adicione um arquivo chamado exibe-numeros-1-50-2x.html e outro chamado exibe-numeros-1-50-2x.js. 1 <! DOCTYPE html > 2 < html lang = " pt - br " > 3 < head > 4 < meta http - equiv = " Content - Type " content = " text / html ; charset = UTF -8 " > 5 < title > Exibe os números de 1 até 50 duas vezes </ title > 6 < script type = " text / javascript " src = " exibe - numeros -1 -50 -2 x . js " > </ script > 7 </ head > 8 < body > 9 </ body > 10 </ html > Código HTML 4.56: exibe-numeros-1-50-2x.html

1 for ( var x = 0; x < 2; x ++) { 2 for ( var y = 1; y <= 50; y ++) { 3 console . log ( y ) ; 4 } 5 } Código Javascript 4.136: exibe-numeros-1-50-2x.js

No Windows, utilize o Chrome para acessar o endereço: http://localhost/javascript/public_html/exibe-numeros-1-50-2x.html.

No Ubuntu, utilize o Chrome para acessar o endereço: 456

www.k19.com.br


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.