-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript.js
37 lines (30 loc) · 1.02 KB
/
script.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
const data = {
"technologies": [
{ "title": "Blockchain Development" },
{ "title": "Android Development" },
{ "title": "Website Development" },
{ "title": "Graphic Design" },
{ "title": "IOS Development" },
{ "title": "Ui&Ux Development" },
{ "title": "Java Development" },
{ "title": "Python Development" }
]
};
const cardContainer = document.getElementById('cardContainer');
data.technologies.forEach(tech => {
const card = document.createElement('div');
card.className = 'card';
card.innerHTML = `
<div class="border">
<span class="hjk"><img id="im"src="image/jjk.png"> <span id="sghj">Join Development</span></span>
<hr>
<h3 class="card-title">${tech.title}</h3>
<img src="image/vhb.png" alt="${tech.title}">
<div class="card-content">
<hr>
<a href="#" class="card-button">Explore <span class="bmw">→</span></a>
</div>
</div>
`;
cardContainer.appendChild(card);
});