Spaces:
Running
Running
Code a website that will ask student to input their names, school, course,and student ID number and upload science questions for them to solve - Follow Up Deployment
Browse files- index.html +61 -26
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
@@ -58,10 +58,9 @@
|
|
| 58 |
</div>
|
| 59 |
</div>
|
| 60 |
<div class="hidden md:flex items-center space-x-8">
|
| 61 |
-
<a href="#home" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">
|
| 62 |
-
<a href="#
|
| 63 |
-
<a href="#
|
| 64 |
-
<a href="#contact" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Contact</a>
|
| 65 |
</div>
|
| 66 |
<div class="md:hidden flex items-center">
|
| 67 |
<button id="mobile-menu-button" class="text-gray-900 hover:text-blue-600">
|
|
@@ -74,31 +73,67 @@
|
|
| 74 |
<!-- Mobile menu -->
|
| 75 |
<div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg">
|
| 76 |
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
|
| 77 |
-
<a href="#home" class="block px-3 py-2 text-gray-900 hover:text-blue-600 font-medium">
|
| 78 |
-
<a href="#
|
| 79 |
-
<a href="#
|
| 80 |
-
<a href="#contact" class="block px-3 py-2 text-gray-900 hover:text-blue-600 font-medium">Contact</a>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
</nav>
|
| 84 |
|
| 85 |
-
<!--
|
| 86 |
-
<section id="home" class="
|
| 87 |
-
<div class="max-w-
|
| 88 |
-
<div class="
|
| 89 |
-
<
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
<div class="
|
| 93 |
-
<
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
</div>
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Wasty5/the-famous-sports-men" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 104 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Science Question Portal | Student Submission</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
|
|
| 58 |
</div>
|
| 59 |
</div>
|
| 60 |
<div class="hidden md:flex items-center space-x-8">
|
| 61 |
+
<a href="#home" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Submit Questions</a>
|
| 62 |
+
<a href="#solutions" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">View Solutions</a>
|
| 63 |
+
<a href="#resources" class="text-gray-900 hover:text-blue-600 px-3 py-2 font-medium">Resources</a>
|
|
|
|
| 64 |
</div>
|
| 65 |
<div class="md:hidden flex items-center">
|
| 66 |
<button id="mobile-menu-button" class="text-gray-900 hover:text-blue-600">
|
|
|
|
| 73 |
<!-- Mobile menu -->
|
| 74 |
<div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg">
|
| 75 |
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
|
| 76 |
+
<a href="#home" class="block px-3 py-2 text-gray-900 hover:text-blue-600 font-medium">Submit Questions</a>
|
| 77 |
+
<a href="#solutions" class="block px-3 py-2 text-gray-900 hover:text-blue-600 font-medium">View Solutions</a>
|
| 78 |
+
<a href="#resources" class="block px-3 py-2 text-gray-900 hover:text-blue-600 font-medium">Resources</a>
|
|
|
|
| 79 |
</div>
|
| 80 |
</div>
|
| 81 |
</nav>
|
| 82 |
|
| 83 |
+
<!-- Student Form Section -->
|
| 84 |
+
<section id="home" class="bg-blue-50 pt-24 pb-16">
|
| 85 |
+
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 86 |
+
<div class="bg-white rounded-xl shadow-lg p-8">
|
| 87 |
+
<h1 class="text-3xl font-bold text-center text-blue-800 mb-8">Science Question Portal</h1>
|
| 88 |
+
|
| 89 |
+
<form class="space-y-6">
|
| 90 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 91 |
+
<div>
|
| 92 |
+
<label for="name" class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
|
| 93 |
+
<input type="text" id="name" name="name" required
|
| 94 |
+
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500">
|
| 95 |
+
</div>
|
| 96 |
+
<div>
|
| 97 |
+
<label for="student-id" class="block text-sm font-medium text-gray-700 mb-1">Student ID</label>
|
| 98 |
+
<input type="text" id="student-id" name="student-id" required
|
| 99 |
+
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500">
|
| 100 |
+
</div>
|
| 101 |
+
<div>
|
| 102 |
+
<label for="school" class="block text-sm font-medium text-gray-700 mb-1">School</label>
|
| 103 |
+
<input type="text" id="school" name="school" required
|
| 104 |
+
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500">
|
| 105 |
+
</div>
|
| 106 |
+
<div>
|
| 107 |
+
<label for="course" class="block text-sm font-medium text-gray-700 mb-1">Course</label>
|
| 108 |
+
<input type="text" id="course" name="course" required
|
| 109 |
+
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500">
|
| 110 |
+
</div>
|
| 111 |
</div>
|
| 112 |
+
|
| 113 |
+
<div>
|
| 114 |
+
<label for="questions" class="block text-sm font-medium text-gray-700 mb-1">Upload Science Questions (PDF/DOC)</label>
|
| 115 |
+
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg">
|
| 116 |
+
<div class="space-y-1 text-center">
|
| 117 |
+
<div class="flex text-sm text-gray-600">
|
| 118 |
+
<label for="file-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-blue-600 hover:text-blue-500 focus-within:outline-none">
|
| 119 |
+
<span>Upload a file</span>
|
| 120 |
+
<input id="file-upload" name="file-upload" type="file" class="sr-only">
|
| 121 |
+
</label>
|
| 122 |
+
<p class="pl-1">or drag and drop</p>
|
| 123 |
+
</div>
|
| 124 |
+
<p class="text-xs text-gray-500">PDF, DOC, DOCX up to 10MB</p>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<div class="pt-4">
|
| 130 |
+
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300">
|
| 131 |
+
Submit Questions
|
| 132 |
+
</button>
|
| 133 |
+
</div>
|
| 134 |
+
</form>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</section>
|
| 138 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Wasty5/the-famous-sports-men" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 139 |
</html>
|