-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain2.html
65 lines (63 loc) · 2.01 KB
/
train2.html
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
64
65
<html>
<head>
<title>train2</title>
<script src="jquery_library.js"></script>
<script>
$(document).ready(function(){
$("#task1").click(function(){
alert("hi");
window.location.assign("ad1.html");
});
});
</script>
<style>
*{
font-family:calibri;
padding:0px;
margin:0px;
}
.task{
background-color: blueviolet;
color: azure;
height: 15%;
width:50%;
margin:5% 30%;
}
.Home{
width:100%;
display: block;
}
.options{
vertical-align: top;
width:10%;
height:100%;
display: inline-block;
background-color: black;
color:white;
align-content: top;
}
.Tasks{
width:80%;
display: inline-block;
}
@media only screen and (max-width: 600px) {
body{width:100%;height:auto; margin:2%;}
}
</style>
</head>
<body>
<div class="Home">
<div class="options">
<figure>
<img src="driveicon.png" width="100%" height="auto"><img>
</figure>
</div>
<div class="Tasks">
<input class="task" id="task1" type="button" name="task1" value="task1" height="30%" width="50%"></button>
<input class="task" id="task2" type="button" name="task2" value="task2"></button>
<input class="task" id="task3" type="button" name="task3" value="task3"></button>
<input class="task" id="task4" type="button" name="task4" value="task4"></button>
</div>
</div>
</body>
</html>