Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!doctype html>
<html lang="en">
<head>

    <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=Poppins&effect=shadow-multiple:ital@1&display=swap" rel="stylesheet">

  
    <link href="https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@700&display=swap" rel="stylesheet">
    
    
    
    



	<meta charset="utf-8">
	<title>DBB Portfolio</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
<style>






    h1 {
        font-size: 36px;
        font-family: 'Poppins', sans-serif;
        text-align: center;
        color:blue;
        

    }

    p.atest {
        font-size: 18px;
        color:brown;
        font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
    }

    p.centtest {
        font-size: 18px;
        color:rgb(255, 0, 0);
        font-family: 'Gemunu Libre', sans-serif;   
        padding: 5px; 
    }

    .centtext {
        text-align:center;
    }

    .bg1 {
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        
    }

    body:before {
  background:url("bg1.jpg");
  display: block; 
  content:""; 
  position:absolute; 
  z-index:-1;
  top:0; left: 0; right: 0; 
  opacity: .2;
  min-height: 100%;
    
}

    .container {
        position: relative;
        border: 1px rgba(255, 255, 255, 0)
    }

    .center {
        margin: 0;
        position: absolute;
        top: 100px;
        left: 15%;
        
    }
    
    .container1 {
        display: flex;
        flex-direction: row; 
        width: 90%;
        display: flex;
        margin:auto;
        column-gap: 10px;
        }

    .project-tile {
       
        width: 33%;
        margin: auto;
        height: auto;
    }
    ul {
  list-style-type: none;
  margin: 5px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  }

li {
  float: left;
}

li a {
  display: block;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 14px 16px;
  text-decoration:hsla(251, 100%, 50%, 1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 26px;
  background-color: rgb(88, 114, 122);
 
}

li a:hover {
  background-color: rgb(238, 63, 63);
}

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}


</style>

</head>

<body class="bg1">
    <section id="welcome-section" style="height:100vh">

        <nav style="position:fixed" id="navbar">
            <ul>
                <li><a class="navbar" href="#projects">Projects</a></li>
                <li><a id="profile-link" class="navbar" target="_blank" href="https://www.freecodecamp.org/fcce28118fa-b833-49cb-849c-a1aa1dcb9aa6">Code Camp Profile</a></li>
                
            </ul>

        </nav>
    
        <div class="centtext container">  
            <div class="center">
        <h1>Dom's Project Portfolio</h1>
        <br>
        <br>
       
        <p class="atest">
            This is my online project portfolio from <a href="url(freecodecamp.org)">freecodecamp.org</a> and a couple of sites I have done or am still working on.
        </p>
    </div></div>  

        
    </section>

    <section id="projects">

        <div class="container1" id="tile1">
            <div class="project-tile">
            <p class="centtest">So I learned to use Joomla before knowing html or css very well and relied on extensions and artisteer for templates. I have decided I would like to know about the nuts and bolts of the whole webdesign thing, so I am working through freecodecamp.org and other webdev resources on the web!</p>
            <p class="centtest">This is a joomla site I made. <a href="https://southernobedienceclub.com">Southern Obedience Club</a> </p>
            <img src="Screenshot.png")</img>
        </div>
        </div>




    </section>


</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console