Skip to content

Commit 943a2db

Browse files
authored
Update index.html
1 parent 6a89011 commit 943a2db

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

frontend/index.html

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,37 @@
66
</head>
77
<body>
88

9-
<h1>🎓 Student Roadmap Platform</h1>
10-
<p>Helping engineering students find clear learning paths.</p>
9+
<!-- Navbar -->
10+
<div class="navbar">
11+
<h2>🎓 RoadmapHub</h2>
12+
<div>
13+
<a href="#">Home</a>
14+
<a href="#">Roadmaps</a>
15+
<a href="#">About</a>
16+
</div>
17+
</div>
1118

12-
<button onclick="callBackend()">Fetch Backend Data</button>
19+
<!-- Hero Section -->
20+
<div class="hero">
21+
<h1>Find Your Tech Roadmap</h1>
22+
<p>Learn from students who already achieved what you're aiming for.</p>
23+
<button onclick="callBackend()">Load Roadmaps</button>
24+
</div>
1325

14-
<pre id="output"></pre>
26+
<!-- Roadmaps Section -->
27+
<div class="section">
28+
<h2>📌 Featured Roadmaps</h2>
29+
<div id="roadmap-container" class="cards"></div>
30+
</div>
31+
32+
<!-- Submit Section -->
33+
<div class="section">
34+
<h2>✍️ Submit a Roadmap</h2>
35+
<input type="text" id="name" placeholder="Your name">
36+
<input type="text" id="title" placeholder="Roadmap title">
37+
<textarea id="description" placeholder="Describe your roadmap..."></textarea>
38+
<button onclick="addRoadmap()">Submit</button>
39+
</div>
1540

1641
<script src="script.js"></script>
1742
</body>

0 commit comments

Comments
 (0)