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 id="main">
    <h1 id="title">Adolfas Ramanauskas-Vanagas</h1>
    <h2> <i>The freedom fighter</i></h2>
    <br>
    <figure id="img-div">
      <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Adolfas_Ramanauskas-Vanagas.jpg/330px-Adolfas_Ramanauskas-Vanagas.jpg" alt="Adolfas Ramanauskas">
 <figcaption id="img-caption">One of the few rare photos of Adolfas Ramanauskas</figcaption>
    </figure>
    <br>
    <br>
  <figure id="banner-div">
    <img src="https://tzndbg.am.files.1drv.com/y4mXo3EQFCFnyqRl16U5IGTa7bDNmM2jZkrMvglzY8TP3ANgZD_ELlnXjrPUugXZhyHkU-nvZtd1DvMP7qVpB0yfnhkpjfNrFqg5NFRVW3hvewon3zRvBu54AnJC8xQ_2qKk1P4iZKbB7vgNnB4s_gdekMw85ZS2bCWp2ID2jAOeeoi-wNx20NHPMAW1FCH87glZ7qZViQiGR6xzEnv-ZIMYA?width=1000&height=321&cropmode=none" width="330" height="105" />
  </figure>
  <br>
  <br>
    <p id="tribute-info">Adolfas Ramanauskas codename Vanagas (Hawk) (March 6, 1918 in New Britain, Connecticut – November 29, 1957 in Vilnius) was one of the prominent leaders of the Lithuanian partisans. Ramanauskas worked as a teacher when Lithuania was occupied by the
      Soviet Union in 1944–45. He joined anti-Soviet resistance, advancing from a platoon commander to the chairman of the Union of Lithuanian Freedom Fighters. From 1952 he lived in hiding with fake papers. Ramanauskas was the last partisan commander
      to be captured. Betrayed, he was arrested, tortured, and eventually executed by KGB. After Lithuania regained independence in 1990, Ramanauskas was posthumously awarded the Order of the Cross of Vytis and promoted to brigadier general.</p>
    <ul>
      <li><b>1918</b> - Born in New Britain, Connecticut </li>
      <li><b>1921</b> - Returns to Lithuania</li>
      <li><b>1930</b> - Graduates from primary school</li>
      <li><b>1937</b> - Graduates from secondary school</li>
      <li><b>1940</b> - Graduates from Kaunas War School He graduated with the rank of second lieutenant in the reserve forces</li>
      <li><b>1940-1945</b> - Works as a teacher</li>
      <li><b>1945</b> - Joins the Lithuanian partisans who waged an armed guerrilla warfare against the Soviets</li>
      <li><b>1947</b> - Becomes commander of Dainava Command</li>
      <li><b>1948</b> - Becomes commander the South Lithuania Region</li>
      <li><b>1949</b> - Is further promoted to Colonel and chief commander of the defensive forces of the Union of Lithuanian Freedom Fighters</li>
      <li><b>1956</b> - Is betrayed, arrested, taken to KGB prison in Vilnius (now Museum of Genocide Victims) and tortured</li>
      <li><b>1957</b> - Sentenced to death and executed</li>
    </ul>
    <blockquote>
      <p>"All of us have only one desire: to regain the freedom for Lithuania, and if God will allow, to participate in this celebration of unimaginable joy with all nation, to create with all nation trully free, cultural, life of independent Lithuania,
        based on the principals of democracy"</p>
      <footer>From A. Ramanauskas memoir book “Daugel krito sūnų...“ (“Many sons have fallen...”)</footer>
    </blockquote>
    <p id = "tribute-link" >If you have time you should read more about Adolfas Ramanauskas in his <a href="https://en.wikipedia.org/wiki/Adolfas_Ramanauskas" target="_blank">Wikipedia entry.</a>
  <hr>
  <p>Coded by <a href="https://codepen.io/Laurynasxl/" target= "_blank">Laurynas Pakalnis</a></p>
</div>

              
            
!

CSS

              
                
#main {
  background-color: #e6e6e6;
  margin: 15px;
  padding: 5px;
  border-radius: 5px;
  text-align:center;
}

#title {
  font-family: "Arial Black", Gadget, sans-serif;
  font-size: 40px;
}

#img-div {
  border: 5px double black;
  max-width: 330px;
  border-radius:5px;
  margin: auto;
 
}
#image {
  max-width: 100%;
  display: block;
  margin: auto;
  height: auto;
}

#img-caption {
  font-family: Verdana, Geneva, sans-serif;
  max-width:330px;
  margin: auto;
  font-weight: bold;
  background-color: white;
}
#tribute-info {
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 15px;
  font-weight: 500;
  padding: 0px 20px 0px 20px;
 
}
ul {
 max-width: 600px;
 margin:auto;
  text-align: left;
  font-family: "Lucida Console", Monaco, monospace;
  font-weight:500;
}
#tribute-link {
  color: white;
  background-color:#95979b;
  max-width: 600px;
  margin: auto;
  border: 3px double black;
  border-radius: 5px;
}
a {
  background-color: white;
  color: black;
  border-radius:5px;
  font-weight: 600;
  padding: 0px 3px 0px 3px;
}
hr {
  color:#454647 ;
  background-color: #454647;
}
              
            
!

JS

              
                
              
            
!
999px

Console