Pen Settings



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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <h1>Mad Libs</h1>


  background: linear-gradient(217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%),
              linear-gradient(127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%),
              linear-gradient(336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
  font-size: 2em;
  color: black;


                //OK actually read me please this time please, pretty please
//what is this project going to do:
//it will prompt the user with a question and allow the user to type in some text
//you will then store the users data as a variable like so...
//let soombody = prompt('sooombody once told me');
//in which the user would understandably respond with... Shrek
//and you can test your reply like...
//uncomment  lines 5 && 8 and give it a shot
//just remember to recomment the lines before you begin the project

//1: Use your knowledge of string concatenation to concatenate the top and bottom variables within a new variable called "madLib" to complete the excercise
  // The order the variables are concatenated in should alternate, starting with a Top variable, followed by a bottom variable, and so on
//2: Follow the syntax used to declare the top variables to create four new prompts that ask for a catchPhrase, adverb, noun, and adjective
//3: Create four new 'bottom' variables that, when concatenated to the new 'top' variables, create a new madlib  

//Top Variables
// ex: let promt = prompt('this is a prompt, add a question here'); 

// Bottom Variables
// ex:- add in the other parts of the sentence here 

//OK if you still have no clue what I am talking about it is ok its a bit weird.
//Example of top variable---
//let thisDude = prompt(name of your teacher?);
//Example of vottom variable---
//let thisDudeParagraphPart1 = thisDude + 'has no idea that I have no idea what is going on.';

//Write your code in beteen these fancy lines(I made these)


// "_____________! he said ________ as he jumped into his convertible
//   exclamation            adverb
//  ______ and drove off with his ___________ wife."
//   noun                          adjective