-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exercise 10 #15
base: master
Are you sure you want to change the base?
Exercise 10 #15
Changes from 5 commits
9aeac43
2a009b9
112142c
621109d
6bff84f
f10f215
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
input{ | ||
margin:10px 0; | ||
} | ||
.interval::-webkit-outer-spin-button, | ||
.interval::-webkit-inner-spin-button { | ||
-webkit-appearance: none; | ||
} | ||
.interval{ | ||
-moz-appearance: textfield; | ||
} | ||
form{ | ||
font-family: arial; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<!DOCTYPE html> | ||
<html lang="ru"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Task 01</title> | ||
<link rel="stylesheet" type="text/css" href="task-01.css"> | ||
</head> | ||
<body> | ||
<form method="GET" action="http://httpbin.org/get"> | ||
<fieldset> | ||
<legend>Personal data</legend> | ||
<label>Surname | ||
<input> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. не хвататет отрибутов There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. добавила |
||
</label> | ||
<br> | ||
<label>First Name | ||
<input> | ||
</label> | ||
<br> | ||
<label>Middle Name | ||
<input> | ||
</label> | ||
<br> | ||
<label>You are | ||
<input type="radio" name="sex"> | ||
male</label> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Проверь форматирование кода There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. поправила |
||
<label><input type="radio" name="sex"> | ||
female</label> | ||
<br> | ||
<label>Age | ||
<input class="interval" type="number" min = "18" max = "101"> | ||
</label> | ||
<br> | ||
<label for="select">Country of Residence</label> | ||
<select id="select"> | ||
<option disabled selected>Country</option> | ||
<option>Russia</option> | ||
</select> | ||
<br> | ||
<label>City | ||
<input type="checkbox"> | ||
Ryazan</label> | ||
<input type="checkbox"> | ||
<label>Moscow | ||
</label> | ||
<br> | ||
<label>Photography | ||
<input type="file"> | ||
</label> | ||
<hr> | ||
<label>Title | ||
<select size="8"> | ||
<optgroup label="Technologies"> | ||
<option>Web Master</option> | ||
<option>Database Administrator</option> | ||
<option>Computer-aided design</option> | ||
</optgroup> | ||
<optgroup label="Finance"> | ||
<option>Economic Planning</option> | ||
<option>Managment accounting</option> | ||
<option>Budgeting and planning</option> | ||
</optgroup> | ||
</select> | ||
</label> | ||
<br> | ||
<label>Salary | ||
<input type="range"> | ||
</label> | ||
<br> | ||
<textarea cols="50" rows="10" placeholder="Tell about yourself..."></textarea> | ||
</fieldset> | ||
<fieldset> | ||
<legend>Contact Information</legend> | ||
<label>Site | ||
<input type="url"> | ||
</label> | ||
<br> | ||
<label>Email | ||
<input type="email"> | ||
</label> | ||
<br> | ||
<label>Phone | ||
<input type="tel"> | ||
</label> | ||
</fieldset> | ||
<label>Password | ||
<input type="password" required> | ||
</label> | ||
<br> | ||
<input type="submit" value="Отправить"> | ||
<input type="reset" value="Сбросить"> | ||
</form> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.table tr:nth-child(odd){ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Зачем ты используешь тэги, если есть классы у элементов? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. использовала классы, но все же интересно, насколько в данном случае использовать классы целесообразно, ведь код получается длиннее... |
||
background:rgb(227,234,243); | ||
} | ||
.table tr:nth-child(even){ | ||
background:rgb(242,246,250); | ||
} | ||
.table tr:hover{ | ||
background:rgb(226,229,233); | ||
} | ||
.table td:nth-child(1){ | ||
text-transform:capitalize; | ||
} | ||
.table td:nth-child(4)::before{ | ||
content:"$"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. И тут тоже форматирование поехало There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. поправила |
||
padding: 0 5px 0 0; | ||
} | ||
.table__headcolumn{ | ||
padding: 15px; | ||
text-transform:uppercase; | ||
} | ||
.table__column{ | ||
padding: 15px; | ||
} | ||
.table{ | ||
font-family:"Arial"; | ||
color:rgb(76,99,126); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html lang="ru"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Task 02</title> | ||
<link rel="stylesheet" type="text/css" href="task-02.css"> | ||
</head> | ||
<body class="table"> | ||
<table> | ||
<tr class = "table__headline"> | ||
<th class = "table__headcolumn">customer</th> | ||
<th class = "table__headcolumn">phone</th> | ||
<th class = "table__headcolumn">mail</th> | ||
<th class = "table__headcolumn">outstanding</th> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">jhonny aviony</td> | ||
<td class = "table__column">(740) 841-7566</td> | ||
<td class = "table__column">info@jhonnyaviony.com</td> | ||
<td class = "table__column">2.400.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">mark hammock</td> | ||
<td class = "table__column">(800) 950-4511</td> | ||
<td class = "table__column">markhammocklgmail.com</td> | ||
<td class = "table__column">700</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">richlcl cross</td> | ||
<td class = "table__column">(322) 841-7566</td> | ||
<td class = "table__column">crossstation@gmail.com</td> | ||
<td class = "table__column">1.755.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">flinn's shack</td> | ||
<td class = "table__column">(740) 841-7566</td> | ||
<td class = "table__column">help@flinns.com</td> | ||
<td class = "table__column">26.850.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">filip justic</td> | ||
<td class = "table__column">(322) 841-7566</td> | ||
<td class = "table__column">filip.justic@gmail.com</td> | ||
<td class = "table__column">642.214.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">summer evans</td> | ||
<td class = "table__column">(800) 950-4511</td> | ||
<td class = "table__column">summer@gmail.com</td> | ||
<td class = "table__column">700.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">marco s. diaz</td> | ||
<td class = "table__column">(800) 800-1111</td> | ||
<td class = "table__column">s.diaz@gmail.com</td> | ||
<td class = "table__column">700.00</td> | ||
</tr> | ||
<tr class = "table__line"> | ||
<td class = "table__column">ricky stwerat</td> | ||
<td class = "table__column">(800) 800-2222</td> | ||
<td class = "table__column">r.stwerat@gmail.com</td> | ||
<td class = "table__column">700.00</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
забыла атрибут
for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добавила