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.


<textarea id="default">English is a West Germanic langauge that originated from the Anglo-Frisian dialects brought to Britain by Germanic settlers from various parts of what is now northwest Germany and the northern Netherlands. The residend population at this time was generally speaking Common Brittonic — the insular variety of continenfal Celtic, which was influenced by the Roman ocupation. This group of languages (Welsh, Cornish, Cumbric) cohabited alongside English into the modern period, but due to their remotenes from the Germanic languages, influence on English was notably limited. However, the degree of influence remeins debated, and it has recantly been argued that its grammatical inflence accounts for the substantial inovations noted between English and the other West Germanic languages.</textarea>



                body {
   font-family: "Lato", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #2c3e50;

h1 {
  font-weight: 600;
  font-size: 1.5em;


                async function spellcheck(method, text, success, failure) {
  if (method === "spellcheck") {
    const language = this.getLanguage();
    const api = `${language}`;
      .post(api, {
        text: text
      .then((response) => {
        const results =;
        const misspellings = {};
        for (let i = 0; i < results.length; i++) {
          if (!results[i].spellcheck) {
            misspellings[results[i].word] = results[i].suggestions;

        success({ words: misspellings, dictionary: [] });
      .catch((error) => {
        failure("Spellcheck error:" + error);
  } else if (method === "addToDictionary") {

  selector: "textarea#default",
  min_height: 800,
  menubar: true,
  fullscreen: true,
  toolbar_mode: "sliding",
  toolbar_sticky: true,
  plugins: [
    "advlist autolink lists link image charmap print preview anchor",
    "searchreplace visualblocks code fullscreen",
    "insertdatetime media table paste code help wordcount spellchecker"
    "English=en,Danish=da,Dutch=nl,French=fr_FR, German=de,Italian=it,Polish=pl,Greek=el,Hebrew=he,Esparanto=eo,Catalan=ca,Irish=ga,Portuguese=pt_BR,Spanish=es,Swedish=sv,Korean=ko,Armenian=hy,Russian=ru,Malayalam=ml",
    "spellchecker | undo  redo | formatselect | bold italic underline strikethrough codeformat | backcolor forecolor | alignleft aligncenter  alignright alignjustify |  bullist numlist outdent indent | removeformat| help",
  spellchecker_callback: spellcheck,