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>
<div class="grid">
  <nav id="navbar">
    <header>Production of vinyl records</header><hr><hr>
    <a class="nav-link" href="#Introduction">Introduction</a>
    <a class="nav-link" href="#Mastering_material_requirements">Mastering material requirements</a>
    <a class="nav-link" href="#Pressing_tools">Pressing tools</a>
    <a class="nav-link" href="#Labels">Labels</a>
    <a class="nav-link" href="#Completion_of_products">Completion of products</a>
  </nav>
  <main id="main-doc">

    <section class="main-section" id="Introduction">
      <header>Introduction</header>

      <div class="h2">Recording times and choice of vinyl records</div>
      <p>Each side of a record carries a spiral groove with 2 channels (stereo). The groove begins at the edge of the record and ends within a specified diameter from the centre, where the groove closes within itself. Any request involving a different geometrical
        groove order needs to be specifically defined as a planned difference from the IEC 98 norm. </p>
      <div class="h2">Mechanical parameters of vinyl</div>
      <p>The measurements of vinyl records are based on the IEC 98 norm. Record dimensions 12“, 10“ and 7“ are valid for standard weight vinyl in the diagram below.</p>

    </section>

    <section class="main-section" id="Mastering_material_requirements">
      <header>Mastering material requirements</header>

      <p>Audio files</p>
      <ul>
        <li>WAV (Windows PCM) - uncompressed audio</li>
        <li>AIF, AIFF (Apple Macintosh) - uncompressed audio</li>
        <li>FLAC (Free Lossless Audio Codec) - lossless compression, including error detection </li>
        <li>APE (Monkey's Audio) - lossless compression, including error detection</li>
      </ul>
      <p>Types of vinyl</p>
      <div>Code</div>
      <code>LP.30cm.RPM 331
/3.</code><br>
      <code>MP.25cm.RPM 331.
/3</code><br>
      <code>SP.17,5cm.RPM 45.</code><br>
      <code>Maxi single.30cm.RPM 45.</code><br>
      <code>EP. 17,5cm.RPM 331/3.</code><br>
    </section>
<br>
    <section class="main-section" id="Pressing_tools">
      <header>Pressing tools</header>

      <div class="h2">Supplied pressings instruments</div>
      <p>GZ Digital Media can press using customer supplied material. GZ accepts lacquers or nickel metal works called father or mother or stampers. Metal works must be without any visible damage, cannot be soiled (stain on nickel metal works, etc) or showing
        signs of corrosion. We recommend that all supplied metal works, especially lacquers (which are very sensitive) are packed carefully to avoid any damage during transport to GZ. Stampers have to be supplied as unprocessed originals and not bevelled.</p>

      <p>GZ Digital Media is not responsible for the quality of records produced from customer supplied materials. Sound defects such as distortion, noise, etc. and defects caused by incorrect cuts (grooves) will not be accepted and all claims rejected.</p>

    </section>

    <section class="main-section" id="Labels">
      <header>Labels</header>

      <p>Records are usually labelled on both sides. Labels on vinyl records are made of paper material and are directly associated with the pressing of the vinyl. Labels are made from offset paper (140gsm paper for 10" and 12" and from 120gsm paper for
        7”s), the customer can also choose to produce the records without labels or with labels only on one side.</p>
      <p>Basic labels are produced in the following sizes:</p>
      <ul>
        <li> For 7“ records (17,5 cm) diameter ∅ 84 mm. </li>
        <li>For 10“ and 12“ records (30 cm a 25 cm) diameter ∅ 100 mm.</li>
      </ul>

    </section>

    <section class="main-section" id="Completion_of_products">
      <header>Completion of products</header>

      <p>The product is delivered in internal and external packaging (depending on the customer) and stored in sturdy cardboard boxes. The choice of packaging is specified in the customer order.</p>
      <ul>
        <li>Inner sleeve</li>
        <li>Printed sleeves </li>
      </ul>
      <p>The outer packaging made in GZ Digital Media can be produced from:</p>
      <code>white-grey or white-white
carton with a gsm of 280 – 350 g/m2.</code>
    </section>
  </main>
</div>
              
            
!

CSS

              
                html,
body {
  font-family: Tahoma, Geneva, sans-serif;
    margin: 0;
    padding: 0;
    background: #ddd;
}
header {
  font-size: 19px;
  color: black;
  letter-spacing: 0.1em;
  font-weight: bold;
}
p {
  font-size: 17px;
  font-style: oblique;
}
code {
  background-color: #ccc;
  display: block;
  padding: 10px;
}
.h2 {
  font-size: 18px;
}
/* antras gridas neveikia tikriausiai, gal reik i divus sudet */
.grid {
  display: grid;
  grid-auto-columns: minmax(270px, auto) 1fr; 
  grid-template-areas: "nav main-doc";
  grid-gap: 40px;
}
#navbar {
  grid-area: nav;
  position: fixed;
  border-right: #333 2px solid;
  background: white;
  height: 100%;
}
#navbar > a {
  padding: 10px;
  color: black;
  text-decoration: none;
  border-bottom: #333 2px solid;
  display: block;
}
a:hover {
  background-color: #ddd;
}

#main-doc {
  grid-area: main-doc;
  background: #ddd;
  padding: 10px;
}
@media screen and (max-width: 500px) {
#main-doc {
  grid-template-columns: 1fr;
  grid-template-areas: "nav" "main-doc";
  } 
#navbar {
        width: 100%;
        position: relative;
  }

              
            
!

JS

              
                
              
            
!
999px

Console