Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashS20 committed Aug 28, 2023
1 parent 1fdb93a commit 663af16
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 44 deletions.
1 change: 1 addition & 0 deletions CGPA/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function gpaResult() {
});

// Output is stored as sumGPA
//i -> index, r -> total, a -> gradeAlloted
let sumGPA = arrGrade.reduce((r, a, i) => {
return r + a * arrCredit[i];
}, 0);
Expand Down
17 changes: 17 additions & 0 deletions assets/js/blog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// JavaScript code
function search_blog() {
let input = document.getElementById('searchbar').value
input = input.toLowerCase();
var x = document.getElementsByClassName('blog');
// x.push(document.getElementsByClassName('desciption'));

for (i = 0; i < x.length; i++) {
console.log(x[i]);
if (!x[i].children[1].innerHTML.toLowerCase().includes(input)) {
x[i].style.display = "none";
}
else {
x[i].style.display = "list-item";
}
}
}
50 changes: 6 additions & 44 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@

<title>CollegeBuddy </title>

<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="title" content="CollegeBuddy Community">
<meta name="description"
content="CollegeBuddy Community is the Community of Coding Enthusiasts Join Us for Hackathons, Technical Events, Open Source, Internship Opportunities, and various upcoming opportunities to learn different technologies.">
<meta name="keywords"
content="CollegeBuddy Community,Hackathons,Technical Events,Open Source,Internship Opportunities ">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
Expand Down Expand Up @@ -540,7 +529,7 @@ <h3>"I am so grateful to be a part of CollegeBuddy. The resources
<img src="./assets/img/Alia.jpg" alt="">
</div>
<div class="info">
<h2 class="text_dark">Alia Bhat
<h2 class="text_dark">Akansha M
</h2>
<h3>As a female student, CollegeBuddy has been a game changer for
me. The platform provides a wide range of opportunities, from
Expand All @@ -558,7 +547,7 @@ <h3>As a female student, CollegeBuddy has been a game changer for
<img src="./assets/img/Virat_Kohli.jpg" alt="">
</div>
<div class="info">
<h2>Virat Kohli
<h2>Viraj Singh
</h2>
<h3>
The events happening on CollegeBuddy.Com provide a vibrant and
Expand All @@ -574,7 +563,7 @@ <h3>
<img src="./assets/img/team/tm6.jpg" alt="">
</div>
<div class="info">
<h2>Nora Fatehi
<h2>Neelam Mishra
</h2>
<h3>My journey in Open Source started with CollegeBuddy Community.
My first ever contribution here stirred such an interest in Open
Expand All @@ -591,7 +580,7 @@ <h3>My journey in Open Source started with CollegeBuddy Community.
<img src="./assets/img/Sunder.jpg" alt="">
</div>
<div class="info">
<h2 class="text_dark"> Sunder Pichai</h2>
<h2 class="text_dark"> Siddhant K</h2>
<h3>"I recently had the pleasure of discovering College Buddy, an edtech
platform developed by BMS College of Engineering. I was truly
impressed by its innovative approach to enhancing the college
Expand Down Expand Up @@ -770,19 +759,6 @@ <h1 class="text-center mt-5 community_title wow fadeInDown animated" data-wow-du
</div>
</div>
</div>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
(function () {
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src = 'https://embed.tawk.to/615f64df157d100a41ab54f3/1fhea43dh';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->


<!-- Footer Section Start -->
Expand Down Expand Up @@ -949,20 +925,6 @@ <h3 class="contact-footer mt-5">Contact</h3>
}
});
//initialize AOS ends

navtbut = document.getElementById("navtbut");

var navToTop = function () {
var y = window.scrollY;
if (y >= 220) {
navtbut.className = "appear"
}
else {
navtbut.className = "disappear"
}
};

window.addEventListener("scroll", navToTop);
</script>
<!-- emailjs cdn -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/emailjs-com@3/dist/email.min.js"></script>
Expand All @@ -974,8 +936,8 @@ <h3 class="contact-footer mt-5">Contact</h3>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/wow.js"></script>
<script src="assets/js/jquery.nav.js"></script>
<script src="assets/js/scrolling-nav.js"></script>
<script src="assets/js/jquery.easing.min.js"></script>
<!-- <script src="assets/js/scrolling-nav.js"></script> -->
<!-- <script src="assets/js/jquery.easing.min.js"></script> -->
<script src="assets/js/main.js"></script>
<script src="assets/js/form-validator.min.js"></script>
<script src="assets/js/contact-form-script.min.js"></script>
Expand Down

0 comments on commit 663af16

Please sign in to comment.