-
Notifications
You must be signed in to change notification settings - Fork 0
/
speakers.js
62 lines (61 loc) · 2.06 KB
/
speakers.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
const teamEl = document.querySelector('.speaker');
const teamInfo = [
{
name: 'Elon Musk',
position: 'CEO, Tech',
description:
'He is the richest man on earth, ceo of multiple companies including Paypal one of our sponsors ',
imageUrl: ['./images/Elon-Musk-PNG.png', 'Elon musk'],
},
{
name: 'Mark Zukerberg',
position: 'CEO, Software Engineer',
description:
'Mark Zukerberg is one of the most powerful man in the world, also the founder of Facebook',
imageUrl: ['./images/mark_zuckerberg.png', 'Mark Zukerberg'],
},
{
name: 'Sundar Pichai',
position: 'CEO, Software Engineer',
description:
'He is a indian-american businessman and the CEO of Alphabet.inc and subsidiaries since 2015',
imageUrl: ['./images/Sundar-pichai.png', 'Sundar-pichai'],
},
{
name: 'Ariel Camus',
position: 'CEO',
description:
'Ariel has been coding since he was 12. He previously founded Tourist Eye, a travel app with 1M+ users acquired by Lonely Planet.',
imageUrl: ['./images/ariel.jpg', 'Ariel Camus'],
},
{
name: 'Marvellous Ibironke ',
position: 'Software Engineer',
description:
'Marvellous is a full time student at Microverse, learning Full Stack Web Development.',
imageUrl: ['./images/tommy-marvel.jpeg', 'Marvellous'],
},
{
name: 'Justine Imasiku',
position: 'Software Engineer',
description:
'Justine is a full time student at Microverse, learning Full Stack Web Development.',
imageUrl: ['./images/justin.jpg', 'Justine '],
},
];
document.addEventListener('DOMContentLoaded', () => {
teamEl.innerHTML = teamInfo.map(
(member) => `
<div class="team-member">
<div class="member-img-main">
<img class="member-img" src="${member.imageUrl[0]}" alt=${member.imageUrl[1]}"">
</div>
<div class="member-content">
<h4 class="member-name member1"> ${member.name} </h4>
<p class="member-job member1"> ${member.position}</p>
<p class="member-text member1">${member.description} </p>
</div>
</div>
`,
);
});