Skip to content

Commit

Permalink
added course search page
Browse files Browse the repository at this point in the history
  • Loading branch information
zjf19002 committed Oct 18, 2023
1 parent 2e50c4d commit f6bdef1
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions class_registration_app/src/components/CourseSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,44 @@
</script>

<template>
<div>

</div>
<div class="container">
<h1>UConn Course Search</h1>
<input type="text" class="search-bar" placeholder="Enter course name or code">
<ul class="course-list">
<li class="course-list-item">CSE 101 - Introduction to Computer Science</li>
<li class="course-list-item">ENG 101 - English Composition</li>
<li class="course-list-item">MAT 115 - Calculus I</li>
<li class="course-list-item">CHEM 111 - General Chemistry</li>
<li class="course-list-item">HIST 200 - U.S. History</li>
</ul>
</div>
</template>

<style scoped>
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search-bar {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: none;
border-radius: 5px;
font-size: 16px;
}
.course-list {
list-style: none;
padding: 0;
}
.course-list-item {
margin-bottom: 10px;
}
</style>

0 comments on commit f6bdef1

Please sign in to comment.