Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
Open

Sara #10

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
acd4531
Cod: HTML/CSS
laris28 Feb 1, 2021
16a04d1
code: estrutura de arquivos
letbrasil Feb 1, 2021
f987fe4
Cod: HTML/logo
laris28 Feb 1, 2021
7b74690
Merge pull request #1 from laris28/HTML/CSS
letbrasil Feb 1, 2021
5ed5929
doc: api/teste
letbrasil Feb 1, 2021
d0dc7ae
Merge pull request #2 from laris28/testando-api
laris28 Feb 1, 2021
8b97ee7
atualizar API
LuanaGss Feb 1, 2021
4c38f8e
filtro
aluizada Feb 1, 2021
8296368
CODE: Favicon, descricao criadas
szohara Feb 1, 2021
ec4aa7d
mostra pôsteres na página
letbrasil Feb 1, 2021
45036f2
Merge pull request #3 from laris28/feat/mostrar-posteres
laris28 Feb 1, 2021
c0cb7a4
atualizar
LuanaGss Feb 1, 2021
1ca3807
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
szohara Feb 1, 2021
791b50a
Merge pull request #4 from laris28/Sara
laris28 Feb 1, 2021
b809521
test
laris28 Feb 1, 2021
29b5bb7
teste
aluizada Feb 1, 2021
7bff3e3
CODE: Carrossel Finalizado HTML / CSS / JS
szohara Feb 2, 2021
79d6a58
Merge pull request #5 from laris28/Sara
laris28 Feb 2, 2021
ad79ba5
teste2
laris28 Feb 2, 2021
c9dc088
atualizar
LuanaGss Feb 2, 2021
8a7a47e
code: altera função que exibe poster
letbrasil Feb 2, 2021
6cd4dc7
Merge pull request #6 from laris28/feat/funcao-poster-alterada
laris28 Feb 2, 2021
87f42df
teste3
laris28 Feb 2, 2021
341b770
code: pôsteres giratórios
letbrasil Feb 2, 2021
89b3804
Merge pull request #7 from laris28/feat/poster-giratorio
LuanaGss Feb 2, 2021
62f2371
Atualizar flip
LuanaGss Feb 2, 2021
a350a80
teste4
laris28 Feb 2, 2021
0fc23cb
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
laris28 Feb 2, 2021
6905760
ícones/poster
aluizada Feb 2, 2021
6524be2
Merge pull request #8 from laris28/filtro
laris28 Feb 2, 2021
ac03304
atualizar imagens
LuanaGss Feb 2, 2021
014e251
teste5
laris28 Feb 2, 2021
0b0b9c2
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
laris28 Feb 2, 2021
160baf0
botões de filtros
laris28 Feb 2, 2021
c5d3ffa
Merge pull request #9 from laris28/filtro
szohara Feb 2, 2021
bb765f3
CODE: CSS modificado
szohara Feb 2, 2021
05e75ca
.
elis-brasil Feb 2, 2021
9251bd1
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
elis-brasil Feb 2, 2021
19da2cd
atualizar
LuanaGss Feb 2, 2021
be99ae9
CODE: Inicializando os sorteiros
szohara Feb 2, 2021
0e6e0b1
Merge pull request #10 from laris28/Sara
elis-brasil Feb 2, 2021
f96c45d
sorteio
LuanaGss Feb 2, 2021
4d0ca6b
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
elis-brasil Feb 2, 2021
d35a3c8
code: adiciona outros gêneros
letbrasil Feb 2, 2021
dc0b5ad
code: adiciona outros gêneros
letbrasil Feb 2, 2021
e78f7ab
Merge pull request #11 from laris28/fix/outros-generos
elis-brasil Feb 2, 2021
5724e17
Merge branch 'main' of https://github.com/laris28/SAP005-midterm-hack…
elis-brasil Feb 2, 2021
84ac1e8
atualizar
LuanaGss Feb 2, 2021
92afa52
CSS/responsivo
LuanaGss Feb 3, 2021
8b6b379
Merge pull request #12 from laris28/Luana
laris28 Feb 3, 2021
468f2a4
CODE: Sorteio, imagens funcionando
szohara Feb 3, 2021
edd5b4c
CODE: Sorteio funcionando, falta estilizar
szohara Feb 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/data
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"env": {
"browser": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": "eslint:recommended",
"rules": {
"no-console": "warn",
"import/extensions": 0
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
*.swp
coverage/
node_modules/
6,590 changes: 6,590 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "midterm-hackthon",
"version": "1.0.0",
"main": "src/index.html",
"license": "MIT",
"scripts": {
"htmlhint": "htmlhint src/*.html test/*.html",
"eslint": "eslint --ext .js src/ test/",
"pretest": "npm run eslint && npm run htmlhint",
"test": "jest --verbose --coverage",
"open-coverage-report": "opener ./coverage/lcov-report/index.html",
"start": "serve src/",
"deploy": "gh-pages -d src"
},
"dependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"babel-jest": "^26.6.1",
"eslint": "^7.12.1",
"gh-pages": "^3.1.0",
"htmlhint": "^0.14.1",
"jest": "^26.6.1",
"opener": "^1.5.1",
"serve": "^11.0.0"
}
}
76 changes: 76 additions & 0 deletions src/carrossel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
const fila = document.querySelector('.contenedor-carousel');
const peliculas = document.querySelectorAll('.pelicula');
const flechaIzquierda = document.getElementById('flecha-izquierda');
const flechaDerecha = document.getElementById('flecha-derecha');

// ? ----- ----- Event Listener para la flecha derecha. ----- -----
flechaDerecha.addEventListener('click', () => {
fila.scrollLeft += fila.offsetWidth;

const indicadorActivo = document.querySelector('.indicadores .activo');
if(indicadorActivo.nextSibling){
indicadorActivo.nextSibling.classList.add('activo');
indicadorActivo.classList.remove('activo');
}
});

// ? ----- ----- Event Listener para la flecha izquierda. ----- -----
flechaIzquierda.addEventListener('click', () => {
fila.scrollLeft -= fila.offsetWidth;

const indicadorActivo = document.querySelector('.indicadores .activo');
if(indicadorActivo.previousSibling){
indicadorActivo.previousSibling.classList.add('activo');
indicadorActivo.classList.remove('activo');
}
});

// ? ----- ----- Paginacion ----- -----
const numeroPaginas = Math.ceil(peliculas.length / 5);
for(let i = 0; i < numeroPaginas; i++){
const indicador = document.createElement('button');

if(i === 0){
indicador.classList.add('activo');
}

document.querySelector('.indicadores').appendChild(indicador);
indicador.addEventListener('click', (e) => {
fila.scrollLeft = i * fila.offsetWidth;

document.querySelector('.indicadores .activo').classList.remove('activo');
e.target.classList.add('activo');
});
}

// ? ----- ----- Hover ----- -----
peliculas.forEach((pelicula) => {
pelicula.addEventListener('mouseenter', (e) => {
const elemento = e.currentTarget;
setTimeout(() => {
peliculas.forEach(pelicula => pelicula.classList.remove('hover'));
elemento.classList.add('hover');
}, 300);
});
});

fila.addEventListener('mouseleave', () => {
peliculas.forEach(pelicula => pelicula.classList.remove('hover'));
});

const carrossel = {

/*Sorteio*/
funcaoSorteio: function (h3, filmes) {
//return document.getElementById("resultado").innerHTML
//=
const num = Math.floor(Math.random() * (20 - 1 + 1)) + 1;
const filme = filmes[num];
console.log(filme)
h3.innerHTML =
` <img src="https://image.tmdb.org/t/p/w200/${filme.backdrop_path} "> `
}
};


export default carrossel;
85 changes: 85 additions & 0 deletions src/genres.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// Todos esses são filmes disponíveis para streaming no Brasil, via Netflix ou Amazon Prime.

const movieGenres = {
// NETFLIX

actionNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=28&with_watch_providers=8&watch_region=BR",

adventureNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=12&with_watch_providers=8&watch_region=BR",

animationNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=16&with_watch_providers=8&watch_region=BR",

comedyNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=35&with_watch_providers=8&watch_region=BR",

crimeNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=80&with_watch_providers=8&watch_region=BR",

documentaryNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=99&with_watch_providers=8&watch_region=BR",

dramaNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=18&with_watch_providers=8&watch_region=BR",

familyNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10751&with_watch_providers=8&watch_region=BR",

fantasyNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=14&with_watch_providers=8&watch_region=BR",

historyNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=36&with_watch_providers=8&watch_region=BR",

horrorNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=27&with_watch_providers=8&watch_region=BR",

musicNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10402&with_watch_providers=8&watch_region=BR",

mysteryNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=9648&with_watch_providers=8&watch_region=BR",

romanceNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10749&with_watch_providers=8&watch_region=BR",

scifiNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=878&with_watch_providers=8&watch_region=BR",

tvMovieNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10770&with_watch_providers=8&watch_region=BR",

thrillerNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=53&with_watch_providers=8&watch_region=BR",

warNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10752&with_watch_providers=8&watch_region=BR",

westernNfx: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=37&with_watch_providers=8&watch_region=BR",

// AMAZON PRIME

actionAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=28&with_watch_providers=119&watch_region=BR",

adventureAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=12&with_watch_providers=119&watch_region=BR",

animationAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=16&with_watch_providers=119&watch_region=BR",

comedyAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=35&with_watch_providers=119&watch_region=BR",

crimeAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=80&with_watch_providers=119&watch_region=BR",

documentaryAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=99&with_watch_providers=119&watch_region=BR",

dramaAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=18&with_watch_providers=119&watch_region=BR",

familyAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10751&with_watch_providers=119&watch_region=BR",

fantasyAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=14&with_watch_providers=119&watch_region=BR",

historyAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=36&with_watch_providers=119&watch_region=BR",

horrorAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=27&with_watch_providers=119&watch_region=BR",

musicAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10402&with_watch_providers=119&watch_region=BR",

mysteryAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=9648&with_watch_providers=119&watch_region=BR",

romanceAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10749&with_watch_providers=119&watch_region=BR",

scifiAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=878&with_watch_providers=119&watch_region=BR",

tvMovieAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10770&with_watch_providers=119&watch_region=BR",

thrillerAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=53&with_watch_providers=119&watch_region=BR",

warAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=10752&with_watch_providers=119&watch_region=BR",

westernAmz: "https://api.themoviedb.org/3/discover/movie?api_key=ffcaacca8cc231c4c2d075dba16d3d62&language=pt-BR&region=BR&sort_by=popularity.desc&with_genres=37&with_watch_providers=119&watch_region=BR",
}

export default movieGenres;
Binary file added src/img/animação.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/aventura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/ação.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/comédia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/crime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/documentário.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/drama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/família.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/fantasia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/faroeste.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/ficção-cientifica.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/história.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/mistério.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/musical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/romance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/suspense.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/terror.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="description" content="******Escrever algo sobre nossa aplicaçao">
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="img/favicon.ico" />
<title>SortCine</title>
</head>

<body>
<header>
<img id="logo" src="img/logo.png">
</header>

<main>
<div class="peliculas-recomendadas contenedor">
<div class="contenedor-titulo-controles">
<h3>Gêneros de Filmes</h3>
<div class="indicadores"></div>
</div>

<div class="contenedor-principal">
<button role="button" id="flecha-izquierda" class="flecha-izquierda"><i class="fas fa-angle-left"></i></button>

<div class="contenedor-carousel">
<div class="carousel">
<div class="pelicula">
<a href="#"><img src="img/ação.png" id="acao" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/animação.png" id="animation" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/aventura.png" id="adventure" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/comédia.png" id="comedy" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/crime.png" id="crime" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/documentário.png" id="documentary" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/drama.png" id="drama" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/família.png" id="family" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/fantasia.png" id="fantasy" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/faroeste.png" id="wester" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/ficção-cientifica.png" id="scifi" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/história.png" id="history" alt=""></a>
</div>
<div class="pelicula">
<a href="#"><img src="img/mistério.png" id="mystery" alt=""></a>
</div>

</div>
</div>

<button role="button" id="flecha-derecha" class="flecha-derecha"><i class="fas fa-angle-right"></i></button>
</div>
</div>

</main>


<div id="root">

</div>

<footer id="footer">
<p>Projeto feito na <a target="_blank" href="https://www.laboratoria.la/br">Laboratoria</a>
</footer>
<script src="https://kit.fontawesome.com/2c36e9b7b1.js" crossorigin="anonymous"></script>
<script src="index.js" type="module"></script>
<script src="carrossel.js" type="module"></script>
</body>

</html>
Loading