Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource


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


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.


Auto Save

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.


                <div class="col gran">
	<div class="vl c15">DIV CLASS 15_</div>
	<div class="pk c16">DIV CLASS 16_</div>
	<div class="vr c17">DIV CLASS 17_</div>
	<div class="etab">
		<div class="nom c4">DIV CLASS 4_</div>
		<div class="nom c4">DIV CLASS 4_</div>
	<div class="hora c20">DIV CLASS 20_</div>
  <div class="hora c21">DIV CLASS 21_</div>
  <div class="ret"></div>
  <a href="#info3" class="tinf"></a>

<div class="col gran">
	<div class="vl c8">DIV CLASS 8_</div>
	<div class="pk c9">DIV CLASS 9_</div>
	<div class="vr c10">DIV CLASS 10_</div>
	<div class="etab">
		<div class="nom c11">DIV CLASS 11_</div>
		<div class="nom c12">DIV CLASS 12_</div>
	<div class="hora c13">DIV CLASS 13_</div>
  <div class="hora c14">DIV CLASS 14_</div>
  <div class="ret"></div>
  <a href="#info2" class="tinf"></a>

<div class="col gran">
	<div class="vl c1">DIV CLASS 1_</div>
	<div class="pk c2">DIV CLASS 2_</div>
	<div class="vr c3">DIV CLASS 3_</div>
	<div class="etab">
		<div class="nom c4">DIV CLASS 4_</div>
		<div class="nom c5">DIV CLASS 5_</div>
	<div class="hora c6">DIV CLASS 6_</div>
  <div class="hora c7">DIV CLASS 7_</div>
  <div class="ret"></div>
  <a href="#info1" class="tinf"></a>







                document.addEventListener('DOMContentLoaded', function () {

	const dataList = [
		[ "c1", "TEXTE 1" ],/* VL */
		[ "c2", "TEXTE 2" ],/* PK */
		[ "c3", "TEXTE 3" ],/* VREF */
		[ "c4", "TEXTE 4" ],/* GARE */
		[ "c5", "TEXTE 5" ],/* INFO */
		[ "c6", "TEXTE 6" ],/* HEURE */
		[ "c7", "TEXTE 7" ],/* HEURE */

		[ "c8", "TEXTE 8" ],/* VL */
		[ "c9", "TEXTE 9" ],/* PK */
		[ "c10", "TEXTE 10" ],/* VREF */
		[ "c11", "TEXTE 11" ],/* GARE */
		[ "c12", "TEXTE 12" ],/* INFO */
		[ "c13", "TEXTE 13" ],/* HEURE */
		[ "c14", "TEXTE 14" ],/* HEURE */

		[ "c15", "TEXTE 15" ],/* VL */
		[ "c16", "TEXTE 16" ],/* PK */
		[ "c17", "TEXTE 17" ],/* GARE */
		[ "c19", "TEXTE 18" ],/* INFO */
		[ "c20", "TEXTE 20" ],/* HEURE */
		[ "c21", "TEXTE 21" ]/* HEURE */


				for ( let i = 0; i < dataList.length; i++ ) {
					const divList = document.getElementsByClassName(dataList[i][0]);
					for ( let j = 0; j < divList.length; j++ ) divList[j].innerText += dataList[i][1];