Online Student Election System” is an online voting technique. In this students, who are from this corresponding college can give his/her vote online without going to any physical polling station.He/she has to be registered first to vote manually.After Registration, students can log in to the system and enroll their votes.pull/940/head
@ -0,0 +1,181 @@
|
|||||||
|
/*css for home,about,departments,campus,election and contactus*/
|
||||||
|
h4{
|
||||||
|
font-size: 50px;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*home*/
|
||||||
|
|
||||||
|
.welcome-content{
|
||||||
|
font-size: 20px;
|
||||||
|
text-align:justify;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scrollingcontent{
|
||||||
|
margin-bottom: 50px;
|
||||||
|
margin-top: 50px;
|
||||||
|
border-style: solid;
|
||||||
|
background-color:lightblue;
|
||||||
|
width: 900px;
|
||||||
|
}
|
||||||
|
.news{
|
||||||
|
background-color: darkslateblue;
|
||||||
|
color: ghostwhite;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.news-content{
|
||||||
|
height:100px;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
/*about*/
|
||||||
|
|
||||||
|
.founderrow{
|
||||||
|
display: flex;
|
||||||
|
justify-content:space-between;
|
||||||
|
margin-top: 50px;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
.founderimg{
|
||||||
|
width:300px;
|
||||||
|
height:400px;
|
||||||
|
padding:30px;
|
||||||
|
}
|
||||||
|
.foundercolumn1,.foundercolumn2,.foundercolumn3{
|
||||||
|
text-align:justify;
|
||||||
|
background-color:lavender;
|
||||||
|
font-size: 20px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ugcourse{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ug p{
|
||||||
|
|
||||||
|
background-color: blue;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.ugcourse div{
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company{
|
||||||
|
margin:20px;
|
||||||
|
height:100px;
|
||||||
|
width:500px;
|
||||||
|
}
|
||||||
|
/*departments*/
|
||||||
|
.departments img{
|
||||||
|
width:300px;
|
||||||
|
height:300px;
|
||||||
|
padding:30px;
|
||||||
|
}
|
||||||
|
.cse, .eee ,.ece, .civil, .mech{
|
||||||
|
display: flex;
|
||||||
|
text-align: justify;
|
||||||
|
font-size: 20px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
/*campus*/
|
||||||
|
.gallery{
|
||||||
|
|
||||||
|
margin: 15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.gallery img{
|
||||||
|
width:250px;
|
||||||
|
height: 300px;padding: 10px;
|
||||||
|
filter: grayscale(100);
|
||||||
|
}
|
||||||
|
.gallery img:hover{
|
||||||
|
filter: grayscale(0);
|
||||||
|
|
||||||
|
}
|
||||||
|
.campus img{
|
||||||
|
width:300px;
|
||||||
|
height:300px;
|
||||||
|
padding:30px;
|
||||||
|
}
|
||||||
|
.college,.library,.auditorium,.hostel{
|
||||||
|
display: flex;
|
||||||
|
text-align: justify;
|
||||||
|
font-size: 20px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*election*/
|
||||||
|
|
||||||
|
.president,.vicepresident{
|
||||||
|
display: flex;
|
||||||
|
justify-content:space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.president img{
|
||||||
|
width:300px;
|
||||||
|
height:400px;
|
||||||
|
padding:30px;
|
||||||
|
}
|
||||||
|
.ajith,.vijay,.suriya{
|
||||||
|
text-align:justify;
|
||||||
|
background-color: wheat;
|
||||||
|
font-size: 20px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.ajith:hover,.vijay:hover,.suriya:hover,.atharvaa:hover,.jyothika:hover,.harish:hover,.keerthi:hover{
|
||||||
|
background-color:skyblue;
|
||||||
|
|
||||||
|
}
|
||||||
|
.vicepresident img{
|
||||||
|
width:200px;
|
||||||
|
height:300px;
|
||||||
|
padding:20px;
|
||||||
|
}
|
||||||
|
.atharvaa,.jyothika,.harish,.keerthi{
|
||||||
|
text-align:justify;
|
||||||
|
background-color:wheat;
|
||||||
|
font-size: 20px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
margin: 10px;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.vote{
|
||||||
|
margin: auto; width: 500px;
|
||||||
|
height:250px;background-color:skyblue;
|
||||||
|
padding: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.votepresident,.votevicepresident{
|
||||||
|
padding:10px;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
#submit{
|
||||||
|
width:100%;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*contact us*/
|
||||||
|
.location{
|
||||||
|
margin: 40px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
@ -0,0 +1,223 @@
|
|||||||
|
/*css for adminlogin, student login and student registration form*/
|
||||||
|
body{
|
||||||
|
margin: 50px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*header*/
|
||||||
|
.row1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.column2 {
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
color: navy;
|
||||||
|
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
|
||||||
|
font-size: 65px;
|
||||||
|
}
|
||||||
|
.nav-links1 {
|
||||||
|
background-color: black;
|
||||||
|
text-align:center
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links1 ul li {
|
||||||
|
text-transform: uppercase;
|
||||||
|
display: inline-flex;
|
||||||
|
list-style: none;
|
||||||
|
padding: 10px;
|
||||||
|
margin:5px;
|
||||||
|
width: 135px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links1 ul li a {
|
||||||
|
color: white;
|
||||||
|
text-decoration:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.active, .nav-links1 ul li :hover{
|
||||||
|
background-color: orangered;
|
||||||
|
}
|
||||||
|
/*footer*/
|
||||||
|
footer{
|
||||||
|
margin-top: 20px;
|
||||||
|
background-color: navy;
|
||||||
|
padding: 35px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.row2{
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content:space-between;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
margin-bottom: 40px;
|
||||||
|
padding: 5px;
|
||||||
|
font-size: 30px;
|
||||||
|
text-align:justify;
|
||||||
|
text-decoration:underline;
|
||||||
|
|
||||||
|
}
|
||||||
|
.column3 div{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
.fas{
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links2 ul li {
|
||||||
|
list-style: none;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.nav-links2 ul li a{
|
||||||
|
color:white;
|
||||||
|
text-decoration:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
.nav-links2 ul li a:hover{
|
||||||
|
color:darkcyan;
|
||||||
|
|
||||||
|
}
|
||||||
|
.fab{
|
||||||
|
font-size: 40px;
|
||||||
|
padding: 15px;
|
||||||
|
color:dimgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fab:hover{
|
||||||
|
display:contents;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright{
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/*admin login,student login and student registration form*/
|
||||||
|
|
||||||
|
.loginbody{
|
||||||
|
color: navy;
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.container{
|
||||||
|
background-color: rgb(216,214,214);
|
||||||
|
box-shadow: rgb(0,0,0) 0px 5px 15px;
|
||||||
|
width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerstudent{
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #2a0845;
|
||||||
|
padding: 20px 40px;
|
||||||
|
border-bottom: 2px solid #494848;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form{
|
||||||
|
padding: 30px 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group{
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group label{
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group input{
|
||||||
|
border: 2px solid #f0f0f0;
|
||||||
|
display: block;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-size: .8rem;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form input::placeholder{
|
||||||
|
color: #2a0845;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group i{
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 35px;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group span{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
font-weight: bolder;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-style: italic;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.form-group.success input{
|
||||||
|
border-color: #2ecc71;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.error input{
|
||||||
|
border-color: #e74c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.error span{
|
||||||
|
color: #e74c3c;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.success i.ion-ios-checkmark{
|
||||||
|
visibility: visible;
|
||||||
|
color: #2ecc71;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.error i.ion-android-alert{
|
||||||
|
visibility: visible;
|
||||||
|
color: #e74c3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form #submit{
|
||||||
|
background-color:coral;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
color:black;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
font-size: 1rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form #submit:hover{
|
||||||
|
background-color:lightyellow;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width : 500px){
|
||||||
|
.form{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.form-group span{
|
||||||
|
font-size: xx-small;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,105 @@
|
|||||||
|
/*css for header and footer*/
|
||||||
|
body{
|
||||||
|
margin: 50px;
|
||||||
|
font-family: sans-serif;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*header*/
|
||||||
|
.row1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.column2 {
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
color: navy;
|
||||||
|
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
|
||||||
|
font-size: 65px;
|
||||||
|
}
|
||||||
|
.nav-links1 {
|
||||||
|
background-color: black;
|
||||||
|
text-align:center
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links1 ul li {
|
||||||
|
text-transform: uppercase;
|
||||||
|
display: inline-flex;
|
||||||
|
list-style: none;
|
||||||
|
padding: 10px;
|
||||||
|
margin:5px;
|
||||||
|
width: 135px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links1 ul li a {
|
||||||
|
color: white;
|
||||||
|
text-decoration:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.active, .nav-links1 ul li :hover{
|
||||||
|
background-color: orangered;
|
||||||
|
}
|
||||||
|
/*footer*/
|
||||||
|
footer{
|
||||||
|
margin-top: 20px;
|
||||||
|
background-color: navy;
|
||||||
|
padding: 35px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.row2{
|
||||||
|
color: white;
|
||||||
|
display: flex;
|
||||||
|
justify-content:space-between;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
margin-bottom: 40px;
|
||||||
|
padding: 5px;
|
||||||
|
font-size: 30px;
|
||||||
|
text-align:justify;
|
||||||
|
text-decoration:underline;
|
||||||
|
|
||||||
|
}
|
||||||
|
.column3 div{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
.fas{
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links2 ul li {
|
||||||
|
list-style: none;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.nav-links2 ul li a{
|
||||||
|
color:white;
|
||||||
|
text-decoration:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
.nav-links2 ul li a:hover{
|
||||||
|
color:darkcyan;
|
||||||
|
|
||||||
|
}
|
||||||
|
.fab{
|
||||||
|
font-size: 40px;
|
||||||
|
padding: 15px;
|
||||||
|
color:dimgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fab:hover{
|
||||||
|
display:contents;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright{
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,149 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js"crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/election.css">
|
||||||
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">home </a></li>
|
||||||
|
<li class="active"><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
<img src="/image/college campus.jpg" alt="college campus" width=1420>
|
||||||
|
<div class=home-content>
|
||||||
|
|
||||||
|
|
||||||
|
<h4 >Welcome To Vinayaga Engineering College</h4>
|
||||||
|
<p class="welcome-content">Vinayaga Engineering College is established by Educational Trust. It was registered as a public charitable trust in the year 2000 to serve the society.
|
||||||
|
The trust is doing service in the field of Technical Education and Research. It is the first Engineering College started in the Kumbakonam. It was started with the aim to accelerate academic, social and economic development.
|
||||||
|
It is one of the leading Engineering colleges affiliated to the Anna University, Chennai. The Campus is spread over an area of 150 acres with gorgeous background of Temples.
|
||||||
|
The Fresh air, sweet medicated water from Cauvery River. The Serene area provides pleasant atmosphere for the students to concentrate well on their studies.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="founderrow">
|
||||||
|
<div class="foundercolumn1">
|
||||||
|
<img class="founderimg" src="/image/Rajinikanth.jpg" alt="Founder image" >
|
||||||
|
<p> It is my earnest belief that technical education without imparting the real awareness of the social responsibility and societal values will be of no avail.
|
||||||
|
Our Engineering College endeavours this vital ingredient into the student community so as to transform them into well-shaped citizens of our Future india.</p>
|
||||||
|
<hr>
|
||||||
|
<p><strong>Mr. Rajinikanth, B.Sc.,</strong></p>
|
||||||
|
<p>Vice Chairman /Correspondent</p>
|
||||||
|
</div>
|
||||||
|
<div class="foundercolumn2">
|
||||||
|
<img class="founderimg" src="/image/kamal.jfif" alt="Chairman image" >
|
||||||
|
<p>Propogation of Technical education must crop up from the grass roots of the rural and the down trodden portion of our society.
|
||||||
|
Then only the real goal of shaping the technocrat will be achieved so as to influence the society at large.
|
||||||
|
I sincerely hope that the above process is being demonstrated through our Arasu Engineering College to the Maximum. </p>
|
||||||
|
<hr>
|
||||||
|
<p><strong>Mr. Kamal, M.A.,</strong></p>
|
||||||
|
<p> Chairman/Founder</p>
|
||||||
|
</div>
|
||||||
|
<div class="foundercolumn3">
|
||||||
|
<img class="founderimg" src="/image/prakash raj.jpg" alt="Principal image" >
|
||||||
|
|
||||||
|
<p>Our goal is to bring changes in the world through education. The college has the privilege of having a healthy,
|
||||||
|
harmonious ambience and rich values.We focus on our students by providing them with a world class outcome based education, hands-on experience through research,
|
||||||
|
training and various student forums& clubactivities.</p>
|
||||||
|
<hr>
|
||||||
|
<p> <strong> Dr. Prakash raj, M.E., Ph.D., </strong></p><p>Principal </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<h4> Courses Offered </h4>
|
||||||
|
<div class="ugcourse">
|
||||||
|
|
||||||
|
<div class="ug"><p> UG COURSES </p></div>
|
||||||
|
<div>
|
||||||
|
<p>B.E - Computer Science & Engineering</p>
|
||||||
|
<p> B.E - Electrical and Electronics Engineering</p>
|
||||||
|
<p> B.E - Electronics and Communication Engineering</p>
|
||||||
|
<p> B.E - Mechanical Engineering</p>
|
||||||
|
<p>B.E - Civil Engineering</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h4>Recruitment Partners</h4>
|
||||||
|
<marquee >
|
||||||
|
<img class="company" src="/image/capgemini.jpg" >
|
||||||
|
<img class="company" src="/image/tcs.png" >
|
||||||
|
<img class="company" src="/image/zoho.jpg" >
|
||||||
|
<img class="company" src="/image/wipro.jpg" >
|
||||||
|
<img class="company" src="/image/hcl.jpg" >
|
||||||
|
</marquee>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js"crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel ="stylesheet" href="/css/form.css">
|
||||||
|
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||||
|
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li class="active" ><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="loginbody">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header">
|
||||||
|
<h2><center>LOGIN</center></h2>
|
||||||
|
</div>
|
||||||
|
<form action="" class="form">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">UserName : </label>
|
||||||
|
<input type="text" placeholder="username" id = "username" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Password : </label>
|
||||||
|
<input type="password" placeholder="password" id = "password" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<button id = 'submit'>submit</a></button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<script src="/javascript/adminlogin.js"></script>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,91 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/election.css">
|
||||||
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li class="active"><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
<section class="location">
|
||||||
|
<h4> Location </h4>
|
||||||
|
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d62672.25460050924!2d79.33304715544354!3d10.962170302005967!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a5532b360353419%3A0x9ecb5d94413ad35!2sKumbakonam%2C%20Tamil%20Nadu!5e0!3m2!1sen!2sin!4v1634136402137!5m2!1sen!2sin" width="1000" height="400"></iframe>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,139 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js"crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/election.css">
|
||||||
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li class="active"><a href="Election.html"> election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
<img src="/image/clg student.jpg" alt="college student" height=300 width=1420 >
|
||||||
|
|
||||||
|
<h4>President Election Candidates</h4>
|
||||||
|
<section class="president">
|
||||||
|
<div class="ajith">
|
||||||
|
<div><img src="/image/ajith.jpg " alt="ajith"></div><hr>
|
||||||
|
<div><p> Final year-MECH </p></div> </div>
|
||||||
|
<div class="vijay">
|
||||||
|
<div><img src="/image/vijay.jpg " alt="vijay"></div><hr>
|
||||||
|
<div><p> Final year-CSE </p></div> </div>
|
||||||
|
<div class="suriya">
|
||||||
|
<div><img src="/image/suriya.jfif" alt="suriya"></div><hr>
|
||||||
|
<div><p> Final year-ECE </p></div> </div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<h4>Vice-President Election Candidates</h4>
|
||||||
|
<section class="vicepresident">
|
||||||
|
<div class="atharvaa">
|
||||||
|
<div><img src="/image/atharvaa.jpg" alt="atharvaa"></div><hr>
|
||||||
|
<div><p> Second year-EEE </p></div> </div>
|
||||||
|
<div class="jyothika">
|
||||||
|
<div><img src="/image/jyothika.jpg" alt="jyothika"></div><hr>
|
||||||
|
<div><p> Final year-CSE </p></div> </div>
|
||||||
|
<div class="harish">
|
||||||
|
<div><img src="/image/harish.jpg" alt="harish"></div><hr>
|
||||||
|
<div><p> Final year-CIVIL </p></div> </div>
|
||||||
|
<div class="keerthi">
|
||||||
|
<div><img src="/image/keerthi.jfif" alt="keerthi"></div><hr>
|
||||||
|
<div><p> Final year-ECE </p></div> </div>
|
||||||
|
</section>
|
||||||
|
<h4>Cast Your Vote</h4>
|
||||||
|
<form class="vote" >
|
||||||
|
<div class="votepresident">
|
||||||
|
<p><strong>PRESIDENT : </strong></p>
|
||||||
|
<input type="radio" name="president" value="vijay">VIJAY
|
||||||
|
<input type="radio" name="president" value="ajith">AJITH
|
||||||
|
<input type="radio" name="president" value="suriya">SURIYA
|
||||||
|
<input type="radio" name="president" value="nota">NOTA
|
||||||
|
</div>
|
||||||
|
<div class="votevicepresident">
|
||||||
|
<p><strong> VICE-PRESIDENT : </strong></p>
|
||||||
|
|
||||||
|
<input type="radio"name="vicepresident" value="atharvaa" >ATHARVAA
|
||||||
|
<input type="radio"name="vicepresident" value="jyothika" >JYOTHIKA
|
||||||
|
<input type="radio"name="vicepresident" value="harish" >HARISH
|
||||||
|
<input type="radio"name="vicepresident" value="keerthi" >KEERTHI
|
||||||
|
<input type="radio" name="vicepresident" value="nota">NOTA
|
||||||
|
</div>
|
||||||
|
<button id = 'submit'><a href="/html/votedsuccessfully .html" >Submit</a></a></button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,136 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js" crossorigin="anonymous"></script>
|
||||||
|
<link rel ="stylesheet" href="/css/form.css">
|
||||||
|
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||||
|
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html".html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li class="active"><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li ><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="loginbody">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header">
|
||||||
|
<h2><center>Registration Form</center></h2>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<form action="" class="form">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">UserName : </label>
|
||||||
|
<input type="text" placeholder="username" id = "username" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Email : </label>
|
||||||
|
<input type="text" placeholder="email" id = "email" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Phone Number : </label>
|
||||||
|
<input type="text" placeholder="phonenumber" id = "phonenumber" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Password : </label>
|
||||||
|
<input type="password" placeholder="password" id = "password" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Confirm Password : </label>
|
||||||
|
<input type="password" placeholder="confirm password" id = "confirmpassword" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<button id = 'submit'>submit</button>
|
||||||
|
</form>
|
||||||
|
<p><center>Already have an account <a href="studentlogin.html">LOGIN</center></a></p>
|
||||||
|
</div>
|
||||||
|
<script src="/javascript/studentregistrationform.js"></script>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,109 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js"crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/election.css">
|
||||||
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li class="active"><a href="home.html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
<img src="/image/college campus.jpg" alt="college campus" width=1420>
|
||||||
|
<div class=home-content>
|
||||||
|
|
||||||
|
|
||||||
|
<h4 >Welcome To Vinayaga Engineering College</h4>
|
||||||
|
<p class="welcome-content">Vinayaga Engineering College is established by Educational Trust. It was registered as a public charitable trust in the year 2000 to serve the society.
|
||||||
|
The trust is doing service in the field of Technical Education and Research. It is the first Engineering College started in the Kumbakonam. It was started with the aim to accelerate academic, social and economic development.
|
||||||
|
It is one of the leading Engineering colleges affiliated to the Anna University, Chennai. The Campus is spread over an area of 150 acres with gorgeous background of Temples.
|
||||||
|
The Fresh air, sweet medicated water from Cauvery River. The Serene area provides pleasant atmosphere for the students to concentrate well on their studies.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table class="scrollingcontent" align="center">
|
||||||
|
|
||||||
|
|
||||||
|
<th class="news">IMPORTANT NEWS</th>
|
||||||
|
<tr class="news-content">
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<marquee> Web portal is opened for Election process of academic year 2021,Enroll your vote...</marquee>
|
||||||
|
<center><a href="Election.html" > CLICK HERE </a></center></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,120 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
<script src ="http://kit.fontawesome.com/5657301245.js"crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<link rel ="stylesheet" href="/css/form.css">
|
||||||
|
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||||
|
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="row1">
|
||||||
|
<div class="column1">
|
||||||
|
<img src="/image/college logo.jpg" width=250 height =150 alt="college logo">
|
||||||
|
</div>
|
||||||
|
<div class="column2">
|
||||||
|
<h1> vinayaga engineering college </h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<nav class="nav-links1">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">home </a></li>
|
||||||
|
<li><a href="About.html">about</a></li>
|
||||||
|
<li><a href="Departments.html">departments</a></li>
|
||||||
|
<li><a href="Campus.html"> campus</a></li>
|
||||||
|
<li><a href="Election.html"> election</a></li>
|
||||||
|
<li ><a href="Adminlogin.html">admin login </a></li>
|
||||||
|
<li class="active"><a href="Studentregistrationform.html">student login</a></li>
|
||||||
|
<li><a href="Contactus.html">contact us</a></li>
|
||||||
|
</u1>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="loginbody">
|
||||||
|
<div class="container">
|
||||||
|
<div class="header">
|
||||||
|
<p> <center>Back to Registration Form <a href="Studentregistrationform.html"> click here</center> </a></p>
|
||||||
|
<h2><center>LOGIN</center></h2>
|
||||||
|
</div>
|
||||||
|
<form action="" class="form">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">UserName : </label>
|
||||||
|
<input type="text" placeholder="username" id = "username" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="">Password : </label>
|
||||||
|
<input type="password" placeholder="password" id = "password" autocomplete="off">
|
||||||
|
<i class="ion-ios-checkmark"></i>
|
||||||
|
<i class="ion-android-alert"></i>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<button id = 'submit'>Submit</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<script src="/javascript/studentlogin.js"></script>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="row2">
|
||||||
|
<div class="column3">
|
||||||
|
|
||||||
|
<h2> Contact US </h2>
|
||||||
|
<h3> Vinayaga Engineering College </h3>
|
||||||
|
<div> <i class="fas fa-home"></i>
|
||||||
|
<span>
|
||||||
|
<p>Kumbakonam,Thanjavur(dt)</p>
|
||||||
|
<p>Tamil Nadu-612704</p></span></div>
|
||||||
|
<div><i class="fas fa-phone-alt"></i>
|
||||||
|
<span>
|
||||||
|
<p>+91-8992437010</p></span></div>
|
||||||
|
<div><i class="fas fa-envelope"></i>
|
||||||
|
<spam> <p>tharshini13baskar@gmail.com</p></spam></div>
|
||||||
|
</div>
|
||||||
|
<div class="column4">
|
||||||
|
<h2>Quick Links</h2>
|
||||||
|
<nav class="nav-links2">
|
||||||
|
<ul>
|
||||||
|
<li><a href="home.html">Home </a></li>
|
||||||
|
<li><a href="Election.html"> Election</a></li>
|
||||||
|
<li><a href="Adminlogin.html">Admin Login </a></li>
|
||||||
|
<li><a href="Studentregistrationform.html">Student Registration Form </a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="column5">
|
||||||
|
<h2> Social Connect</h2>
|
||||||
|
<a href="https://www.facebook.com/"><i class="fab fa-facebook-f"></i></a>
|
||||||
|
<a href="https://www.instagram.com/"><i class="fab fa-instagram"></i></a>
|
||||||
|
<a href="https://www.whatsapp.com/"> <i class="fab fa-whatsapp"></i></a>
|
||||||
|
<a href="https://twitter.com/explore"><i class="fab fa-twitter"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="copyright">Designed by kiruthika baskaran</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-compatible" content="IE=EDGE">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
<title> online college election system</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1><center> <strong> Thanks for Voting </strong></center></h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
After Width: | Height: | Size: 523 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 231 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 205 KiB |
After Width: | Height: | Size: 399 KiB |
After Width: | Height: | Size: 235 KiB |
After Width: | Height: | Size: 140 KiB |
After Width: | Height: | Size: 152 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 314 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 426 KiB |
After Width: | Height: | Size: 183 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 173 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 327 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 21 KiB |
@ -0,0 +1,91 @@
|
|||||||
|
class FormValidation{
|
||||||
|
formValues = {
|
||||||
|
username : "",
|
||||||
|
password : ""
|
||||||
|
}
|
||||||
|
errorValues = {
|
||||||
|
usernameErr : "",
|
||||||
|
|
||||||
|
passwordErr : ""
|
||||||
|
|
||||||
|
}
|
||||||
|
showErrorMsg(index,msg){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.add('error')
|
||||||
|
form_group.getElementsByTagName('span')[0].textContent = msg
|
||||||
|
}
|
||||||
|
showSuccessMsg(index){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.remove('error')
|
||||||
|
form_group.classList.add('success')
|
||||||
|
}
|
||||||
|
getInputs(){
|
||||||
|
this.formValues.username = document.getElementById('username').value.trim()
|
||||||
|
|
||||||
|
this.formValues.password = document.getElementById('password').value.trim()
|
||||||
|
|
||||||
|
}
|
||||||
|
validateUsername(){
|
||||||
|
if(this.formValues.username === ""){
|
||||||
|
this.errorValues.usernameErr = "* Please Enter Your Name"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length <= 4 ){
|
||||||
|
this.errorValues.usernameErr = "* Username must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length > 14){
|
||||||
|
this.errorValues.usernameErr = "* Username should not exceeds 14 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.usernameErr = ""
|
||||||
|
this.showSuccessMsg(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validatePassword(){
|
||||||
|
if(this.formValues.password === ""){
|
||||||
|
this.errorValues.passwordErr = "* Please Provide a Password"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length <= 4){
|
||||||
|
this.errorValues.passwordErr = "* Password must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length > 10){
|
||||||
|
this.errorValues.passwordErr = "* Password should not exceeds 10 Characters"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.passwordErr = ""
|
||||||
|
this.showSuccessMsg(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alertMessage(){
|
||||||
|
const {usernameErr, passwordErr }= this.errorValues
|
||||||
|
if(usernameErr === "" && passwordErr === "" ){
|
||||||
|
swal("Registration Successful","ThankYou , "+this.formValues.username,"success").then(() => {
|
||||||
|
console.log(this.formValues)
|
||||||
|
this.removeInputs()
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
swal("Give Valid Inputs","Click ok to Continue" ,"error")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
removeInputs(){
|
||||||
|
const form_groups = document.getElementsByClassName('form-group')
|
||||||
|
Array.from(form_groups).forEach(element => {
|
||||||
|
element.getElementsByTagName('input')[0].value = ""
|
||||||
|
element.getElementsByTagName('span')[0].textContent = ""
|
||||||
|
element.classList.remove('success')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const ValidateUserInputs = new FormValidation()
|
||||||
|
|
||||||
|
document.getElementsByClassName('form')[0].addEventListener('submit' , event => {
|
||||||
|
event.preventDefault()
|
||||||
|
ValidateUserInputs.getInputs()
|
||||||
|
ValidateUserInputs.validateUsername()
|
||||||
|
|
||||||
|
ValidateUserInputs.validatePassword()
|
||||||
|
|
||||||
|
ValidateUserInputs.alertMessage()
|
||||||
|
})
|
@ -0,0 +1,91 @@
|
|||||||
|
class FormValidation{
|
||||||
|
formValues = {
|
||||||
|
username : "",
|
||||||
|
password : ""
|
||||||
|
}
|
||||||
|
errorValues = {
|
||||||
|
usernameErr : "",
|
||||||
|
|
||||||
|
passwordErr : ""
|
||||||
|
|
||||||
|
}
|
||||||
|
showErrorMsg(index,msg){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.add('error')
|
||||||
|
form_group.getElementsByTagName('span')[0].textContent = msg
|
||||||
|
}
|
||||||
|
showSuccessMsg(index){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.remove('error')
|
||||||
|
form_group.classList.add('success')
|
||||||
|
}
|
||||||
|
getInputs(){
|
||||||
|
this.formValues.username = document.getElementById('username').value.trim()
|
||||||
|
|
||||||
|
this.formValues.password = document.getElementById('password').value.trim()
|
||||||
|
|
||||||
|
}
|
||||||
|
validateUsername(){
|
||||||
|
if(this.formValues.username === ""){
|
||||||
|
this.errorValues.usernameErr = "* Please Enter Your Name"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length <= 4 ){
|
||||||
|
this.errorValues.usernameErr = "* Username must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length > 14){
|
||||||
|
this.errorValues.usernameErr = "* Username should not exceeds 14 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.usernameErr = ""
|
||||||
|
this.showSuccessMsg(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validatePassword(){
|
||||||
|
if(this.formValues.password === ""){
|
||||||
|
this.errorValues.passwordErr = "* Please Provide a Password"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length <= 4){
|
||||||
|
this.errorValues.passwordErr = "* Password must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length > 10){
|
||||||
|
this.errorValues.passwordErr = "* Password should not exceeds 10 Characters"
|
||||||
|
this.showErrorMsg(1,this.errorValues.passwordErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.passwordErr = ""
|
||||||
|
this.showSuccessMsg(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alertMessage(){
|
||||||
|
const {usernameErr, passwordErr }= this.errorValues
|
||||||
|
if(usernameErr === "" && passwordErr === "" ){
|
||||||
|
swal("Registration Successful","ThankYou , "+this.formValues.username,"success").then(() => {
|
||||||
|
console.log(this.formValues)
|
||||||
|
this.removeInputs()
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
swal("Give Valid Inputs","Click ok to Continue" ,"error")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
removeInputs(){
|
||||||
|
const form_groups = document.getElementsByClassName('form-group')
|
||||||
|
Array.from(form_groups).forEach(element => {
|
||||||
|
element.getElementsByTagName('input')[0].value = ""
|
||||||
|
element.getElementsByTagName('span')[0].textContent = ""
|
||||||
|
element.classList.remove('success')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const ValidateUserInputs = new FormValidation()
|
||||||
|
|
||||||
|
document.getElementsByClassName('form')[0].addEventListener ('submit' , event => {
|
||||||
|
event.preventDefault()
|
||||||
|
ValidateUserInputs.getInputs()
|
||||||
|
ValidateUserInputs.validateUsername()
|
||||||
|
|
||||||
|
ValidateUserInputs.validatePassword()
|
||||||
|
|
||||||
|
ValidateUserInputs.alertMessage()
|
||||||
|
})
|
@ -0,0 +1,138 @@
|
|||||||
|
class FormValidation{
|
||||||
|
formValues = {
|
||||||
|
username : "",
|
||||||
|
email : "",
|
||||||
|
phonenumber : "",
|
||||||
|
password : "",
|
||||||
|
confirmpassword : ""
|
||||||
|
}
|
||||||
|
errorValues = {
|
||||||
|
usernameErr : "",
|
||||||
|
emailErr : "",
|
||||||
|
phonenumberErr : "",
|
||||||
|
passwordErr : "",
|
||||||
|
confirmpasswordErr : ""
|
||||||
|
}
|
||||||
|
showErrorMsg(index,msg){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.add('error')
|
||||||
|
form_group.getElementsByTagName('span')[0].textContent = msg
|
||||||
|
}
|
||||||
|
showSuccessMsg(index){
|
||||||
|
const form_group = document.getElementsByClassName('form-group')[index]
|
||||||
|
form_group.classList.remove('error')
|
||||||
|
form_group.classList.add('success')
|
||||||
|
}
|
||||||
|
getInputs(){
|
||||||
|
this.formValues.username = document.getElementById('username').value.trim()
|
||||||
|
this.formValues.email = document.getElementById('email').value.trim()
|
||||||
|
this.formValues.phonenumber = document.getElementById('phonenumber').value.trim()
|
||||||
|
this.formValues.password = document.getElementById('password').value.trim()
|
||||||
|
this.formValues.confirmpassword = document.getElementById('confirmpassword').value.trim()
|
||||||
|
}
|
||||||
|
validateUsername(){
|
||||||
|
if(this.formValues.username === ""){
|
||||||
|
this.errorValues.usernameErr = "* Please Enter Your Name"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length <= 4 ){
|
||||||
|
this.errorValues.usernameErr = "* Username must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else if(this.formValues.username.length > 14){
|
||||||
|
this.errorValues.usernameErr = "* Username should not exceeds 14 Characters"
|
||||||
|
this.showErrorMsg(0,this.errorValues.usernameErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.usernameErr = ""
|
||||||
|
this.showSuccessMsg(0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validateEmail(){
|
||||||
|
//abc@gmail.co.in
|
||||||
|
const regExp = /^([a-zA-Z0-9-_\.]+)@([a-zA-Z0-9]+)\.([a-zA-Z]{2,10})(\.[a-zA-Z]{2,8})?$/
|
||||||
|
if(this.formValues.email === ""){
|
||||||
|
this.errorValues.emailErr = "* Please Enter Valid Email"
|
||||||
|
this.showErrorMsg(1,this.errorValues.emailErr)
|
||||||
|
} else if(!(regExp.test(this.formValues.email))){
|
||||||
|
this.errorValues.emailErr = "* Invalid Email"
|
||||||
|
this.showErrorMsg(1,this.errorValues.emailErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.emailErr = ""
|
||||||
|
this.showSuccessMsg(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validatePhonenumber(){
|
||||||
|
const phoneno = /^\d{10}$/
|
||||||
|
if(this.formValues.phonenumber === ""){
|
||||||
|
this.errorValues.phonenumberErr = "* Please Enter your Phone Number"
|
||||||
|
this.showErrorMsg(2,this.errorValues.phonenumberErr)
|
||||||
|
} else if(phoneno.test(this.formValues.phonenumber)){
|
||||||
|
this.errorValues.phonenumberErr = ""
|
||||||
|
this.showSuccessMsg(2)
|
||||||
|
} else {
|
||||||
|
this.errorValues.phonenumberErr = "* Invalid Phone Number"
|
||||||
|
this.showErrorMsg(2,this.errorValues.phonenumberErr)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validatePassword(){
|
||||||
|
if(this.formValues.password === ""){
|
||||||
|
this.errorValues.passwordErr = "* Please Provide a Password"
|
||||||
|
this.showErrorMsg(3,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length <= 4){
|
||||||
|
this.errorValues.passwordErr = "* Password must be atleast 5 Characters"
|
||||||
|
this.showErrorMsg(3,this.errorValues.passwordErr)
|
||||||
|
} else if(this.formValues.password.length > 10){
|
||||||
|
this.errorValues.passwordErr = "* Password should not exceeds 10 Characters"
|
||||||
|
this.showErrorMsg(3,this.errorValues.passwordErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.passwordErr = ""
|
||||||
|
this.showSuccessMsg(3)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
validateConfirmpassword(){
|
||||||
|
if(this.formValues.confirmpassword === ""){
|
||||||
|
this.errorValues.confirmpasswordErr = "* Invalid Confirm Password"
|
||||||
|
this.showErrorMsg(4,this.errorValues.confirmpasswordErr)
|
||||||
|
} else if(this.formValues.confirmpassword === this.formValues.password && this.errorValues.passwordErr === ""){
|
||||||
|
this.errorValues.confirmpasswordErr = ""
|
||||||
|
this.showSuccessMsg(4)
|
||||||
|
} else if(this.errorValues.passwordErr){
|
||||||
|
this.errorValues.confirmpasswordErr = "* An error occurred in Password Field"
|
||||||
|
this.showErrorMsg(4,this.errorValues.confirmpasswordErr)
|
||||||
|
} else {
|
||||||
|
this.errorValues.confirmpasswordErr = "* Password Must Match"
|
||||||
|
this.showErrorMsg(4,this.errorValues.confirmpasswordErr)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alertMessage(){
|
||||||
|
const {usernameErr , emailErr , phonenumberErr , passwordErr , confirmpasswordErr}= this.errorValues
|
||||||
|
if(usernameErr === "" && emailErr === "" && phonenumberErr === "" && passwordErr === "" && confirmpasswordErr === ""){
|
||||||
|
swal("Registration Successful","ThankYou , "+this.formValues.username,"success").then(() => {
|
||||||
|
console.log(this.formValues)
|
||||||
|
this.removeInputs()
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
swal("Give Valid Inputs","Click ok to Continue" ,"error")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
removeInputs(){
|
||||||
|
const form_groups = document.getElementsByClassName('form-group')
|
||||||
|
Array.from(form_groups).forEach(element => {
|
||||||
|
element.getElementsByTagName('input')[0].value = ""
|
||||||
|
element.getElementsByTagName('span')[0].textContent = ""
|
||||||
|
element.classList.remove('success')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const ValidateUserInputs = new FormValidation()
|
||||||
|
|
||||||
|
document.getElementsByClassName('form')[0].addEventListener('submit' , event => {
|
||||||
|
event.preventDefault()
|
||||||
|
ValidateUserInputs.getInputs()
|
||||||
|
ValidateUserInputs.validateUsername()
|
||||||
|
ValidateUserInputs.validateEmail()
|
||||||
|
ValidateUserInputs.validatePhonenumber()
|
||||||
|
ValidateUserInputs.validatePassword()
|
||||||
|
ValidateUserInputs.validateConfirmpassword()
|
||||||
|
ValidateUserInputs.alertMessage()
|
||||||
|
})
|
@ -1,112 +1 @@
|
|||||||
[](https://github.com/microsoft/Web-Dev-For-Beginners/blob/master/LICENSE)
|
# Online_College_Election_System
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/graphs/contributors/)
|
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/issues/)
|
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/pulls/)
|
|
||||||
[](http://makeapullrequest.com)
|
|
||||||
|
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/watchers/)
|
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/network/)
|
|
||||||
[](https://GitHub.com/microsoft/Web-Dev-For-Beginners/stargazers/)
|
|
||||||
|
|
||||||
[](https://open.vscode.dev/microsoft/Web-Dev-For-Beginners)
|
|
||||||
|
|
||||||
# Web Development for Beginners - A Curriculum
|
|
||||||
|
|
||||||
Azure Cloud Advocates at Microsoft are pleased to offer a 12-week, 24-lesson curriculum all about JavaScript, CSS, and HTML basics. Each lesson includes pre- and post-lesson quizzes, written instructions to complete the lesson, a solution, an assignment and more. Our project-based pedagogy allows you to learn while building, a proven way for new skills to 'stick'.
|
|
||||||
|
|
||||||
**Hearty thanks to our authors Jen Looper, Chris Noring, Christopher Harrison, Jasmine Greenaway, Yohan Lasorsa, Floor Drees, and sketchnote artist Tomomi Imura!**
|
|
||||||
|
|
||||||
# Are you a student?
|
|
||||||
|
|
||||||
Get started with the following resources:
|
|
||||||
|
|
||||||
- [Student Hub page](https://docs.microsoft.com/en-gb/learn/student-hub?WT.mc_id=academic-77807-sagibbon) In this page, you will find beginner resources, Student packs and even ways to get a free cert voucher. This is one page you want to bookmark and check from time to time as we switch out content at least monthly.
|
|
||||||
- [Microsoft Student Learn ambassadors](https://studentambassadors.microsoft.com?WT.mc_id=academic-77807-sagibbon) Join a global community of student ambassadors, this could be your way into Microsoft
|
|
||||||
|
|
||||||
|
|
||||||
# Getting Started
|
|
||||||
|
|
||||||
> **Teachers**, we have [included some suggestions](for-teachers.md) on how to use this curriculum. We'd love your feedback [in our discussion forum](https://github.com/microsoft/Web-Dev-For-Beginners/discussions/categories/teacher-corner)!
|
|
||||||
|
|
||||||
> **[Students](https://aka.ms/student-page/?WT.mc_id=academic-77807-sagibbon)**, to use this curriculum on your own, fork the entire repo and complete the exercises on your own, starting with a pre-lecture quiz, then reading the lecture and completing the rest of the activities. Try to create the projects by comprehending the lessons rather than copying the solution code; however, that code is available in the /solutions folders in each project-oriented lesson. Another idea would be to form a study group with friends and go through the content together. For further study, we recommend [Microsoft Learn](https://docs.microsoft.com/users/jenlooper-2911/collections/jg2gax8pzd6o81?WT.mc_id=academic-77807-sagibbon) and by watching the videos mentioned below.
|
|
||||||
|
|
||||||
[](https://youtube.com/watch?v=R1wrdtmBSII)
|
|
||||||
|
|
||||||
Gif by [Mohit Jaisal](https://linkedin.com/in/mohitjaisal)
|
|
||||||
|
|
||||||
> 🎥 Click the image above for a video about the project and the folks who created it!
|
|
||||||
|
|
||||||
## Pedagogy
|
|
||||||
|
|
||||||
We have chosen two pedagogical tenets while building this curriculum: ensuring that it is project-based and that it includes frequent quizzes. By the end of this series, students will have built a typing game, a virtual terrarium, a 'green' browser extension, a 'space invaders' type game, and a business-type banking app, and will have learned the basics of JavaScript, HTML, and CSS along with the modern toolchain of today's web developer.
|
|
||||||
|
|
||||||
> 🎓 You can take the first few lessons in this curriculum as a [Learn Path](https://docs.microsoft.com/learn/paths/web-development-101?WT.mc_id=academic-77807-sagibbon) on Microsoft Learn!
|
|
||||||
|
|
||||||
By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented. We also wrote several starter lessons in JavaScript basics to introduce concepts, paired with video from the "[Beginners Series to: JavaScript](https://channel9.msdn.com/Series/Beginners-Series-to-JavaScript?WT.mc_id=academic-77807-sagibbon)" collection of video tutorials, some of whose authors contributed to this curriculum.
|
|
||||||
|
|
||||||
In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12 week cycle.
|
|
||||||
|
|
||||||
While we have purposefully avoided introducing JavaScript frameworks so as to concentrate on the basic skills needed as a web developer before adopting a framework, a good next step to completing this curriculum would be learning about Node.js via another collection of videos: "[Beginner Series to: Node.js](https://channel9.msdn.com/Series/Beginners-Series-to-Nodejs?WT.mc_id=academic-77807-sagibbon)".
|
|
||||||
|
|
||||||
> Find our [Code of Conduct](CODE_OF_CONDUCT.md), [Contributing](CONTRIBUTING.md), and [Translation](TRANSLATIONS.md) guidelines. We welcome your constructive feedback!
|
|
||||||
|
|
||||||
## Each lesson includes:
|
|
||||||
|
|
||||||
- optional sketchnote
|
|
||||||
- optional supplemental video
|
|
||||||
- pre-lesson warmup quiz
|
|
||||||
- written lesson
|
|
||||||
- for project-based lessons, step-by-step guides on how to build the project
|
|
||||||
- knowledge checks
|
|
||||||
- a challenge
|
|
||||||
- supplemental reading
|
|
||||||
- assignment
|
|
||||||
- post-lesson quiz
|
|
||||||
|
|
||||||
> **A note about quizzes**: All quizzes are contained [in this app](https://ashy-river-0debb7803.1.azurestaticapps.net/), for 48 total quizzes of three questions each. They are linked from within the lessons but the quiz app can be run locally; follow the instruction in the `quiz-app` folder. They are gradually being localized.
|
|
||||||
|
|
||||||
## Lessons
|
|
||||||
|
|
||||||
| | Project Name | Concepts Taught | Learning Objectives | Linked Lesson | Author |
|
|
||||||
| :-: | :------------------------------------------------------: | :--------------------------------------------------------------------: | ----------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------: | :---------------------: |
|
|
||||||
| 01 | Getting Started | Introduction to Programming and Tools of the Trade | Learn the basic underpinnings behind most programming languages and about software that helps professional developers do their jobs | [Intro to Programming Languages and Tools of the Trade](/1-getting-started-lessons/1-intro-to-programming-languages/README.md) | Jasmine |
|
|
||||||
| 02 | Getting Started | Basics of GitHub, includes working with a team | How to use GitHub in your project, how to collaborate with others on a code base | [Intro to GitHub](/1-getting-started-lessons/2-github-basics/README.md) | Floor |
|
|
||||||
| 03 | Getting Started | Accessibility | Learn the basics of web accessibility | [Accessibility Fundamentals](/1-getting-started-lessons/3-accessibility/README.md) | Christopher |
|
|
||||||
| 04 | JS Basics | JavaScript Data Types | The basics of JavaScript data types | [Data Types](/2-js-basics/1-data-types/README.md) | Jasmine |
|
|
||||||
| 05 | JS Basics | Functions and Methods | Learn about functions and methods to manage an application's logic flow | [Functions and Methods](/2-js-basics/2-functions-methods/README.md) | Jasmine and Christopher |
|
|
||||||
| 06 | JS Basics | Making Decisions with JS | Learn how to create conditions in your code using decision-making methods | [Making Decisions](/2-js-basics/3-making-decisions/README.md) | Jasmine |
|
|
||||||
| 07 | JS Basics | Arrays and Loops | Work with data using arrays and loops in JavaScript | [Arrays and Loops](/2-js-basics/4-arrays-loops/README.md) | Jasmine |
|
|
||||||
| 08 | [Terrarium](/3-terrarium/solution/README.md) | HTML in Practice | Build the HTML to create an online terrarium, focusing on building a layout | [Introduction to HTML](/3-terrarium/1-intro-to-html/README.md) | Jen |
|
|
||||||
| 09 | [Terrarium](/3-terrarium/solution/README.md) | CSS in Practice | Build the CSS to style the online terrarium, focusing on the basics of CSS including making the page responsive | [Introduction to CSS](/3-terrarium/2-intro-to-css/README.md) | Jen |
|
|
||||||
| 10 | [Terrarium](/3-terrarium/solution/README.md) | JavaScript Closures, DOM manipulation | Build the JavaScript to make the terrarium function as a drag/drop interface, focusing on closures and DOM manipulation | [JavaScript Closures, DOM manipulation](/3-terrarium/3-intro-to-DOM-and-closures/README.md) | Jen |
|
|
||||||
| 11 | [Typing Game](/4-typing-game/solution/README.md) | Build a Typing Game | Learn how to use keyboard events to drive the logic of your JavaScript app | [Event-Driven Programming](/4-typing-game/typing-game/README.md) | Christopher |
|
|
||||||
| 12 | [Green Browser Extension](/5-browser-extension/solution/README.md) | Working with Browsers | Learn how browsers work, their history, and how to scaffold the first elements of a browser extension | [About Browsers](/5-browser-extension/1-about-browsers/README.md) | Jen |
|
|
||||||
| 13 | [Green Browser Extension](/5-browser-extension/solution/README.md) | Building a form, calling an API and storing variables in local storage | Build the JavaScript elements of your browser extension to call an API using variables stored in local storage | [APIs, Forms, and Local Storage](/5-browser-extension/2-forms-browsers-local-storage/README.md) | Jen |
|
|
||||||
| 14 | [Green Browser Extension](/5-browser-extension/solution/README.md) | Background processes in the browser, web performance | Use the browser's background processes to manage the extension's icon; learn about web performance and some optimizations to make | [Background Tasks and Performance](/5-browser-extension/3-background-tasks-and-performance/README.md) | Jen |
|
|
||||||
| 15 | [Space Game](/6-space-game/solution/README.md) | More Advanced Game Development with JavaScript | Learn about Inheritance using both Classes and Composition and the Pub/Sub pattern, in preparation for building a game | [Introduction to Advanced Game Development](/6-space-game/1-introduction/README.md) | Chris |
|
|
||||||
| 16 | [Space Game](/6-space-game/solution/README.md) | Drawing to canvas | Learn about the Canvas API, used to draw elements to a screen | [Drawing to Canvas](/6-space-game/2-drawing-to-canvas/README.md) | Chris |
|
|
||||||
| 17 | [Space Game](/6-space-game/solution/README.md) | Moving elements around the screen | Discover how elements can gain motion using the cartesian coordinates and the Canvas API | [Moving Elements Around](/6-space-game/3-moving-elements-around/README.md) | Chris |
|
|
||||||
| 18 | [Space Game](/6-space-game/solution/README.md) | Collision detection | Make elements collide and react to each other using keypresses and provide a cooldown function to ensure performance of the game | [Collision Detection](/6-space-game/4-collision-detection/README.md) | Chris |
|
|
||||||
| 19 | [Space Game](/6-space-game/solution/README.md) | Keeping score | Perform math calculations based on the game's status and performance | [Keeping Score](/6-space-game/5-keeping-score/README.md) | Chris |
|
|
||||||
| 20 | [Space Game](/6-space-game/solution/README.md) | Ending and restarting the game | Learn about ending and restarting the game, including cleaning up assets and resetting variable values | [The Ending Condition](/6-space-game/6-end-condition/README.md) | Chris |
|
|
||||||
| 21 | [Banking App](/7-bank-project/solution/README.md) | HTML Templates and Routes in a Web App | Learn how to create the scaffold of a multipage website's architecture using routing and HTML templates | [HTML Templates and Routes](/7-bank-project/1-template-route/README.md) | Yohan |
|
|
||||||
| 22 | [Banking App](/7-bank-project/solution/README.md) | Build a Login and Registration Form | Learn about building forms and handing validation routines | [Forms](/7-bank-project/2-forms/README.md) | Yohan |
|
|
||||||
| 23 | [Banking App](/7-bank-project/solution/README.md) | Methods of Fetching and Using Data | How data flows in and out of your app, how to fetch it, store it, and dispose of it | [Data](/7-bank-project/3-data/README.md) | Yohan |
|
|
||||||
| 24 | [Banking App](/7-bank-project/solution/README.md) | Concepts of State Management | Learn how your app retains state and how to manage it programmatically | [State Management](/7-bank-project/4-state-management/README.md) | Yohan |
|
|
||||||
|
|
||||||
## Offline access
|
|
||||||
|
|
||||||
You can run this documentation offline by using [Docsify](https://docsify.js.org/#/). Fork this repo, [install Docsify](https://docsify.js.org/#/quickstart) on your local machine, and then in the root folder of this repo, type `docsify serve`. The website will be served on port 3000 on your localhost: `localhost:3000`.
|
|
||||||
|
|
||||||
## PDF
|
|
||||||
|
|
||||||
A PDF of all of the lessons can be found [here](https://microsoft.github.io/Web-Dev-For-Beginners/pdf/readme.pdf).
|
|
||||||
|
|
||||||
## Other Curricula
|
|
||||||
|
|
||||||
Our team produces other curricula! Check out:
|
|
||||||
|
|
||||||
- [Machine Learning for Beginners](https://aka.ms/ml-beginners/?WT.mc_id=academic-77807-sagibbon)
|
|
||||||
- [IoT for Beginners](https://aka.ms/iot-beginners/?WT.mc_id=academic-77807-sagibbon)
|
|
||||||
- [Data Science for Beginners](https://aka.ms/datascience-beginners/?WT.mc_id=academic-77807-sagibbon)
|
|
||||||
- [AI for Beginners](https://aka.ms/ai-beginners/?WT.mc_id=academic-77807-sagibbon)
|
|