Intro to HTML & CSS – Part 6

In this tutorial, we’ll add more CSS selectors as we build confidence with our new CSS skills.

Part 6 – More Fun with CSS

CSS by itself isn’t very difficult. What makes CSS a challenge is it’s depth. There is a lot to learn and it will take a lot of time. But you make progress by learning small chunks at a time and apply them to projects you’re working on.

The Tutorial on SafeYouTube

https://safeYouTube.net/w/mqM4

References

Source Code Files

index.html

<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <title>NerdArmy Journal</title>

  <style>
    
    body {
      background-color : black;
    }

    h1 { 
      background-color : red; 
      color : yellow; 
      font-size : 48px;
      font-family : Verdana, sans-serif; 
    }

    h2 {
      border-bottom : 2px solid cyan;
      color : cyan;
      font-size : 22px;
      font-family : Verdana, sans-serif;
      font-weight : bold;
    }

    p, ul {
      color : white;
      font-family : Verdana, sans-serif;
    }

    a {
      color : yellow;
      text-decoration : none;
    }

    a:hover {
      color : cyan;
      font-weight : bold;
    }

    ul {
      list-style-type : square;
    }

    img {
      width : 200px;
      border : 10px solid red;
      border-radius : 40px;
      padding : 20px;
    }

  </style>

</head>

<body>

  <h1>Welcome to the NerdArmy Journal</h1>
  <p>
    This is NerdArmy's daily journal of life during the
    Cornovirus!  To learn more about me... <a href="aboutMe.html">click here</a>!
  </p>

  <h2>April 1, 2020</h2>
  <p>I almost forgot about the greatest band of all-time</p>
  <a href="https://ssrs.bandcamp.com/" target="_blank">
    <img src="images/ssrs.jpg" alt="Stickshift Rocketship">
  </a>

  <h2>March 30, 2020</h2>
  <p>
    Here is a list of some of my favorite bands.
    <ul>  
      <li><a href="https://en.wikipedia.org/wiki/Van_Halen" target="_blank">Van Halen</a></li>
      <li><a href="https://blog.beastieboys.com/" target="_blank">Beastie Boys</a></li>
      <li><a href="https://www.ledzeppelin.com/?frontpage=true" target="_blank">Led Zeppelin</a></li>
    </ul>
  </p>

  <br><br><br><br><br>

</body>

</html>

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *