<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Learning HTML & CSS</title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<h1>JavaScript is fun but is so HTML and CSS!</h1>
<p class="first">
you can learn JavaScript without HTML and CSS, but for DOM manipulation
it's useful to have some basic ideas of HTM & CSS. You can watch some
tutorial in
<a href="https://www.youtube.com/channel/UCHPPjaRo_OF_WqxGhnylz6g">
Youtube.
</a>
</p>
<img
id="kali-image"
src="https://3.bp.blogspot.com/-rUrnR2hL-As/WjTu3AOa6BI/AAAAAAAAAso/ZPSVkTFvv_wPRQl9TgIDcZnej_R3K_agQCLcBGAs/w1200-h630-p-k-no-nu/Kali%2BLinux%2B2017.3%2B%2B64%2Bbit%2BMate%2BFree%2BDownload.jpg"
/>
<h2>Another Heading</h2>
<p class="second">just another paragraph</p>
<form id="your-name">
<h2>Your name here</h2>
<p class="first">Please fill in these form</p>
<input type="text" placeholder="Your name" />
<button>Ok!</button>
</div>
</body>
</html>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: rgb(161, 40, 40);
font-family: Arial;
font-size: 20px;
padding: 50px;
}
h1 {
font-size: 40px;
margin-bottom: 25px;
}
h2 {
margin-bottom: 20px;
text-align: center;
}
p {
margin-bottom: 20px;
}
.first {
color: goldenrod;
}
#your-name {
background-color: rgb(13, 53, 232);
border: 5px solid grey;
width: 400px;
padding: 25px;
margin-top: 30px;
}
input,
button {
padding: 20px;
font-size: 16px;
}
a {
background-color: yellow;
}
#your-name h2 {
color: rgb(35, 243, 115);
}
#kali-image {
height: 200px;
width: 500px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.