Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <h1><i>Star Trek: Lower Decks</i> cast and characters</h1>
<p><a href="#mariner" onclick="document.querySelector(this.getAttribute('href')).open = true">Tawny Newsome</a>, <a href="#boimler" onclick="document.querySelector(this.getAttribute('href')).open = true">Jack Quaid</a>, <a href="#tendi" onclick="document.querySelector(this.getAttribute('href')).open = true">Noël Wells</a>, and <a href="#rutherford" onclick="document.querySelector(this.getAttribute('href')).open = true">Eugene Cordero</a> voice the lower decks crew members of the <i><a href="#cerritos">Cerritos</a></i>, with <a href="#freeman" onclick="document.querySelector(this.getAttribute('href')).open = true">Dawnn Lewis</a>, <a href="#ransom" onclick="document.querySelector(this.getAttribute('href')).open = true">Jerry O’Connell</a>, <a href="#shaxs" onclick="document.querySelector(this.getAttribute('href')).open = true">Fred Tatasciore</a>, and <a href="#tana" onclick="document.querySelector(this.getAttribute('href')).open = true">Gillian Vigman</a> providing voices for the ship’s senior officers.</p>
<section>
	<h2>Lower deckers</h2>
	<details id="mariner">
		<summary>Tawny Newsome as Beckett Mariner</summary>
		<p>A human ensign aboard the USS <i>Cerritos</i> and the daughter of Captain Freeman. Newsome described Mariner as an irreverent rule-breaker who has been demoted several times, though she is actually “very good at all things Starfleet”. She is promoted to lieutenant (junior grade) in the fourth season.</p>
	</details>
	<details id="boimler">
		<summary>Jack Quaid as Brad Boimler</summary>
		<p>A human ensign aboard the <i>Cerritos</i>, Boimler is a stickler for the rules and will need to learn how to improvise if he is to become a captain one day. He is promoted to lieutenant (junior grade) in the fourth season. Quaid said the character would “nail the written portion of the driving test with flying colors but once it actually got to him being in the car, it would be a complete and total disaster.”</p>
	</details>
	<details id="tendi">
		<summary>Noël Wells as D’Vana Tendi</summary>
		<p>An Orion ensign in the medical bay aboard the <i>Cerritos</i>, Tendi is a big fan of Starfleet, and is thrilled to be on a starship. She is new to the <i>Cerritos</i> at the start of the series, and helps introduce the audience to the setting and characters. McMahan said he would act like Tendi if he ever got to work on a starship. She is promoted to lieutenant (junior grade) in the fourth season.</p>
	</details>
	<details id="rutherford">
		<summary>Eugene Cordero as Sam Rutherford</summary>
		<p>A human ensign aboard the <i>Cerritos</i>, Rutherford is adjusting to a new cyborg implant. McMahan compared Rutherford to the <i>Star Trek: The Next Generation</i> character Geordi La Forge, saying they are both “amazing at engineering stuff” but Rutherford does not always solve the problem like Geordi because he is still learning. He is promoted to lieutenant (junior grade) in the fourth season.</p>
	</details>
</section>
<section>
	<h2>Upper deckers</h2>
	<details name="upper-deckers" id="freeman">
		<summary>Dawnn Lewis as Carol Freeman</summary>
		<p>The human captain of the <i>Cerritos</i> and Mariner’s mother. McMahan described her as a capable Starfleet captain whose starship is not very important. Freeman does not want Mariner to be on the Cerritos and is looking for a reason to have her transferred to another ship.</p>
	</details>
	<details name="upper-deckers" id="ransom">
		<summary>Jerry O’Connell as Jack Ransom</summary>
		<p>The human first officer of the <i>Cerritos</i> whom McMahan compared to <i>Next Generation</i>’s William Riker, if he was on speed and had less shame.</p>
	</details>
	<details name="upper-deckers" id="shaxs">
		<summary>Fred Tatasciore as Shaxs</summary>
		<p>A Bajoran tactical officer aboard the <i>Cerritos</i>. At the end of the first season, Shaxs dies sacrificing himself for Rutherford but returns in the second season in a storyline that plays on the numerous times and ways that characters have been resurrected in previous <i>Star Trek series</i>.</p>
	</details>
	<details name="upper-deckers" id="tana">
		<summary>Gillian Vigman as T’Ana</summary>
		<p>A Caitian doctor and head of medical aboard the <i>Cerritos</i>. McMahan described her as a “good doctor, but she’s an unpleasant cat”. Including a Caitian in the series is a reference to <i>Star Trek: The Animated Series</i> which also features a member of that species, M’Ress.</p>
	</details>
</section>
              
            
!

CSS

              
                body {
	font: 1em/1.4 Lato, sans-serif;
	margin: 0 2em;
}

h1 {
	font-size: 1.5em;
	line-height: 1.1;
	margin-block: 1em 0;
}

h2 {
	font-size: 1.3em;
	line-height: 1.1;
	margin-block: 1em 0.5em;
}

p {
	margin-block: 0.25em 0.5em;
	padding-bottom: 0.25em;
	max-width: 48ch;
	
	details:not(:last-of-type) & {
		border-bottom: thin solid silver;
	}
}

i a {
	color: red;
}
              
            
!

JS

              
                
              
            
!
999px

Console