From 97f55eaca304bca9c5d393568b0ac79eb6405315 Mon Sep 17 00:00:00 2001 From: alanb4rt Date: Tue, 7 Jan 2025 20:51:07 +0100 Subject: [PATCH] feat(html): add 'form and inputs' folder with 2 form snippets --- public/consolidated/html.json | 33 +++++++++ .../basic-form-with-nested-label.md | 63 +++++++++++++++++ snippets/html/form-and-inputs/basic-form.md | 68 +++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 snippets/html/form-and-inputs/basic-form-with-nested-label.md create mode 100644 snippets/html/form-and-inputs/basic-form.md diff --git a/public/consolidated/html.json b/public/consolidated/html.json index 1509d6d5..37bfe241 100644 --- a/public/consolidated/html.json +++ b/public/consolidated/html.json @@ -31,5 +31,38 @@ "code": "\n\n \n \n \n \n
header
\n
body/content
\n
footer
\n \n\n" } ] + }, + { + "name": "Form And Inputs", + "snippets": [ + { + "title": "Basic Form With Nested Label", + "description": "Basic form using nested label.", + "author": "alanb4rt", + "tags": [ + "form", + "input", + "html", + "css", + "flex" + ], + "contributors": [], + "code": "\n\n\n \n\n\n
\n

Form

\n
\n \n \n \n \n \n \n
\n
\n\n\n" + }, + { + "title": "Basic Form", + "description": "Basic form with fields for name, email, phone number, and a message.", + "author": "alanb4rt", + "tags": [ + "form", + "input", + "html", + "css", + "flex" + ], + "contributors": [], + "code": "\n\n\n \n\n\n
\n

Form

\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n \n
\n
\n\n\n" + } + ] } ] \ No newline at end of file diff --git a/snippets/html/form-and-inputs/basic-form-with-nested-label.md b/snippets/html/form-and-inputs/basic-form-with-nested-label.md new file mode 100644 index 00000000..57592e69 --- /dev/null +++ b/snippets/html/form-and-inputs/basic-form-with-nested-label.md @@ -0,0 +1,63 @@ +--- +title: Basic Form With Nested Label +description: Basic form using nested label. +author: alanb4rt +tags: form,input,html,css,flex +--- + +```html + + + + + + +
+

Form

+
+ + + + + + +
+
+ + +``` diff --git a/snippets/html/form-and-inputs/basic-form.md b/snippets/html/form-and-inputs/basic-form.md new file mode 100644 index 00000000..d97ea821 --- /dev/null +++ b/snippets/html/form-and-inputs/basic-form.md @@ -0,0 +1,68 @@ +--- +title: Basic Form +description: Basic form with fields for name, email, phone number, and a message. +author: alanb4rt +tags: form,input,html,css,flex +--- + +```html + + + + + + +
+

Form

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+ + +```