diff --git a/README.md b/README.md index ab02b3c..72be222 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ All assume that `$d` is the default function from `fluent-dom-esm` (`import $d f ### Create a Paragraph ``` -$(document.body).app($d +$d(document.body).app($d .c("p") .s("background-color", "yellow") .s("color", "black") @@ -99,7 +99,7 @@ const $ul = $d ); }); -$(document.body).app($ul); +$d(document.body).app($ul); ``` renders (with added spaces) as @@ -114,6 +114,32 @@ renders (with added spaces) as
+