-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
63 lines (42 loc) · 1.57 KB
/
index.php
File metadata and controls
63 lines (42 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/index.css">
<?php include 'include/head.php'; ?>
<title>portfolio</title>
</head>
<body>
<?php include 'include/navbar.php'; ?>
<h1>Portfolio</h1>
<div class="hello_text">
<h2 >hello my name is Thomas dekker.</h2>
<h2> I am a software engineer in training.</h2>
<h2> This will be my portfolio.</h2>
<h2> You are free to look around.</h2>
</div>
<img src="img/mr-bean-wave.gif" alt="Thomas" width="25%">
<h3>Thanks ted for helping</h3>
<div class="bg-modal">
<script>
function validateForm() {
var x = document.forms["myForm"]["name1"].value;
if (x == "") {
alert("Name must be filled out");
return false;
}
}
</script>
<div class="modal-contents">
<div class="close">+</div>
<img src="" alt="">
<form name="myForm" action="index_nopopup.php" onsubmit="return validateForm()" method="post" required>
<input class="text" type="text" name="name1" placeholder="Name">
<input type="submit" id="botton_2" class="button" value="send">
</form>
</div>
</div>
<script type="text/javascript" src="js/popup.js"></script>
</html>