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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<!DOCTYPEhtml>

<div id="page-wrapper">
  <header id="header">
      <div class="logo">
       <img  
            id="header-img"                 src="https://scontent-msp1-1.xx.fbcdn.net/v/t1.6435-9/72424963_1161298854068510_8188679699027722240_n.jpg?_nc_cat=102&ccb=1-3&_nc_sid=730e14&_nc_ohc=Pq2lSNuyFW4AX9u4fIi&_nc_ht=scontent-msp1-1.xx&oh=a759d564941498823bb576281d41fd53&oe=609E61A6" 
         alt="Sister Luv Logo"/>
    </div>
  
    <nav id="nav-bar">
       <ul>
      <li><a class="nav-link" href="#home">Home</a> </li>
                
     <li><a class="nav-link" href="#About">About</a> </li>
                
   <li><a class="nav-link" href="#Shop">Shop</a> </li>
            </ul>
        </nav>
   </header>
  <div id="container"></div>
     <section id="home">
       <h2 id="home-text"><strong>Welcome to Sister Luv's Website! Browse the website to learn more about Sister luv!</strong></h2>
  
    <img id="site-img"
         src="https://static.wixstatic.com/media/41b0b8_e437369850c246c0a98fd89d7479b88a~mv2.jpg/v1/fill/w_582,h_824,al_c,q_85,usm_0.66_1.00_0.01/120041914_255239369072566_79843319127027.webp" alt="Sister Luv"/>
     <h2 id="About-title"><u>About</u></h2>
       <div id="About">
     <section id="About-section">
       <p id="About-text"><strong>Sister Luv is composed of four sisters, who have been singing together for most of their lives.

   They perform all different genres of music including 40s-70s Pop, Classic Country, and Gospel. Sister Luv has captured many audience's hearts across the southeastern Minnesota area through their Shows and around the world through their social media postings!

​

  They have performed at various venues from private parties to events hosted by a Senator!!


  Their love of singing and entertaining has led them to formally start their group, Sister Luv, to honor their Papa Bear, who passed In November 2018, after battling brain cancer. He was their greatest fan and even though he is now heaven, he will be with them in spirit!</strong>
  </div>
         <section id="video-section">
      <h2 class="subtitle">See it in action</h2>
      <div class="line"></div>
      <p id="video-paragraph">One of Sister Luv's most popular songs</p>
      <div id="video-container">
        <iframe 
                id="video"      src="https://youtu.be/_YXZxgmqEEA"                  frameborder="0" 
             allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
      </div>
    </section>
          <h3 id="Shop-title"><u>Puttin' on the Glitz Store</u></h3>
       <div id="Shop">
     <section id="Shop-section">
       <p id="Shop-description"><strong> Welcome to the Sister Luv's "Puttin' on the Glitz" Store! All products here are embellished and designed by Sister Luv by hand! Lots of Luv and hard work put into them...If you would like something of your own embellished and/or a custom design, feel free to contact us through the Sister Luv contact page or email sisterluvsings4you@gmail.com

</strong>
  </div>
         
             <form id="form" action="https://www.freecodecamp.com/email-submit" >
                   <label for="email" id="email-label">Email</label>
       <input
              id="email"
              type="email"
              name="email"
              required class="form-control" 
              placeholder="email" required/>
               <input type="submit" id="submit" value="Submit"class="btn"/></
             </form>
           
             
  </main>
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background:fuchsia;
}
#page-wrapper{
  position: relative;
}
li{
  list-style: none;
}
a {
  color: fuchsia;
  text-decoration: none;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.grid {
  display: flex;
}

header {
  position: fixed;
  width:100%;
  top: 0;
  min-height: 75px;
  padding: 5px 185px;
  display: stretch;
  justify-content: center;
  align-items: center;
  background-color: black;
  
}

@media (max-width: 600px) {
  header {
    position:fixed;
    width:100%
  }
}

.logo {
  position:fixed;
  width: 60vw;
  top:0;
}

@media (max-width: 650px) {
  .logo {
    margin-top: 15px;
    width: 100%;
    position: fixed;
  }
}


#header-img{
    display: block;   /* default value for img  element is inline-block  */
   max-width: 50%;  /* to make sure it fits in the image container,  the #img-div container on your code */
   margin: auto;   /* to centering image as block level element inside the container, the #img-div container */
border-color:fuchsia;
border-width:10px;
    border-style: solid;
   border-radius:25%;
       max-width: 100%;
  width:100px;
  display:block;
  margin:auto;
  justify-content: center;
  text-align: center;

}
nav {
  font-weight: 500px;
  position:fixed;
}

@media (max-width: 650px) {
  nav {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding:  150px;
  }
  nav li {
    padding-bottom: 5px;
  }
}

nav > ul {
  width: 35vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

@media (max-width: 650px) {
  nav > ul {
    flex-direction: column;
  }
}






#Home{
  text-align:center;
  color:black;
  font-size:1.25em;
  font-family: san-serif;
  
  
}
#site-img{
  justify-content: center;
  margin-left: 20%;
}
h2{
  text-align: center;
}
#About{
  text-align:center;
  color:black;
  font-size:1em;
  font-family: san-serif;
  
  
}
h3{
  text-align: center;
  font-size: 2em;
}
#Shop{
   text-align:center;
  color:black;
  font-size:1em;
  font-family: san-serif;
}
#form {
  margin-top: 5rem;
  padding: 10px 25px;
  font-size: 15px;
  font-family: inherit;
  color: white;
  background: black;
  border: 1px solid black;
  border-radius: 10px
}
  




}
.btn {
  padding: 0 20px;
  height: 40px;
  font-size: 1em;
  font-weight: 900;
  text-transform: uppercase;
  border: 3px black solid;
  border-radius: 2px;
  background: transparent;
  cursor: poniter;
}

#submit:hover {
  background: Fuchsia;
}
@media (min-height: 100px) {
  h1{
    position: fixed
      
  }
}
              
            
!

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