cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Nigerian Prince Ipsum

A Pen By Captain Anonymous

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <h1>Nigerian Prince Ipsum Generator</h1>
  <input type="number" value="2" id="p"/>
  <input type="number" value="2" id="l"/>
<button onclick="createIpsum();">
  Create Nigerian Prince Ipsum
<div id="output"></div>
              body {
  width: 87%;
  margin: auto;
  text-align: center;
  font-family: 'Oswald';
  background-color: #232323;
h1 {
  color: #5A8F90;
  font-size: 4vw;
label {
  font-size: 2vw;
  color: #2FE6DD;
input {
  margin-right: 2vw;
  position: relative;
  bottom: 7px;
  height: 18px;
  width: 40px;
button {
  position: relative;
  bottom: 7px;
div {
  text-align: left;
  margin: 2vw 20vw;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  border-radius: 3px;
  padding: 2px 10px;
              /* Ipsum from: 
And my brother
function createIpsum(){
  var phrases=[
    "Life changing opprotunity if you please!",
    "I have a once in a life time investment opprotunity. ",
    "For the making of many of millions of currency. ",
    "Much appreciation to you such a mind boggling aggregate for setting aside the ideal open entryway for you after a short time to share such a brilliant information. ",
    "I genuinely support to investigating your post. ",
    "A commitment of thankfulness is all together to share about the tips for developing activity to the site. ",
    "I comparatively mindful of it post some more suggestion. ",
    "I welcome your work post more data. ",
    "first, i must solicit your strictest confidence in this transaction. ",
    "this is by virtue of its nature as being utterly confidential and 'top secret'. ",
    "i am sure and have confidence of your ability and reliability to prosecute a transaction of this great magnitude involving a pending transaction requiring maxiimum confidence. ",
    "we are top official of the federal government contract review panel who are interested in imporation of goods into our country with funds which are presently trapped in nigeria. ",
    "in order to commence this business we solicit your assistance to enable us transfer into your account the said trapped funds. ",
    "the source of this fund is as follows; ",
    "during the last military regime here in nigeria, the government officials set up companies and awarded themselves contracts which were grossly over-invoiced in various ministries. ",
    "the present civilian government set up a contract review panel and we have identified a lot of inflated contract funds which are presently floating in the central bank of nigeria ready for payment. ",
    "however, by virtue of our position as civil servants and members of this panel, we cannot acquire this money in our names. ",
    "i have therefore, been delegated as a matter of trust by my colleagues of the panel to look for an overseas partner into whose account we would transfer the sum of us$21,320,000.00(twenty one million, three hundred and twenty thousand u.s dollars). ",
    "hence we are writing you this letter. ",
    "we have agreed to share the money thus; ",
    "1. 20% for the account owner 2. 70% for us (the officials) 3. 10% to be used in settling taxation and all local and foreign expenses. ",
    "it is from the 70% that we wish to commence the importation business. ",
    "please,note that this transaction is 100% safe and we hope to commence the transfer latest seven (7) banking days from the date of the receipt of the following informatiom by tel/fax; 234-1-7740449, your company's signed, and stamped letterhead paper the above information will enable us write letters of claim and job description respectively. ",
    "this way we will use your company's name to apply for payment and re-award the contract in your company's name. ",
    "we are looking forward to doing this business with you and solicit your confidentiality in this transation. ",
    "please acknowledge the receipt of this letter using the above tel/fax numbers. ",
    "i will send you detailed information of this pending project when i have heard from you. "
  var p = document.getElementById('p').value;
  var l = document.getElementById('l').value;
  var output = document.getElementById('output');
  output.innerHTML = "";
  var node = "";
  for (var i = 0; i < p; i++) {
    var paragraph = document.createElement("p");
    var text = "";
    for (var j = 0; j < l; j++) {
      text += phrases[Math.floor(Math.random() * phrases.length )];
      node = document.createTextNode(text)
Loading ..................