diff --git a/exercicios-para-casa/index.html b/exercicios-para-casa/index.html new file mode 100644 index 0000000..b351b26 --- /dev/null +++ b/exercicios-para-casa/index.html @@ -0,0 +1,121 @@ + + + + + + + Site da Isa + + + + + + + +
+ +

Essa sou eu

+

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Aperiam quaerat ab magnam veniam reprehenderit, quibusdam eos maiores neque illo deleniti laboriosam amet, temporibus, repellat illum earum sint! Aperiam, harum sed.

+ + +
+ + + + image + + + + Redes socias + + +
+ + + + + +
+ + + + + \ No newline at end of file diff --git a/exercicios-para-casa/perfil.jpg b/exercicios-para-casa/perfil.jpg new file mode 100644 index 0000000..2ae5a67 Binary files /dev/null and b/exercicios-para-casa/perfil.jpg differ diff --git a/exercicios-para-casa/script.js b/exercicios-para-casa/script.js new file mode 100644 index 0000000..fcf5bbf --- /dev/null +++ b/exercicios-para-casa/script.js @@ -0,0 +1,9 @@ +image.addEventListener("mouseover", imageGonnaBeLargeWhenMouseOver) +image.addEventListener("mouseout", imageNormalSize) + +function imageGonnaBeLargeWhenMouseOver() { + image.style.width = "800px"; +} +function imageNormalSize() { + image.style.width = "464px" +} \ No newline at end of file diff --git a/revisao/script.js b/revisao/script.js new file mode 100644 index 0000000..2367db3 --- /dev/null +++ b/revisao/script.js @@ -0,0 +1,49 @@ +let nomes = [ + {pais:"Brasil", + nome: "isabella"}, + + {pais:"Italia", + nome: "Marina"}, + + {pais:"E.U.A", + nome: "Jessuca"}, + + ]; + +//console.log([0].pais) + +//nomes.filter(function (elemento){ ----callback=functions + +//}) + +/*let cancoes = { + banda: "Dingo Bells", + musicas: ['Eu vim passear', 'Mistério dos Trinta'], + numeroIntegrantesBanda: 15, +} +//console.log(cancoes.musicas[1]); + +cancoes.filter(function (elemento){ + console.log(elemento.musicas) +})*/ + + +/*function retornaNome( elemento, indice, array){ + return console.log(elemento) +} +nomes.map(retornaNome)*/ + +/*const retornaNome = (elemento, indice, array) => { + return console.log(elemento, indice, array) +} +nomes.map(retornaNome)*/ + + +nomes.map((item, index) => { + if(item == "isabella"){ + console.log(item, index) + } +}) + + +