mirror of
https://github.com/Nezumi-2711/javascript-training.git
synced 2026-09-23 04:09:58 +00:00
47 lines
889 B
HTML
47 lines
889 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Javascript Training</title>
|
|
</head>
|
|
<style>
|
|
body {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
font-family: sans-serif;
|
|
}
|
|
.active {
|
|
border: 2px solid blue;
|
|
}
|
|
|
|
.warning {
|
|
border: 2px solid red;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.dashedBox {
|
|
border: 2px dashed lightgray;
|
|
padding: 15px;
|
|
margin: 5px;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<h1>DOM Training</h1>
|
|
<img
|
|
src="https://cdn.discordapp.com/attachments/1090895809098289185/1139820954860671106/IMG_0115.jpg"
|
|
/>
|
|
|
|
<div class="dashedBox">Div 1</div>
|
|
<div class="active dashedBox">Div 2</div>
|
|
|
|
<div class="myDiv">Div</div>
|
|
|
|
<script src="./index.js"></script>
|
|
</body>
|
|
</html>
|