futrjs

A lightweight js that makes Elements for you


doc

Futr JS Documentation

What is Futr JS?

Futr JS is a lightweight JavaScript library that makes your htmlEl as types like Typescript that make it easier to dynamically add, modify, and style elements within your web pages.

Futr JS: Type-Like Element Creation, Effortlessly

Get Started:

1. Import:

 <script src="https://actwu.github.io/futrjs/f.js"></script>

2. Unleash Creativity:

   // Craft a paragraph with attitude
   el({ name: "p", val: "Greetings, earthlings!", clas: "bold-text" });

⚡ Core Functions:

Mastering Element Generation:

Class-y Moves:

Attribute Aficionado:

Identity Mastery:

** Additional Delights:**

✨ Examples That Shine:

// Craft an attention-grabbing button


const myElement = el({
name: "p",
par: "body",
val: "title",
clas: "x",
did: "x",
at: "x",});

Stay Tuned:

More exciting features are on the horizon! Share your feedback to shape the future of Futr JS.

Credit Where Credit Is Due: Created by ACTWU with passion for a simpler, more elegant approach to element manipulation.