HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs 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 its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div class="background">
<div id="main">
<header id="title">
<h1 class="main-title">The Palladium Ballroom</h1>
<p class="title-description">Where the MAMBO was King</p>
</header>
<div id="img-div">
<figure>
<img id="image" src="https://secureservercdn.net/198.71.233.96/i0u.4d8.myftpupload.com/wp-content/uploads/2020/04/Palladium-night.jpg">
<p id="img-caption">Concert in Palladium</p>
</figure>
</div>
<div id="tribute-info">
<p>The time of The Palladium era in the 50s is an essential part of Salsa history. Palladium was not the first and the only club whit Afro-Cuban thematic in New York City. Clubs like The Park Palace, China Doll or La Conga existed before. However, Palladium’s location, in the heart of Manhattan, made it the center of the mambo craze. It was a place where great dancers and musicians met for the same reason, their love for music, dance and enjoyment. Some of the most significant names, such as The big three, were coming together here to play Afro-Cuban rhythms like Guaracha, Son – Montuno, Rumba, Cha-cha-cha. Through this mix of musical brilliance, passionate dancers and alike audience the Mambo Craze was born. Get ready for this time travel to dance the mambo like in the 50s.</p>
<h2 class="sub-title">The Mambo Craze</h2>
<p>Palladium took a big part of the nights in New York City. Every night, big names of Latin music like Celia Cruz, Arsenio Rodriguez, Dámaso Perez Prado passed through the palladium’s stage. It didn’t take long for the mambo to become trending. This place catches the attention of celebrities like Frank Sinatra and Marlon Brando, who used to visit the Palladium often. But Palladium’s success is largely due to the city’s professional dancers, and the enthusiasm of amateur dancers who each night improved their skills and created the foundation for what we now know as a social salsa dance.</p>
<h2 class="sub-title">The Big Three</h2>
<p>They were a key to Palladium becoming an important reference for salsa history and emerging New York clubs. “Machito and his Afro-Cubans” was the first orchestra at the Palladium. Mario Bauzá founded this Orchestra in 1941, and Machito was the face of the project. They begin to mix Jazz with Afro-Cuban rhythms and European instruments, becoming the pioneering and most respected orchestra of the time. When Palladium begins to be the center of the Night, they needed other Bands with the Machito Level.</p>
<h2 class="sub-title">The Dance contribution to salsa history</h2>
<p>Mambo, Chachacha, and pachanga were the favorite rhythms to dance every night. The Mambo was the star of the night and the one that professionals preferred to demonstrate their skills. The Cha-cha-cha was introduced thanks to Dumas Perez Prado with his hit …, and it was vital to keep the Latin dance afloat. This was the preferred rhythm of young people and beginners because it was slower and more romantic. And the pachanga could not be left behind, It was a very energetic and unbridled rhythm for both musicians and dancers. In addition to being used recurrently in films of the time.</p>
<p>The dance was an important part of the Mambo experience at the Palladium. One of the biggest motivations for going every week was to take dance classes and watch dance performances. Many professional dancers emerged in this place. One of the first teams were Milly Denay and Pedro Aguilar, as well known as the Cuban Pete. They used to be the nighttime attraction performing great music performances and elaborate shows. Milly Denay developed a great name as a dancer by being the female lead solo dancer in Dámaso Perez Prado’s orchestra.</p>
<h2 class="sub-title">The Big Three</h2>
<p>They were a key to Palladium becoming an important reference for salsa history and emerging New York clubs. “Machito and his Afro-Cubans” was the first orchestra at the Palladium. Mario Bauzá founded this Orchestra in 1941, and Machito was the face of the project. They begin to mix Jazz with Afro-Cuban rhythms and European instruments, becoming the pioneering and most respected orchestra of the time. When Palladium begins to be the center of the Night, they needed other Bands with the Machito Level.</p>
<p>Cuban Pete and Milly Denay were a strong reference for all mambo dance enthusiasts. They inspired dancers like Augie and Margo Rodríguez. A couple who became the world stars and the face of the mambo dance in the world. They were motivated to make a dance career by participating in the Palladium competitions. They begin to study dance professionally and integrate jazz, ballet, and other influences. Augie and Margo included stunts, difficult turns, jumps and synchronized partner work to a very high level.</p>
<h2 class="sub-title">The Legacy to Salsa history</h2>
<p>At Palladium, music, and dance began to build the foundation for salsa history. The Big 3 orchestras pushed other orchestras to push the limits of creativity. They motivated orchestras such as the Eddie Palmieri Orchestra, an important and virtuous pianist, which was important for the construction of what we would know in the 70s as salsa. Although Afro-Cuban rhythms existed long before palladium, this place was important to perfect and spread them. But the biggest contribution was the creation and introduction of different dance styles.</p>
<p>Dancers became an important part of the essence of the Palladium. In addition, the need for people to be able to dance motivated and experienced dancers to form careers as dance teachers. They began to build basic movements to facilitate their dissemination. Today we continue to interpret some of these movements in the “salsa on 2” style. Dance style and legacy that the Palladium has left us. Today it has been spread and is still under constant construction thanks to great masters such as Eddye Torres. As well known as the timpani king, Eddye has taught hundreds of dancers for over 40 decades. Among the most recognized interpreters of this style are Adolfo Indacochea, Eddye Torres Jr, and Wilton Beltre.</p>
</div>
</div>
<h3 class="center">If you have time, you should read more about this incredible place on <a id="tribute-link" href="https://salsadancefever.com/salsa-history-palladium-the-mambos-house/" target="_blank">this website.</a></h3>
</div>
<style>
/*ID Elements*/
#main {
display: flex;
justify-content: center;
align-items: center;
}
#title {
Background-color: #FFFCCC;
margin: -5px 20px 30px 20px;
padding: 0px;
border-radius: 20px;
}
#img-div {
displat: flex;
flex-direction: columns;
background: #ffffff;
margin: auto;
padding: auto;
border-radius: 10px;
}
#image {
display: block;
justify-content: end;
align-items: end;
max-width: 100%;
height: auto;
padding: 20px 30px 0px 30px;
margin: auto;
}
#img-caption {
text-align: center;
font-style: italic;
font-size: 16px;
padding: 0px 0px 10px 0px;
}
#tribute-info {
background-color: #FFFCCC;
padding: 10px 80px 10px 80px;
font-size: 18px;
font-family: arial;
}
#tribute-link {
}
/*Classes*/
.background {
background-color: #FFFCCC;
border-radius: 10px;
padding: 10px;
margin: 10px;
}
.main-title {
font-size: 50px;
font-family: arial;
text-align: center;
margin: 5px 10px 0px 10px;
}
.title-description {
text-align: center;
font-family: arial;
font-style: italic;
margin: 5px 10px 10px 10px;
padding: 0px 0px 10px 0px;
}
.center{
text-align: center;
font-size: 20px;
}
@media (max-width (600px)) {
#img-div {
max-width: 100%;
height: auto;
}
}
</style>
Also see: Tab Triggers