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

              
                <!-- 

Hello Camper!

Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->

<!DOCTYPE html>
<HTML>

  <Header>
<h1 id="title"> Good Burger Menu</h1> 
  </Header>
  
  <body>
  
<p id="description"> Welcome to Good Burger, Home of the Good Burger! Can i take your order?</p>

<form id="survey-form">
  
  <label for="name" id="name-label"> Name</label>
  <input id="name" type="text" name="name" placeholder="e.g. Seth Rogen" required> </input>
<br>
  
<label for="email" id="email-label">Email</label>
<input id="email" type="email" name="email" placeholder="e.g. JohnDoe@email.com" required> </input>
<br>

<label for="number" id="number-label">Age</label>
<input id="number" type="number" name="number" placeholder="e.g. 45" min="18" max="100" required> </input>
<br>

<label for="dropdown" id="meal"> Select Meal</label>
  <select id="dropdown">
    <option value="meal 1"> Good Burger, Fries & Drink</option>
    <option value="meal 2">  The Goodie Kids Meal</option>
    <option value="meal 3">  Good Burger, Fries & Our Special Good
      Shake</option>
    <option value="meal 4"> The Good Dersert: Ice Cream with a side of Frenh Fries to give a sweet and salty taste</option>
</select>
<br>
<br>


  

  


<label for="Small"> <b> Add Features:</b> </label
  <br>
  <input id="checkbox" type="checkbox" name="features" value="autopilot">
  <label for="checkbox"> Small </label>
  


  <input id="large" type="checkbox" name="features" value="autopilot">
  <label for="checkbox"> Medium </label>
  
    <input id="large" type="checkbox" name="features" value="autopilot">
  <label for="checkbox"> Large </label>
  
    <input id="large" type="radio" name="features" value="autopilot">
  <label for="checkbox"> Extra Large </label>
  
  
    <input id="large" type="radio" name="features" value="autopilot">
  <label for="checkbox"> Really large </label>
  
  
  <br>
  <br>
  <label id="textarea"> Addtional Comments</label>
  <br>
  <textarea id="textarea" name="instructions" rows="5" Column="80">
  </textarea>
  <br>
  
  <input id="submit" type="submit" value="Place Order">
  

  
 
  
</form>
</body>
</HTML>



              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

body {
  
  font-family: 'open sans';
  line-height: 1.4;
  background-color:  #ADD8E6;
  width: 500px;
  margin: auto;
}



form {
  background: rgb(147 ,5 ,5,0.2);
  padding: 2.5rcm 2.5rcm;
  border-radius; 2rcm;
  width: 500px;
  margin: auto;
}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console