Welcome To Slater!

Slater Community Roundup - Documentation and JS Functions

Published about 1 month ago • 1 min read


Let’s do three things in this email:

  • Welcome new users
  • Provide you a sneak peak of Slater Documentation
  • Teach you some Javascript basics.

Welcome new users! 🥳


We’ve finished development on Slater Documentation and will be sharing it once we complete some improvements in other parts of

Slater Documentation lets you document your code with Slater AI. Slater Documentation should help you as the person who wrote the code but we’re adding it for two big, separate reason.

  • Slater Documentation is a gateway to the Community Library. We built a Community Library last year but the quality of the library was poor because the library metadata was inconsistent. Now, Slater AI will document your code and you can add an image.
  • Documentation is #knowcode for your clients. When you transfer your Slater project to a client, the client can understand how your code makes their website better.

JavaScript 101: Understanding Functions

Let’s demystify ‘Functions’ - a crucial aspect of JavaScript that even beginners can grasp with a little practice.

A JavaScript function is a block of code designed to perform a specific task. It’s a reusable piece of code that can be invoked (called) anywhere in your program, avoiding repetition and making your code more readable and manageable.

Here’s a simple example:

function greet(person) {
  console.log(`Hello, ${person}!`);

greet("Slater"); // Outputs: Hello, Slater user!

In this example, greet is the function name, the code inside the curly braces {} is the function body, and greet(); is how we invoke or call the function.

The first example is the OG function. Javascript now has additional types of functions. We won't get into the details in this email but you should know that there are several ways to write a Javascript function.

// This function is anonymous but assigned to a variable
const greet = function (person) {
  console.log(`Hello, ${person}!`);

// Arrow function
const multiply = (person) => {
  console.log(`Hello, ${person}!`);

Go to Slater and write your own function!

Until next time, happy coding.

- The Slater team

🙏 If Slater helps you create better websites, please support the team behind it.

113 Cherry St #92768, Seattle, WA 98104-2205
Unsubscribe · Preferences

Welcome To Slater!

Sign up for early access and weekly resources in your inbox

Slater resources, updates and community activity

Read more from Welcome To Slater!

This weekend, Slater experienced an outage. While we make every effort to ensure Slater's uninterrupted operation, occasional server issues may arise. But! The key takeaway from this weekend's incident is that the production scripts on your clients' websites remain unaffected even if a Slater outage occurs. Slater scripts are exceptionally resilient and you can trust Slater to provide Javascript functionality on your client websites. Our in-house Javascript and Surf guru, Witt, re-recorded a...

3 days ago • 2 min read

Before Slater, we at Edgar Allan used Codesandbox. It's a incredible tool. Full stop. We invested in building Slater because the Codesandbox solution was a hack and we didn't feel comfortable shipping our clients' websites with a Codesandbox script. This week Codesandbox updated their pricing and broke a lot of Webflow projects. :( If this is you, crack open Slater again. If this is someone you know, forward this email to them. Product Updates We're adding polish to the new UI--a lot of small...

16 days ago • 1 min read

Let's cover two topics in this email: Announcing the New Slater experience Javascript 101: Loading JavaScript and Understanding Document Ready Events New Slater We will be releasing a major update to Slater in the next few days. Paid users have been using the new Slater editor for the last month or so. Now, the rest of the app will get a similar UI refresh and all users will get access to this new experience. Along with the UI refresh, we will be releasing Documentation and an improved...

about 1 month ago • 2 min read
Share this post