Orientation, Overview of Web Development
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Responsive Task - Week 2 - Day 3</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Responsive News</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#">Home</a></li>
|
||||
<li><a href="#">Articles</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="grid">
|
||||
<article class="card">
|
||||
<img src="https://via.placeholder.com/400x200" alt="Sample">
|
||||
<h2>Article 1</h2>
|
||||
<p>This layout uses CSS Grid to stay organized on desktop.</p>
|
||||
</article>
|
||||
<article class="card">
|
||||
<img src="https://via.placeholder.com/400x200" alt="Sample">
|
||||
<h2>Article 2</h2>
|
||||
<p>On mobile, these cards will stack one on top of the other.</p>
|
||||
</article>
|
||||
<article class="card">
|
||||
<img src="https://via.placeholder.com/400x200" alt="Sample">
|
||||
<h2>Article 3</h2>
|
||||
<p>Responsive design makes the web accessible to everyone.</p>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user