Skip to content

Commit e431a88

Browse files
Update Django.md
1 parent 3ea2175 commit e431a88

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

Django.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,3 +330,36 @@ python manage.py runserver
330330
```
331331
332332
333+
## Boostrap
334+
```python
335+
336+
<!DOCTYPE html>
337+
<html>
338+
<head>
339+
<title>Home</title>
340+
<!-- ✅ Bootstrap CSS CDN -->
341+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
342+
</head>
343+
<body class="bg-light">
344+
345+
<div class="container mt-5 text-center">
346+
<h1 class="mb-4 text-primary">👋 Hello from Home Page</h1>
347+
348+
<!-- Navigation Links -->
349+
<div class="btn-group" role="group" aria-label="Navigation">
350+
<a href="/about/" class="btn btn-outline-primary">About</a>
351+
<a href="/contact/" class="btn btn-outline-success">Contact</a>
352+
<a href="/feedback/" class="btn btn-outline-warning">Feedback</a>
353+
</div>
354+
</div>
355+
356+
<!-- ✅ Bootstrap JS (Optional, for interactivity like dropdowns) -->
357+
</body>
358+
</html>
359+
360+
361+
```
362+
363+
364+
365+

0 commit comments

Comments
 (0)