Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions GithubTest/新建文本文档.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hhh
92 changes: 92 additions & 0 deletions day1/Untitled-1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<!doctype html>
<html>
<head>
<title>Resume</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
header{
background-color: #000;
padding: 30px;
text-align: center;
font-size: 35px;
color: white;
}
aside{
background-color: yellow;
float: left;
width: 30%;
height: 1000px;
background: grey;
padding: 20px;
}
article{
float: right;
padding: 20px;
width: 70%;
height: 1000px;
}
</style>
<header>
<h2>Resume</h2>
</header>
<aside>
<div align='center'>
<img title="更换头像" src="C:\Users\98698\Desktop\untitled.png" width="150px" height="150px" style="border: 5px solid blueviolet">
</div>
<pre>

<strong><font size="+3">个人信息</font></strong>
<font size="+2">

·姓名:密晴川

·出生日期:2002/09/02

·籍贯:江苏

·学历:高中在读

·性别:男
</font>
</pre>
<form action="/study/login.jsp" method="get">
<div align="center">
<input type="submit"" value="修改信息" >
</div>
</aside>
<artilcle>
<div>
<pre>
<h2><em> 个人简介</em></h2>
<textarea cols="80" rows="8" placeholder="点击输入信息"></textarea>



-end
</pre>
</div>
<div>
<pre>
<h2><em> 荣誉奖项</em></h2>
<textarea cols="80" rows="8" placeholder="点击输入信息"></textarea>



-end
</pre>
</div>
<div>
<pre>
<h2><em> 兴趣爱好</em></h2>
<textarea cols="80" rows="8" placeholder="点击输入信息"></textarea>



-end
</pre>
</div>
</artilcle>
</body>
</html>
Binary file added day1/untitled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions day1/untitled.png:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
LastWriterPackageFamilyName=Microsoft.MicrosoftEdge_8wekyb3d8bbwe
ZoneId=3
69 changes: 69 additions & 0 deletions day2/ColorChooser.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<html>
<head><title>ColorChooser</title></head>
<style>
.margin{
width:80px;
}
.marginSpecical{
width:120px;
}
.groundcolor{
height:1000px;
background:linear-gradient(to left,green,yellow);
}
</style>
<script>
function changecolor(){
var color1=document.getElementById("color1").value;
var color2=document.getElementById("color2").value;
let temp=document.getElementsByClassName("groundcolor")[0];
var direction=document.Myform.mySelect.value;
temp.style.background=`linear-gradient(to ${direction}, ${color1}, ${color2})`;
}
function defaultcolor(){
let temp=document.getElementsByClassName("groundcolor")[0];
temp.style.background="linear-gradient(to left,green,yellow)";
var color1=document.getElementById("color1");
var color2=document.getElementById("color2");
color1.value="black";
color2.value="black";
}
</script>
<body>
<div class="groundcolor">
<div>
<br>
</div>
<div align="center">
<span id="colorInfo1">Color 1&nbsp</span>
<input class="margin" type="color" id="color1" onchange="changecolor()">
</div>
<div>
<br>
</div>
<div align="center">
<span id="colorInfo1">Color 2&nbsp</span>
<input class="margin" type="color" id="color2" onchange="changecolor()">
</div>
<div>
<br>
</div>
<div align="center">
<form name="Myform">
<select class="marginSpecical" onchange="changecolor()" name="mySelect">
<option value="right">向右渐变</option>
<option selected="selected" value="left">向左渐变</option>
<option value="top">向上渐变</option>
<option value="bottom">向下渐变</option>
</select>
</form>
</div>
<div>
<br>
</div>
<div align="center">
<input class="margin" value="default" type="button" title="reset to default" onclick="defaultcolor()">
</div>
<div>
</body>
</html>
Loading