1 Hour Website Instructions With Bonus V2
1 Hour Website Instructions With Bonus V2
1 Hour Website Instructions With Bonus V2
pg. 1 CODEJIKA.COM
Great! Now insert the code below, between the body tags you have - LIKE THIS:
<body>
<div class="diag">
<h1>Your Name</h1>
<h3>Launching soon...</h3><br>
<p>10th June, 2018</p>
</div>
<div>
<hr>
<h3>
MOTIVATION:
<br><br>
<i>I want to learn how to code so that I can...<br>
[ ...build cool websites, learn more about tech...]</i>
</h3>
<hr>
</div>
</body>
Good stuff!
pg. 2 CODEJIKA.COM
Now add this code to the <style> section in your <head>, below the opening <style> tag.
h2 {
font-size: 85px;
width: 75%;
border-top: 4px solid grey;
margin: auto;
}
h3 {
font-size: 45px;
max-width: 600px;
border: 2px solid white;
margin: auto;
padding: 15px;
}
.diag {
background: linear-gradient(110deg, yellow 40%, pink 40%);
}
pg. 3 CODEJIKA.COM
Bonus Section:
You can also add this to your <style> section:
.box {
float: center;
width: 80%;
padding: 20px;
margin: auto;
}
.white {
background-color: white;
}
div {
padding: 40px;
text-align: center;
}
.dots {
background-color: lightblue;
background-size: 100px 100px;
background-position: 0 0, 50px 50px;
background-image: radial-gradient(circle, white 10%, transparent 10%);
height: auto;
}
AWESOME!
Add this into your <body> section, below your existing div, but before the </body> closing
tag.
<div class="dots">
<div class="box">
<h2>Contact:</h2>
</div>
<div class="box white">
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
</div>
</div>
<div>
<p>© 2018 Your Name Website</p> </div>
Save your file as per instructions on Page 01 and open it with a browser. Does it work?
pg. 4 CODEJIKA.COM
Cheat sheet:
<head>
<style>
h1 {
font-size: 125px;
color: black;
}
h2 {
font-size: 85px;
width: 75%;
border-top: 4px solid grey;
margin: auto;
}
h3 {
font-size: 45px;
max-width: 600px;
border: 2px solid white;
margin: auto;
padding: 15px;
}
.diag {
background: linear-gradient(110deg, yellow 40%, pink 40%);
}
.box {
float: center;
width: 80%;
padding: 20px;
margin: auto;
}
.white {
background-color: white;
}
div {
padding: 40px;
text-align: center;
}
.dots {
background-color: lightblue;
pg. 5 CODEJIKA.COM
background-image: radial-gradient(circle, white 10%, transparent 10%);
background-size: 100px 100px;
background-position: 0 0, 50px 50px;
height: auto;
}
</style>
</head>
<body>
<div class="diag">
<h1>Your Name</h1>
<h3>Launching soon...</h3>
<br>
<p>10th June, 2018</p>
</div>
<div>
<hr>
<h3>
MOTIVATION:
<br><br>
<i>I want to learn how to code so that I can...<br>
[ ...build cool websites, learn more about tech...]</i>
</h3>
<hr>
</div>
<div class="dots">
<div class="box">
<h2>Contact:</h2>
</div>
<div class="box white">
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
<p>Address: 123 Alfred Road</p>
</div>
</div>
<div>
<p>© 2018 Your Name Website</p>
</div>
</body>
pg. 6 CODEJIKA.COM