NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!DOCTYPE html>
<html lang="tr" data-bs-theme="dark">

<head>
<title>İletişim</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="İletişim sayfası">
<meta name="author" content="Zeynep Yener">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
<nav class="navbar navbar-expand-lg" id="girisCubugu">
<div class="container-fluid">
<a class="navbar-brand" href="proje.php" title="Hakkında sayfasına gider" id="hakkinda">
<img src="Resimler/backicon.png">
Geri
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div class="container ">
<div id="app">
<div class="row align-items-start">
<div class="col kenarlik">
<img src="Resimler/kenarlik.jpg" class="kenarliklar" alt="Kenarlık">
</div>
<div class="col kenarlik">
<br>
<h1>İLETİŞİM FORMU</h1> <br>
<h6>Sayfamıza göz attıysanız ufak bir anket sizi beklemekte...</h6>
<br> <br>
<form @submit.prevent="validateForm">
<div class="form-group">
<label for="kullaniciAdi">
<h5>Kullanıcı Adınız:</h5>
</label>
<input type="text" class="form-control" v-model="kullaniciAdi" placeholder="Kullanıcı adınızı giriniz:">
</div>
<div class="form-group">
<label for="sifre">
<h5>Şifreniz:</h5>
</label>
<input type="password" class="form-control" v-model="sifre" placeholder="Şifrenizi giriniz:">
</div>
<div class="form-group">
<label for="cinsiyet">
<h5>Cinsiyetiniz:</h5>
</label> <br>
<input type="radio" v-model="cinsiyet" value="kadin" checked> Kadın<br>
<input type="radio" v-model="cinsiyet" value="erkek"> Erkek
</div>
<div class="form-group">
<label for="dogumTarihi">
<h5>Doğum Tarihiniz:</h5>
</label>
<input type="date" class="form-control" v-model="dogumTarihi">
</div>
<div class="form-group">
<label for="universite">
<h5>Üniversiteniz:</h5>
</label>
<select class="form-control" v-model="universite">
<option value="saü" selected>Sakarya Üniversitesi</option>
<option value="koü">Kocaeli Üniversitesi</option>
<option value="itü">İstanbul Teknik Üniversitesi</option>
<option value="odtü">Orta Doğu Teknik Üniversitesi</option>
</select>
</div>
<div class="form-group">
<label for="bolum">
<h5>Bölümünüz:</h5>
</label>
<select class="form-control" v-model="bolum">
<option value="ceng" selected>Bilgisayar Mühendisliği</option>
<option value="makine">Makine Mühendisliği</option>
<option value="ziraat">Ziraat Mühendisliği</option>
<option value="mekatronik">Mekatronik Mühendisliği</option>
</select>
</div>
<div class="form-group">
<label for="hobiler">
<h5>Hobilerinizi işaretleyiniz:</h5>
</label> <br>
<input type="checkbox" v-model="hobiler" value="enstrüman"> Enstrüman Çalmak<br>
<input type="checkbox" v-model="hobiler" value="orgu"> Örgü Örmek<br>
<input type="checkbox" v-model="hobiler" value="spor"> Spor Yapmak<br>
<input type="checkbox" v-model="hobiler" value="bulmaca"> Bulmaca Çözmek<br>
<input type="checkbox" v-model="hobiler" value="müzik"> Müzik Dinlemek<br>
<input type="checkbox" v-model="hobiler" value="film"> Film İzlemek<br>
<input type="checkbox" v-model="hobiler" value="kitap"> Kitap Okumak<br>
</div>
<div class="form-group">
<label for="dosya">
<h5>En sevdiğiniz filmin afişini içeren bir dosya yükleyiniz:</h5>
</label>
<input type="file" class="form-control" @change="handleFileUpload">
</div>
<div class="form-group">
<label for="mesaj">
<h5>Bize iletin:</h5>
</label>
<textarea class="form-control" v-model="mesaj" rows="5" placeholder="Buraya yazınız..."></textarea>
</div>
<br>
<button type="reset" class="btn btn-secondary">Temizle</button>
<button type="submit" class="btn btn-primary">Gönder</button>
</form>
</div>
<div class="col kenarlik">
<img src="Resimler/kenarlik.jpg" class="kenarliklar" alt="Kenarlık">
</div>
</div>
</div>
</div>
<script>
new Vue({
el: '#app',
data: {
kullaniciAdi: '',
sifre: '',
cinsiyet: 'kadin',
dogumTarihi: '',
universite: 'saü',
bolum: 'ceng',
hobiler: [],
dosya: null,
mesaj: ''
},
methods: {
validateEmail(email) {
const re = /^[^s@]+@[^s@]+.[^s@]+$/;
return re.test(email);
},
handleFileUpload(event) {
this.dosya = event.target.files[0];
},
validateForm() {
let errors = [];
if (!this.kullaniciAdi) {
errors.push('Kullanıcı adı boş olamaz.');
} else if (!this.validateEmail(this.kullaniciAdi)) {
errors.push('Geçerli bir e-posta adresi giriniz.');
}

if (!this.sifre) {
errors.push('Şifre boş olamaz.');
}

if (!this.dogumTarihi) {
errors.push('Doğum tarihi seçiniz.');
}

if (this.hobiler.length === 0) {
errors.push('En az bir hobi seçiniz.');
}

if (!this.dosya) {
errors.push('Dosya yükleyiniz.');
}

if (errors.length > 0) {
alert(errors.join('n'));
} else {
alert('Form başarıyla gönderildi.');
}
}
}
});
</script>
</body>

</html>
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.