Skip to content

Instantly share code, notes, and snippets.

@talilotarlison
Created September 19, 2022 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save talilotarlison/697ef0cf4873e8954ecce856a363cceb to your computer and use it in GitHub Desktop.
Save talilotarlison/697ef0cf4873e8954ecce856a363cceb to your computer and use it in GitHub Desktop.
AluraFlix v1- ID3
<div class="container">
<h1 class="page-title">
Aluraflix
</h1>
<img src="https://www.alura.com.br/assets/img/imersoes/dev-2021/logo-imersao-aluraflix.svg" class="page-logo" alt="">
</div>
<a href="https://alura.com.br/" target="_blank">
<img src="https://www.alura.com.br/assets/img/home/alura-logo.svg" alt="" class="alura-logo">
</a>
var listaFilmes = [
"https://img.elo7.com.br/product/zoom/2657601/big-poster-filme-harry-potter-e-a-camara-secreta-lo02-90x60-geek.jpg",
"https://br.web.img2.acsta.net/c_310_420/pictures/20/05/25/09/42/1764616.jpg",
"https://br.web.img2.acsta.net/pictures/21/04/07/21/13/5564614.jpg"
];
//var listaNome = ["harry potter", "harry potter", "harry potter"];
for (var i = 0; i < listaFilmes.length; i++) {
// console.log(listaFilmes[i]);
document.write(`<img src=${listaFilmes[i]} >`);
}
body {
font-family: "Roboto Mono", monospace;
text-align: center;
background-image: url("https://www.alura.com.br/assets/img/imersoes/dev-2021/dia-04-aluraflix-e-filmes.png");
background-color: #000000;
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
}
.container {
text-align: center;
padding: 20px;
}
.page-title {
color: #ffffff;
margin: 0 0 5px;
}
.page-subtitle {
color: #ffffff;
margin-top: 5px;
}
.page-logo {
width: 200px;
}
.alura-logo {
width: 40px;
position: absolute;
top: 10px;
right: 10px;
}
body > img {
margin: 0 10px;
}
img {
max-height: 250px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment