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
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.