Browse Source

challenge complete

master
Ken Schaefer 12 months ago
parent
commit
96075b4437
  1. BIN
      100-days/docs/html-css-basics-summary.pdf
  2. 32
      100-days/full-week.html
  3. BIN
      100-days/images/html-css.png
  4. 9
      100-days/index.html
  5. 33
      100-days/styles/daily-challenge.css
  6. 30
      100-days/styles/full-week.css
  7. 1
      100-days/styles/shared.css
  8. 73
      100-days/styles/week-one-challenge.css
  9. 46
      100-days/week-one-challenge.html

BIN
100-days/docs/html-css-basics-summary.pdf

Binary file not shown.

32
100-days/full-week.html

@ -12,12 +12,30 @@
<link href="http://lamp.internal.gharke.com/100-days/styles/full-week.css" rel="stylesheet" /> <link href="http://lamp.internal.gharke.com/100-days/styles/full-week.css" rel="stylesheet" />
</head> </head>
<body> <body>
<h1>My Upcoming Challenges</h1> <header>
<a href="index.html">View Today's Challenge</a> <h1>My Upcoming Challenges</h1>
<ol> <p id="description">These are my goals for the next days</p>
<li>Repeat what I learned about HTML & CSS</li> <a href="index.html">View Today's Challenge</a>
<li>Do the exercises on HTML & CSS</li> </header>
<li>Dive deeper into HTML & CSS and build more complex websites</li> <main>
</ol> <ol>
<li>
<h2>Tuesday, April 2nd</h2>
<p>Repeat what I learned about HTML & CSS</p>
</li>
<li class="highlight-goal">
<h2>Wednesday, April 3rd</h2>
<p>Do the exercises on HTML & CSS</p>
</li>
<li class="highlight-goal">
<h2>Thursday, April 4th</h2>
<p>Dive deeper into HTML & CSS and build more complex websites</p>
</li>
<li>
<h2>Friday, April 5th</h2>
<p>Learn all about forms</p>
</li>
</ol>
</main>
</body> </body>
</html> </html>

BIN
100-days/images/html-css.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

9
100-days/index.html

@ -13,13 +13,18 @@
<link href="styles/daily-challenge.css" rel="stylesheet" /> <link href="styles/daily-challenge.css" rel="stylesheet" />
<title>My Daily Challenge</title> <title>My Daily Challenge</title>
</head> </head>
<body> <body>
<main>
<img src="images/challenges-trophy.jpg" alt="A trophy" /> <img src="images/challenges-trophy.jpg" alt="A trophy" />
<h1>100 Day Challenges</h1> <h1>My Challenge for <span>Thursday, November 30th</span></h1>
<p id="todays-challenge"> <p id="todays-challenge">
Learn about the basics of web development - specifically dive into HTML & Learn about the basics of web development - specifically dive into HTML &
CSS. CSS.
</p> </p>
</main>
<footer>
<p>Explore the <a href="full-week.html">full week</a>.</p> <p>Explore the <a href="full-week.html">full week</a>.</p>
<p>First week <a href="week-one-challenge.html">challange</a></p>
</footer>
</body> </body>
</html> </html>

33
100-days/styles/daily-challenge.css

@ -1,15 +1,32 @@
body { main {
margin: 50px; background-color:rgb(219, 108, 94);
} border: 5px solid rgb(44, 44, 44);
border-radius: 8px;
img { box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
width: 800px;
margin: 200px auto 72px auto;
padding: 24px;
}
img {
width: 200px; width: 200px;
height: 200px; height: 200px;
border-radius: 100px; border-radius: 100px;
border: 5px solid rgb(44, 44, 44);
margin-top: -134px;
}
h1 {
font-size: 30px;
color: rbg(31, 25, 25);
}
h1 span {
color: rgb(66, 2, 2);
} }
#todays-challenge { #todays-challenge {
color: rgb(170, 96, 83); color: rgb(75, 59, 59);
font-weight: bold; font-weight: bold;
font-size: 52px; font-size: 52px;
} }

30
100-days/styles/full-week.css

@ -1,13 +1,22 @@
h1 { h1 {
font-size: 48px; font-size: 48px;
color: rgb(71, 62, 62); color: rgb(71, 62, 62);
margin: 0;
}
header p {
margin: 12px 0;
} }
a { a {
background-color: rgb(167, 1, 78); background-color: rgb(167, 1, 78);
color: white; color: white;
border: 1px solid black;
border-radius: 4px; border-radius: 4px;
font-size: 24px; font-size: 24px;
padding: 12px 48px;
display:inline-block;
margin: 0;
} }
a:hover { a:hover {
background-color: rgb(180, 12, 90); background-color: rgb(180, 12, 90);
@ -16,10 +25,29 @@ a:hover {
ol { ol {
list-style: none; list-style: none;
width: 500px;
margin: 36px auto 0 auto;
padding: 0;
} }
li { li {
padding: 16px;
margin: 32px; margin: 32px;
background-color: rgb(223, 136, 124); background-color: rgb(223, 136, 124);
border-radius: 6px; border-radius: 6px;
} box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
h2 {
color: rgb(78, 13, 5);
font-family: 'Oswald', sans-serif;
}
main p {
margin: 12px;
color: rgb(185, 139, 86);
}
.highlight-goal {
background-color: rgb(218, 60, 39);
}

1
100-days/styles/shared.css

@ -2,6 +2,7 @@ body {
background-color: rgb(233, 215, 207); background-color: rgb(233, 215, 207);
text-align: center; text-align: center;
color: rgb(83, 75, 75); color: rgb(83, 75, 75);
margin: 50px;
} }
h1 { h1 {

73
100-days/styles/week-one-challenge.css

@ -0,0 +1,73 @@
body {
background-color: #f2eaff;
font-family: Roboto, sans-serif;
margin: 50px;
text-align: center;
}
h1 {
color: #774ad8;
margin: 0 0 30px 0;
padding: 0;
font-size: 64px;
font-weight: bold;
}
a {
text-decoration: none;
}
a:hover {
font-weight: bolder;
}
header img {
margin: 0;
padding: 0;
width: 300px;
}
main {
background-color: #774ad8;
border: 2px solid #290f63;
border-radius: 10px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
color: white;
margin: 72px auto 24px auto;
padding: 32px;
text-align: left;
width: 800px;
}
main ul {
list-style: none;
margin: 0;
padding: 0;
}
main li {
margin: 18px 0;
padding: 0 12px;
}
main li.highlight {
border-left: 4px solid #fcedae;
color: #fcedae;
padding: 0 8px;
}
main a {
background-color: #fcedae;
border-radius: 4px;
padding: 4px 8px;
}
footer {
margin: 36px 0;
}
footer a {
background-color: #f8c928;
border: 1px solid #774ad8;
border-radius: 4px;
padding: 12px;
}

46
100-days/week-one-challenge.html

@ -0,0 +1,46 @@
<!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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/week-one-challenge.css">
<title>Week One Challenge</title>
</head>
<body>
<header>
<h1>HTML & CSS Basics Summary</h1>
<img src="images/html-css.png" alt="HTML Logo"/>
</header>
<main>
<h2>HTML Summary</h2>
<p>HTML (HyperText Markup Language) is used to define our page content, structure and meaning. You don't use it for styling purposes. Use CSS for that instead!
</p>
<ul>
<li class="highlight">HTML uses "elements" to describe (annotate) content</li>
<li>HTML elements typically have an opening tag, content and then a closing tag</li>
<li class="highlight">You can also have void (empty) elements like images</li>
<li class="highlight">You can also configure elements with attributes</li>
<li>There's a long list of available elements but you'll gain experience over time, no worries</li>
</ul>
<p>Learn more about all available HTML elements on <a href="https://developer.mozilla.org/en-US/docs/Web/HTML" target="_blank">the MDN HTML element reference</a></p>
<h2>CSS Summary</h2>
<p>CSS (Cascading Style Sheets) is used for styling your page content.</p>
<ul>
<li>Styles are assigned via property-value pairs</li>
<li>You can assign styles via the "style" attribute</li>
<li class="highlight">To avoid code duplication, you typically use global styles (e.g. via the "style" element) instead</li>
<li>Alternatively, you can work with external stylesheet files which you "link" to</li>
<li class="highlight">When working with CSS, concepts like "inheritance", "specificity", and the "box model" should be understood</li>
</ul>
<p>Learn more about all available CSS properties and values on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS" target="_blank">the MDN CSS property reference</a></p>
</main>
<footer>
<a href="docs/html-css-basics-summary.pdf" target="_blank">Download PDF Summary</a>
</footer>
</body>
</html>
Loading…
Cancel
Save