Home/index page

SOLUTION....

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<title>My Website – Home</title>
<link rel=”stylesheet” href=”https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css”>
</head>
<body>
<!– Navbar –>
<nav class=”navbar navbar-expand-lg navbar-dark bg-dark”>
<a class=”navbar-brand” href=”index.html”>MyWebsite</a>
<div class=”collapse navbar-collapse”>
<ul class=”navbar-nav ml-auto”>
<li class=”nav-item”><a class=”nav-link” href=”register.html”>Register</a></li>
<li class=”nav-item”><a class=”nav-link” href=”login.html”>Login</a></li>
<li class=”nav-item”><a class=”nav-link” href=”stock.html”>Stock</a></li>
<li class=”nav-item”><a class=”nav-link” href=”about.html”>About</a></li>
</ul>
</div>
</nav>
<!– Hero Section –>
<div class=”jumbotron text-center bg-info text-white”>
<h1>Welcome to My Website</h1>
<p>Your one-stop solution for blogs and stock updates</p>
</div>
<div class=”container text-center”>
<h2>Featured Content</h2>
<p>This is a simple home page designed using Bootstrap 4.</p>
</div>
</body>
</html>

OUTPUT

My Website - Home

Welcome to My Website

Your one-stop solution for blogs and stock updates

Featured Content

This is a simple home page designed using Bootstrap 4.

Leave a Reply

Your email address will not be published. Required fields are marked *

sign up!

We’ll send you the hottest deals straight to your inbox so you’re always in on the best-kept software secrets.