-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunction.js
38 lines (27 loc) · 932 Bytes
/
function.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const app = require('./app');
function openModal01() {
const menu = document.querySelector('#modal01');
if (!menu.style.display || menu.style.display === 'none') {
menu.style.display = 'flex';
} else {
menu.style.display = 'none';
}};
/* function login(){
window.location.href = './View/html/pokedexcards'
} */
/* function register () {
const password = document.querySelector('#password');
const check = document.querySelector('#check-password');
if (password == check ) {
alert('Sucesso');
} else {
alert('Senhas não coincidem!');
}}; */
/* function enter () {
const usuario = document.querySelector('#email');
const password = document.querySelector('#password');
if (usuario == 'Bella' ) {
console.log ('Bella');
} else {
console.log (usuario.value);
}}; */