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

              
                  <!DOCTYPE html>
<html>
<head>
  <script src="https://cdn.rawgit.com/v21/tracery/master/tracery.js"></script>

  <title>The Real Love Memo V.2 </title>
  <meta charset="UTF-8">
  <link type="stylesheet" src="proj1.css">
  <style>
    body{
      
      background-color: lightblue;  
    }
    
    .main{
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      width: 100%;
    }
    .generator {
      overflow: auto;
      padding: 7px;
      border: 2px solid black;
    }
    .sentence {
      border: 2px solid black;
      flex-grow: 2;
      margin-left: 1rem;
      padding: 1rem;
    }
</style>
</head>

  <body style="background-color:powderblue;">
  </div>



   
    
  </div>
  
  <div style="background-color: yellow;" class="sentence"><p style="font-family:optima;font-size:10px;">
    
  <div id="output" style="font-family:optima;font-size:50px;">
  </div>
  
    <br>
    <br>
    <br>
   </p>
  </div>  
</div>  
  
<div class="intro"> <p style="font-family:optima;font-size:30px;margin-left:10%; margin-right:10%;">
  
   <br> 
  &#128150; Refresh the page to generate a critique. &#128150; 
 <br>
  
  <br>
    Anti-modeled after Jeff Bezo's <a href="http://appstorechronicle.com/amazo-love-memo-full-text">"Amazon.Love memo,"</a> a previously unpublished notice sent to the corporation's senior staff. The Love Memo was presented as a set of ideals that show that <a href="https://scashwin.medium.com/amazons-love-memo-39dc4118d533">"Amazon should be loved and not feared,</a>" it instead reads as list of arbitrary control measures. 
<T></T> <i>The Real Love Memo</i>'s sentence generator generate widely available critiques of white supremacy and monopoly power hard coded in technology companies such as Amazon. It highlights the relentless and contradictory desires of Amazon's empire - to be the very wor(l)d and its antithesis.
 
 <br> 

 
  </p>

  <div class="intro"> <p style="font-family:optima;font-size:20px;">
    The memo was released in the book, <i>The Everything Store: Jeff Bezos and the Age of Amazon</i>, by Brad Stone in 2013.
 
  </p>
  </div>
</body>
</html>
  
              
            
!

CSS

              
                
              
            
!

JS

              
                var grammarSource = {
  "origin": "#greeting# #noun##punctuation# Did you know that #didyouknow.capitalize# #profession#",
  "noun": ["worker", "labourer", "union member", "exploited one", "gig-worker"], 
  "greeting": ["Hello friend and", "Assalam-o-Alikum", "What's up", "Hey"],
  "didyouknow": ["<a href='https://theintercept.com/2021/02/10/amazon-alabama-union-busting-koch/'>Amazon hired Koch-backed anti-union consultant to fight Alabama warehouse organizing</a>?","Amazon is a monopoly?", "<a href='https://zora.medium.com/amazons-surveillance-system-is-a-global-risk-to-people-of-color-a5030a19d5e1'>Amazon’s surveillance system is a global risk to people of color</a>?","<a href='https://www.technologyreview.com/2018/10/22/139639/amazon-is-the-invisible-backbone-behind-ices-immigration-crackdown/'>Amazon is the invisible backbone of ICE’s immigration crackdown</a>?", "<a href='https://slate.com/news-and-politics/2021/02/amazon-ftc-pay-flex-drivers-stolen-tips.html'>Amazon will pay $61.7 Million for stealing flex drivers’ tips</a>?", "<a href='https://statuscoup.substack.com/p/amazonantiunion'>Amazon is bombarding NY workers with anti-union messages</a>?" ],
  "punctuation": ["!", "...", "!!!", " -"],
  "profession": [  "Have you tried <a href='https://socialjusticebooks.org/about/why-boycott-amazon/'>boycotting Amazon?</a>","Support <a href='http://www.awoodcenter.org/'>Awood Center</a>, a community organization whose mission is to build economic and political power amongst workers in the East African community of Minnesota and organizes warehouse workers there.", "Check out <a href='https://hibaali.info/projects/abra'>Abra</a>, a video project about race, labour and surveillance as it exists within Amazon.","Support the Center for Community Action and Environmental Justice by exploring the <a href='https://storymaps.arcgis.com/stories/5d2ba8cbcd1d412897549b9d5d13e548'>#Billions Off Our Backs Campaign.</a", "Explore the <a href='https://hibaali.info/projects/amazonification-reading-list'>Amazonification reading list.</a>", "Learn more about how to <a href='https://www.banfacialrecognition.com/'>ban facial recognition</a>.", "<br><br><img src='https://hibaali.info/user/pages/02.Projects/amazonification-reading-list/concept-imgSubtle.jpg' width=800 height=450>", " Learn more below: <br><br><iframe width='550' height='500' src='https://www.youtube.com/embed/zDeXXQZsups' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>", " Watch the video: <br><br><iframe width='750' height='500' src='https://www.youtube.com/embed/fVcAo7mSqpM' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>", " Learn more below: <br><br><iframe width='550' height='500' src='https://www.youtube.com/embed/zDeXXQZsups' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>", " Watch the video: <br><br><iframe width='750' height='500' src='https://www.youtube.com/embed/ciUIssh9CkQ' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>", "Abolish Amazon now.", "Listen to Dr. Tamara Nopper's interview where they imagine a world <a href='https://anchor.fm/critlitconsumption/episodes/Beyond-Carceral-Imaginaries-and-Logics-e11g2du'>Beyond Carceral Imaginaries and Logics.</a>", "Read about the facets of the corporation, including automation, surveillance, tech work, workers' struggles, algorithmic challenges, the disruption of local democracy in the book, <a href='https://www.plutobooks.com/9780745341484/the-cost-of-free-shipping/'> The Cost of Free Shipping, edited by Jake Alimahomed-Wilson and Ellen Reese.</a>", "Abolish Amazon now.","<br><br><img src='https://hibaali.info/user/pages/02.Projects/amazonification-reading-list/concept-imgSubtle.jpg' width=800 height=450>", "<br><br><img src='https://hibaali.info/user/pages/02.Projects/amazonification-reading-list/concept-imgSubtle.jpg' width=600 height=450>", "Let's <a href='https://makeamazonpay.com/'>#Make Amazon Pay.</a>"],
  
};

var grammar = tracery.createGrammar(grammarSource);

grammar.addModifiers(tracery.baseEngModifiers);

var output = grammar.flatten("#origin#");

document.getElementById("output").innerHTML = output;
              
            
!
999px

Console