-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (96 loc) · 4.37 KB
/
index.html
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>News homepage</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700;800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="./css/desktop.css">
</head>
<body>
<div class="main-container">
<!---------------- Header ------------->
<header>
<img src="assets/images/logo.svg" alt="Logo de Tecch News">
<ul>
<li><a href="">Home</a></li>
<li><a href="">New</a></li>
<li><a href="">Popular</a></li>
<li><a href="">Trending</a></li>
<li><a href="">Categories</a></li>
</ul>
</header>
<!---------------- Main ------------->
<main>
<article>
<picture>
<source media="(min-width: 768px)" srcset="./assets/images/image-web-3-desktop.jpg">
<img src="assets/images/image-web-3-mobile.jpg" alt="" id="random">
</picture>
<div class="article-description">
<h2>The Bright Future of Web 3.0?</h2>
<div>
<p>We dive into the next evolution of the web that claims to put the power of the platforms back
into the hands of the people. But is it really fulfilling its promise?</p>
<button>READ MORE</button>
</div>
</div>
</article>
<aside>
<h3>New</h3>
<div>
<h4>Hydrogen VS Electric Cars</h4>
<p>Will hydrogen-fueled cars ever catch up to EVs?</p>
</div>
<div>
<h4>The Downsides of Al Artistry</h4>
<p>What are the possible adverse effects of on-demand Al image generation?</p>
</div>
<div>
<h4>Is VC Funding Drying Up? </h4>
<p>Private funding by VC firms is down 50% YOY. We take a look at what that means.</p>
</div>
</aside>
</main>
<!---------------- Section ------------->
<section>
<div>
<img src="assets/images/image-retro-pcs.jpg" alt="Image retro PCs">
<div class="section-description">
<p class="news-number">01</p>
<a href="" class="news-title">Reviving Retro PCs</a>
<p class="news-description">What happens when old PCs are given modern upgrades?</p>
</div>
</div>
<div>
<img src="assets/images/image-top-laptops.jpg" alt="Image top laptops">
<div class="section-description">
<p class="news-number">02</p>
<a href="" class="news-title">Top 10 Laptops of 2022</a>
<p class="news-description">Our best picks for various needs and budgets.</p>
</div>
</div>
<div>
<img src="assets/images/image-gaming-growth.jpg" alt="Image gaming growth">
<div class="section-description">
<p class="news-number">03</p>
<a href="" class="news-title">The Growth of Gaming</a>
<p class="news-description">How the pandemic has sparked fresh opportunities.</p>
</div>
</div>
</section>
<footer>
<p>Challenge by <span><a href="https://www.frontendmentor.io/">Frontend Mentor</a></span> Code by <span><a
href="https://github.com/Keneth314">Keneth Lopez</a></span></p>
</footer>
</div>
<script>
// if(window.innerWidth <= 600){
// const img = document.querySelector("#random")
// img.src="assets/images/descarga.jpeg"
// }
</script>
</body>
</html>