forked from platzi/curso-frontend-developer-practico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
153 lines (128 loc) · 40.9 KB
/
main.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
const navbar_Email = document.querySelector('.navbar-email');
const desktopMenu = document.querySelector('.desktop-menu');
const menuCarritoIcon = document.querySelector('.navbar-shopping-cart');
const closeCarritoIcon = document.querySelector('.title-container img')
const productDetailCloseIcon = document.querySelector('.product-detail-close')
const menuHamIcon = document.querySelector('.menu');
const mobileMenu = document.querySelector('.mobile-menu');
const shoppingCartContainer = document.querySelector('#shopping-cart-container');
const productDetailContainer = document.querySelector('#product-detail');
const cardsContainer = document.querySelector('.cards-container')
navbar_Email.addEventListener('click', toggleDesktopMenu);
menuHamIcon.addEventListener('click', toggleMobileMenu);
menuCarritoIcon.addEventListener('click', toggleShoppingCartContainer);
closeCarritoIcon.addEventListener('click', toggleShoppingCartContainer);
productDetailCloseIcon.addEventListener('click', closeProductDetailAside);
function toggleDesktopMenu() {
shoppingCartContainer.classList.add('inactive');
mobileMenu.classList.add('inactive');
productDetailContainer.classList.add('inactive');
desktopMenu.classList.toggle('inactive');
}
function toggleMobileMenu() {
shoppingCartContainer.classList.add('inactive');
desktopMenu.classList.add('inactive');
productDetailContainer.classList.add('inactive');
mobileMenu.classList.toggle('inactive');
}
function toggleShoppingCartContainer() {
desktopMenu.classList.add('inactive');
mobileMenu.classList.add('inactive');
productDetailContainer.classList.add('inactive');
shoppingCartContainer.classList.toggle('inactive');
}
function openProductDetailAside(e) {
desktopMenu.classList.add('inactive');
shoppingCartContainer.classList.add('inactive');
mobileMenu.classList.add('inactive');
productDetailContainer.classList.remove('inactive');
renderProductDetail(e);
}
function closeProductDetailAside() {
productDetailContainer.classList.add('inactive');
}
const productList = [];
productList.push({
item: 001,
name: 'Bicicleta',
price: 120,
image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoGBxUUBhUVExQYGBQZGyAcGxoaGh8fGxkZHB8dICEjGhggHisiHSIqHRocIzclKCwuMTI0HyQ3STkvOyswMS4BCwsLDw4PHBEQHDAoIh8uMC4wMTAyMjsyMDAwMDEwMC4wMC4wMDAyMDowMDAuMDAwMDAwMDAzLjAuMDA5LjAwMP/AABEIAMIBAwMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABgcEBQgDAgH/xABGEAACAQIEAwUEBwUFBgcAAAABAgMAEQQFEiEGMUEHEyJRYTJCcYEUI1JicpGhM4KSscEVFlOi0SZDsrPh8AgXNGNzg6P/xAAXAQEBAQEAAAAAAAAAAAAAAAAAAQID/8QAHREBAQEAAgMBAQAAAAAAAAAAAAERAkESITFhA//aAAwDAQACEQMRAD8AualKUClKUClKUClKUClKUClKUClecjgISTYAXJ8gKi2F7S8A63Mjp+ON/wCgNBLaVpsLxZg5FumJi+bhf0a1ZZzjDgG88WwufrF2UdTvy9aDOpUYzjtAwOHxiRyT3Z1DDQC6hSbAllBHr5235VJhyoP2lKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUHlLGGiKsLgggjzB2NQzEdlWFJOibER36K6kfkyE/rU4pQVtP2Sb/V4sj0eMNf5hh/KotxRwBicPG73gkSwtZ9D25bqxH6E8qvKtNjOFcJNjmlnw8crtbeRQ9gABZQ1wvLpzoKNxsSy4juvCUijjjV72DyCNEbRJpIC+A73Gygg8xVm8LdoSd6cPjwMPOgFi1tEi9CrBmU7b3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OGpsJju7xUZRvckXxJJ6qevL0YdQKo6Fy3MIZcBh2jlR1Q2ZlYEKVjcEN5Wsede2sNgMQUIZTcqRuDqjVgQRzuWvtXO+U57PCSwEU1xpLSAl9P2dYZXt6En8tq2eN4/xv9niGMJAmkIO7ZxZRawS8pCiw08thytTBcXE/FOGy+N2ncaWGpYxYuznmoToG53NhfVc71QXFnE82YZkJJdkQaY473EafE+0xsLsdzYeVhgTFnl1O5djzJPX+precL8Lyz49UjjLuTYrY2T7zsNlUb73vysCSAYtzp88IcIyYzOo4BcXOqRh7kW2pt+u9hzuSPW3SeBwqRYFIo10oihVUdFUWA/IVp+DOFYsDl2lbNK9jJJpClyOQAHsqLmy+pO5JJkFEKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKUpQKxsfgY5sMY5o1kQ81YAg/I1k0oK3znsWwskhaCV4SfdIEiA/vWf/NWi/wDI+bvP/VxW6Hu2uflfb8zVy0oK3ybsdhje807yHqFUID8SSx8t1IOw5VO8ryuLD4URwRqiDoo5/E8yfU1m0oFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoFKUoP/2Q==',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
productList.push({
item: 002,
name: 'cocina',
price: 359,
image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBESERgREhIREhESDxESERUSFRISGhIYGBQZHBoVGBgcIS4lHB4rHxgYJjgmLC8xNTU1GiQ7RTs1Qi40NTEBDAwMEA8QGhERGjQjISs0NDE0ND81MTQxNDQ0NDQxNDQ0MTQ0MTQxNDQ0MT80MTE/NDQxMTE0NDExNDQ/NDQ0Mf/AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABwECAwUGBAj/xABGEAACAQMBBAQIDAQEBwEAAAABAgADBBESBQYhM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auic7feBraKZNKra1l7Os9Nj6CpHtk+xA+X77cDa9HJexrMBnjS0Vs+XCEmc9dWlWk2irTem3yaish9TAT7BmOpTVhpZQynmGAIPoMD48Blcz6mvtzNl189JY2xJ5sqLTY/WTBnN33gg2VU+L+EUD2dHU1j1VA3vgfPuZWTBfeBI86F8PItal+pW/Kc3feCXa9MZRLevj+1VAJ9DhYHCSgm6vt0tpUPjLK6UcestNqi/aTI9s07DSdLAqw4EMMEecGAEqFzw7+HrlBM9rSZ6iIvjPURF87OAPfA+ot0Lfo9n268s0Ec+d+sfa03UxUKYRVQclVVHmAwJlgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgJ5buwo1hirSpVB3VEVx7RPVEDk77wd7HrcWsqaHvol6OPQhA9k1Vp4KNn0rmncU3uR0VVKgps6shZGBGSV1YyB2yQYgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiB//9k=',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
productList.push({
item: 003,
name: 'nevera',
price: 680,
image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw8PEBAQEBAPDxAQEhAPDw0PDw8QDQ0PFREXFhURFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDQ0OFw8PFy0dFR0rLS0rKy0rLS0tNzcrKy0tLS0rLTcrLTctLTctLTctLTctLS0rNy0tNy03LS0rLSstLf/AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABgcDBAUIAgH/xABSEAACAgACBAUOCgUICwAAAAAAAQIDBBEFBgchEjFxsbMTIyQ0NUFRYXJzdIGRsiIlMjNCUmKCocEUQ1Si0WOEk6PCw9LhFRYXRFNkg5KUpLT/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAWEQEBAQAAAAAAAAAAAAAAAAAAARH/2gAMAwEAAhEDEQA/ALx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WdV1o7C1YWqyVsanNqdiUZvh2Sm+LdxyZWuzW3sR+jZ+1su0o/U7DWYWiym6Lrtqo6nZW8s4TXGt24lWOvpqzPBUL7U+cjkYHW0nev0SnN5ZSk23xLecvREcRjXwcDh7MVvydy63g4Pv8ACulueXgjwn4gj9UDDTi1bN1YeFuLtXHVha5Wyj5cl8GHLJoneidmUZ5T0le8Q+P9Dw/CpwUfFJ/Lt9bS+yTzAYGnD1qqiqumuPya6oRhBciW4YKv0XqHpHENO+VWj6u/CLjiMa/Fn83Xy/DLB1b1cw2jq5V0Kec2p2222SsuumllwpSfiXEsku8jrgoAAAAAAAAAAAAAAAAAAAAAAAAAAAAABF8Zs+0VbO2x4ZwsucpW2VX4iqVkpPOUnwJpZtt7yUACJ07OdEx4Clhncq25QjiLr7oJvwxnJqXrTJTVVGEVGEYxjFJRjFKMYpcSSXEj7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/2Q==',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
productList.push({
item: 004,
name: 'Aire Acondicionado',
price: 280,
image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAC3CAMAAADkUVG/AAAAgVBMVEX////p6enr6+vs7Ozo6Ojq6urj4+MAAADv7+8ZGRnR0dHFxcUaGhrh4eG9vb0XFxfLy8u3t7fU1NS/v7/c3Nz39/eysrL5+fmhoaGHh4erq6s6OjqBgYF3d3eOjo6mpqadnZ0hISEpKSk7OzuUlJQODg5iYmJMTExxcXFEREQwMDCsGl2zAAAItUlEQVR4nO2cC3uiOBSGGxIwgiCXgMp2am3rTnf//w/cnFwgXLStDdPO7HmfFkNunPNxkqCCd3cIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgnyOmtd1vVO8XVlX2e1q1aZWL+88zq47BrTjvN5xQB26dtgN6bJrk5RNbvb1ndSUUWUcDWhIwjCgMhHAPs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LipZWrcjW3FM8tus5SmxXwYZVaXJumPR5lP43Iy6w97vdyD5ZZg6wil1ybzuAKwMXOrSomyl4UWHfkbJtXUfky0MTvW5+7OyrsLzsoUdooeyyqpPdX+Zwks9cayWVAI1BG9iXFyN6oOs10RNF0ykiz8og0qf0NhiVE4aOroyvX+OO3ps5NcZffwLpvmvSPf5hrU9NndPVdRTqMYyctTY3hdzNKSPp9PygvVIaiJK8/Rtxf4nCQ//Ayz4PDy8NLx6Nh73Ds6TNlFTXQ7JDLMhlxlbn2TYSoir0QxTGWVnv+rYO7u/5SGoI0/rHft83M1XejL7/NtrlC50OmJwt3xpgZPRfeIMy+u9CDGoSRohRtK6feDAz3/iMqohyQJP3wvYI73MtY/9SJ3nbovNjW/xjOXDJ+AyTHi1x+St2zruhbkzsyenfxcQeucjEQ3s9UKWljHse2LPe9IkuuLAy/B9UCP0HEi8wD1eRq4zrDdnoGrfpp6AMUfm+iNcBPVOnPMQafaRSFs3+dzr4ZfS/56LayV3TXGEzj1kJYh3yvxwiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAiC/K/5Dz4QWDxXeOMHAAAAAElFTkSuQmCC',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
productList.push({
item: 005,
name: 'ventilador',
price: 55,
image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMHBhUIBxMWFhUXFx4ZGRUYGB0gIBkaJRYZHiEgHBseHiggHyAqHhwWIjYiJSwrLi46FyAzODMsNygtLi0BCgoKDg0OFRAQFSsdHR0tLSstLSs3LS0tLS0tLS0tLS0rLS0tLS0rLS0uKystLS0tKy0tLSstLTcrLS0rKystN//AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAwADAQEAAAAAAAAAAAAABQYHAgMECAH/xABCEAACAQIEAwYCBQgJBQAAAAAAAQIDEQQFEiEGMUEHEyJRYXEygRRCkaGxFSNSYnKCssEkN0N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Txiox0xVkuh8wZlwvjcvb+nYSsl5qDkv8Ubo8lPNsQmqVLEYjyUVVqfYkn9wpj6rbsrsrXFnEWX4TK6mGzmrTkpRcXSTUpSuuSit17u1jBqeT47NdpUMVV/ajUa+2SsWDKuzDH4u2qjCivOpNfhDU/wIKVSjohaH2s0Dsr4Onm2YwznHRaoU5KUb/wBpNPa36qe7fW1vO1y4e7KcNgJqvnEniJr6rWmmv3bty+bt6F/hBU4KFNJJKyS5Jehqo5AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0R5gEo7wAUAAAAAAAAAAAAAAAAAAB/9k=',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
productList.push({
item: 006,
name: 'sofa',
price: 140,
image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMVFRUXGRcVGBcWGRkaFRUVFxYXFhoYGBcdHSggGBolGxgXIjEhJSkrLi4uFx8zODMsNygtLisBCgoKDQ0NFQ8PFysdFR0rKy0rLSsrKysrLSstLSs3LS0vLSstLSsrKy03Nys4LSsrLSsrKy0tLDcrKzc3Ky03N//AABEIAKIBOAMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABAECAwUGBwj/xABFEAABAgIECgcEBwgCAwAAAAABAAIDEQQhMVEFBhJBUmFxkaHRExaBkrHB8AciU+EVI0KCotLxFDJDYmNywuIkM3OTsv/EABcBAQEBAQAAAAAAAAAAAAAAAAABAgP/xAAdEQEAAwEAAwEBAAAAAAAAAAAAARFREgITMSED/9oADAMBAAIRAxEAPwD3FERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAVHOAEzUAqrifafhMshQ4LSR0hJdK3JZKQ2EkH7qDp3Yao4qMeF3281Y7D9GH8eH2GfgvEDF1lXtiEfoFLap7NExoogtjDc4+AWJ2N9D+LP7j+S8gMV05eSu7Usp60ccqJ8Qn7ruStOOtE03d1eTNfLPLVVz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4wxG0uDeSDC0a8bgoBxej6LuKxuxcj3O4pzOncY2gwvFvHdCp9JxtOX3W8lrhi9H0XcU6vx9F3FOZ07jGzbhON8Q7m/lVThSNp/hbyWq+gI+i7iqjAEfRdxU4nV9kY2n0rF0+DeSfS0bTn91vJazq/H0XcUOL8e53FOZ07jGz+l4ul+EclQYUjaf4W8lq/oCPc7iq/QEe53FXmdO4xtBhWNp8G8k+k42n+FvJawYux9F3FOrsfRdxU4nTuMbR2FI3xODeSqMIRvicG8lqer0bRdxVW4vxtE8U4nT2RjamnxfiHcOSp+3xNM8OSgswDG0SpMLAsYfZKcTp7IxkOEYmmeHkrfpKIR/2O3reYJokVhHuldLSMFspUPIiNyXy9yJL3mnNXnbeE4nV9kYh+yJ4i0/IjfWDo3PYHV5MRj2FpHZlL3ZfOPs5jGDhSjh1R6R0Jw1ua+HLvSX0cr4fGf6R+iIi25iIiDlMJ+z6gx6QaS+G4xXOa8/WPyS5oAE2zlL3RVYtmcAQ7gtwiFtE7FuGblYcV4dwXQIg544qwrgqdVIS6JEHOdU4VwTqnCuXRog53qpCQ4qQ10SIOaOKMJW9T4S6dEHMdToSp1OhLqEQct1NhJ1NhLqUQcr1MhKhxLhLq0Qcp1Lh3qnUqHeusRByfUqHeq9S4a6tEHJ9Sod6p1Kh3rrUQcj1Jh3p1Jh3rrkQcmMS4d6HEtl66xEHI9SmXp1KZeuuRByYxLZeqjE1i6tEHMMxSYFnbiyxdAiDkKN7OaE2kCk5DzEDxFH1j8nLBygcmcra5WLr0RFuZEREQREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQf/2Q==',
description: 'With its practical position, this bike also fulfills a decorative function, add your hall or workspace.',
})
function renderProductDetail (e) {
const itemID = findItem(e.target.name)
const img = document.querySelector ('.product-info-img');
img.setAttribute('src', itemID.image);
const price = document.querySelector('.product-info--price');
price.innerText = '$' + itemID.price;
const name = document.querySelector('.product-info--name');
name.innerText = itemID.name;
const description = document.querySelector('.product-info--desc');
description.innerText = itemID.description;
}
function findItem(e) {
return productList.find(itemID => itemID.item == e);
}
function renderProducts(arr) {
for (product of arr) {
const productCard = document.createElement('div');
productCard.classList.add('product-card');
//product = {name, proce, imagen} -> product.image
const img = document.createElement('img');
img.setAttribute('src', product.image);
img.setAttribute('name', product.item);
img.addEventListener('click', openProductDetailAside);
const productInfo = document.createElement('div');
productInfo.classList.add('productInfo');
const productInfoDiv = document.createElement('div');
const productPrice = document.createElement('p');
productPrice.innerText = '$' + product.price;
const productName = document.createElement('p');
productName.innerText = product.name;
const productInfoFigure = document.createElement('figure');
const productImgCart = document.createElement('img');
productImgCart.setAttribute('src', './icons/bt_add_to_cart.svg');
/* Maquetacion del objeto en JS */
cardsContainer.appendChild(productCard); /* Insertar todo a la raiz principal del HTML*/
productCard.append(img, productInfo); /* Insertar la imagen del producto y la infor a la eqtiqueta ProductCard*/
productInfo.append(productInfoDiv, productInfoFigure); /* Insertar la info y el icono del carrito a la etiqueta productInfo */
productInfoDiv.append(productPrice, productName); /* Insertar el nomre y el precio al contenedor info */
productInfoFigure.appendChild(productImgCart); /* Insertar la imagen a la etiqueta figure */
}
}
renderProducts(productList);