Skip to content

section-2 #1

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

Merged
merged 4 commits into from
Aug 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added starter/.DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions starter/02-HTML-Fundamentals/blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>BLOG</title>
<meta charset="UTF-8" />
</head>

<body>
<h2>BLOG</h1>
<a href="index.html">Home</a>
</body>
</html>
34 changes: 34 additions & 0 deletions starter/02-HTML-Fundamentals/challenge-2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<header>
<title>Section 2 - Challenge #2</title>
<meta charset="UTF-8">
</header>

<body>
<article>
<h2>Converse Chuck Taylor All Star Low Top</h2>

<img alt="Converse shoes."
height="250"
src="https://i.ibb.co/Jr7Wh1d/challenges.jpg"
width="250">

<p><strong>$65.00</strong></p>
<p>Free shipping</p>
<p>Ready to dress up or down, these classic canvas Chucks are an everday wardrobe staple.</p>
<p>
<a href="#">More information &rightarrow;</a>
</p>

<h4>Product details</h4>
<ul>
<li>Lightweight, durable canvas sneaker</li>
<li>Lightly padded footbed for added comfort</li>
<li>Iconic Chuck Taylor ankle patch.</li>
</ul>

<button>Add to cart</button>
</article>
</body>
</html>
134 changes: 134 additions & 0 deletions starter/02-HTML-Fundamentals/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Basic Language of the Web: HTML</title>
<meta charset="UTF-8" />
</head>

<body>
<!--
<h1>The Basic Language of the Web: HTML</h1>
<h2>The Basic Language of the Web: HTML</h2>
<h3>The Basic Language of the Web: HTML</h3>
<h4>The Basic Language of the Web: HTML</h4>
<h5>The Basic Language of the Web: HTML</h5>
<h6>The Basic Language of the Web: HTML</h6>
-->

<header>
<h1>📘 The Code Magazine</h1>
<nav>
<a href="blog.html">Blog</a>
<a href="#">Challenges</a>
<a href="#">Flexbox</a>
<a href="#">CSS Grid</a>
</nav>
</header>

<article>
<header>
<h2>The Basic Language of the Web: HTML</h2>
<img alt="Author."
height="50"
src="img/laura-jones.jpg"
width="50"/>
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
<img alt="HTML code on a screen."
height="200"
src="img/post-img.jpg"
width="500"/>
</header>

<p>
All modern websites and web applications are built using three <em>fundamental</em> technologies: HTML, CSS and JavaScript.
These are the languages of the web.
</p>
<p>
In this post, let's focus on HTML. We will learn what HTML is all about, and why you too should learn it.
</p>

<h3>What is HTML?</h3>
<p>
HTML stands for <strong>H</strong>yper<strong>T</strong>ext<strong>M</strong>arkup <strong>=L</strong>anguage.
It's a markup language that web developers use to structure and describe the content of a webpage (not a programming language).
</p>
<p>
HTML consists of elements that describe different types of content: paragraphs, links, headings, images, video, etc. Web browsers understand HTML and render HTML code as websites.
</p>
<p>In HTML, each element is made up of 3 parts:</p>
<ol>
<li>The opening tag</li>
<li>The closing tag</li>
<li>The actual element</li>
</ol>
<p>
You can learn more at
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML"
target="_blank">
MDN Web Docs
</a>
.
</p>

<h3>Why should you learn HTML?</h3>
<p>There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</p>
<ul>
<li>To be able to use the fundamental web dev language</li>
<li>To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</li>
<li>To build web applications</li>
<li>To impress friends</li>
<li>To have fun 😃</li>
</ul>
<p>Hopefully you learned something new here. See you next time!</p>
</article>

<aside>
<h4>Related posts</h4>
<ul>
<li>
<img alt="How to Learn Web Development."
height="75"
src="img/related-1.jpg"
width="75">
<a href="#"
target="_blank">
How to Learn Web Development
</a>
<p>
By Jonas Schmedtmann
</p>
</li>
<li>
<img alt="The Unknown Powers of CSS."
height="75"
src="img/related-2.jpg"
width="75">
<a href="#"
target="_blank">
The Unknown Powers of CSS
</a>
<p>
By Jim Dillon
</p>
</li>
<li>
<img alt="Why JavaScript is Awesome."
height="75"
src="img/related-3.jpg"
width="75">
<a href="#"
target="_blank">
Why JavaScript is Awesome
</a>
<p>
By Matilda
</p>
</li>
</ul>
</aside>

<footer>
Copyright &copy; 2027 by The Code Magazine.
</footer>
</body>
</html>