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.


                Lemon Drizzle Cake Recipe

About the Recipe:
Preparation Time: 15 mins
Cooking Time: 45 mins
Level of difficulty: Easy
Number of servings: 6

225g unsalted butter
180g caster sugar
4 eggs
225g self-raising flour
1 lemon, zested
2 lemons, juiced
65g caster sugar

Recipe for the cake:
Pre-heat the oven to 180°C.
Beat together the butter and caster sugar until creamy, then add the eggs, one at a time, slowly mixing through.
Sift in the self-raising flour, then add the lemon zest and mix until well combined.
Line a loaf tin (8 x 21cm) with greaseproof paper, then pour in the mixture and level the top with a spoon.
Bake for 45 to 50 minutes.

Recipe for the lemon drizzle:
Mix the lemon juice and caster sugar to make the drizzle.
Prick the cake all over with a fork, then pour over the drizzle – Let the juice sink in. The sugar will form a sweet, crisp topping.
Leave the cake in the tin until completely cool before serving.

Finding more recipes online:
You will more recipes on the BBC Good Food website: