<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Geoff</title>
    <description>The latest articles on DEV Community by Geoff (@irishgeoff10).</description>
    <link>https://dev.to/irishgeoff10</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1027411%2F8d9d8d67-6a22-4315-8bec-43810429bf26.jpeg</url>
      <title>DEV Community: Geoff</title>
      <link>https://dev.to/irishgeoff10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/irishgeoff10"/>
    <language>en</language>
    <item>
      <title>Markdown Cheatsheet</title>
      <dc:creator>Geoff</dc:creator>
      <pubDate>Thu, 16 Feb 2023 18:16:42 +0000</pubDate>
      <link>https://dev.to/irishgeoff10/markdown-cheatsheet-pgd</link>
      <guid>https://dev.to/irishgeoff10/markdown-cheatsheet-pgd</guid>
      <description>&lt;p&gt;A large collection of code samples which have been tested against GitHub's markdown parser... so you don't have to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code Examples with Preview
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Block Elements
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;tr&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;Preview&lt;/td&gt;
&lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Paragraph&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;This is a paragraph.&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;This is a paragraph.&lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Headers (Sextext-style)&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;Header 1
========

Header 2
--------&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;h1&gt;Header 1&lt;/h1&gt;
      &lt;h2&gt;Header 2&lt;/h2&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Headers (Atx-style)&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;h1&gt;Header 1&lt;/h1&gt;
      &lt;h2&gt;Header 2&lt;/h2&gt;
      &lt;h3&gt;Header 3&lt;/h3&gt;
      &lt;h4&gt;Header 4&lt;/h4&gt;
      &lt;h5&gt;Header 5&lt;/h5&gt;
      &lt;h6&gt;Header 6&lt;/h6&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Headers (Atx-style closed)&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;# Header 1 #
## Header 2 ##
### Header 3 ###
#### Header 4 ####
##### Header 5 #####
###### Header 6 #####&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;h1&gt;Header 1&lt;/h1&gt;
      &lt;h2&gt;Header 2&lt;/h2&gt;
      &lt;h3&gt;Header 3&lt;/h3&gt;
      &lt;h4&gt;Header 4&lt;/h4&gt;
      &lt;h5&gt;Header 5&lt;/h5&gt;
      &lt;h6&gt;Header 6&lt;/h6&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Blockquote&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;&amp;gt; Lorem ipsum dolor sit amet [...]&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;blockquote&gt;
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
        Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
        viverra nec, fringilla in, laoreet vitae, risus.
      &lt;/blockquote&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Blockquote with nested elements&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      
      &lt;pre&gt;&lt;code&gt;&amp;gt; ## This is a header.
&amp;gt; 1. This is the first list item.
&amp;gt; 2. This is the second list item.
&amp;gt;
&amp;gt; Here's some example code:
&amp;gt;
&amp;gt;     Markdown.generate();&lt;/code&gt;&lt;/pre&gt;
      
    &lt;/td&gt;
    &lt;td&gt;
      &lt;blockquote&gt;
        &lt;h2&gt;This is a header.&lt;/h2&gt;
          &lt;ol&gt;
            &lt;li&gt;This is the first list item.&lt;/li&gt;
            &lt;li&gt;This is the second list item.&lt;/li&gt;
          &lt;/ol&gt;
          &lt;p&gt;Here's some example code:&lt;/p&gt;
          &lt;pre&gt;&lt;code&gt;Markdown.generate();&lt;/code&gt;&lt;/pre&gt;
      &lt;/blockquote&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;List&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;table&gt;&lt;tr&gt;
&lt;td&gt;
&lt;pre&gt;&lt;code&gt;- Red
- Green
- Blue&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;pre&gt;&lt;code&gt;+ Red
+ Green
+ Blue&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;pre&gt;&lt;code&gt;* Red
* Green
* Blue&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;ul&gt;
        &lt;li&gt;Red&lt;/li&gt;
        &lt;li&gt;Green&lt;/li&gt;
        &lt;li&gt;Blue&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Ordered List&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;1. Buy flour and salt
1. Mix together with water
1. Bake&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;ol&gt;
        &lt;li&gt;Buy flour and salt&lt;/li&gt;
        &lt;li&gt;Mix together with water&lt;/li&gt;
        &lt;li&gt;Bake&lt;/li&gt;
      &lt;/ol&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Code Block&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;Normal paragraph.
    Code&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;p&gt;Normal paragraph.&lt;/p&gt;
      &lt;pre&gt;&lt;code&gt;Code&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Horizontal Rules&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
&lt;pre&gt;&lt;code&gt;* * *

***

*****

- - -

---------------------------------------&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      
      
      
      
      
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Inline Elements
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;tr&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;Preview&lt;/td&gt;
&lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Links&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;This is [an example](http://example.com "Example") link.

[This link](http://example.com) has no title attr.

This is [an example] [id] reference-style link.

[id]: http://example.com "Optional Title"&lt;/code&gt;&lt;/pre&gt;
    &lt;/td&gt;
    &lt;td&gt;
      &lt;p&gt;This is &lt;a href="http://example.com" title="Example"&gt;an example&lt;/a&gt; link.&lt;/p&gt;
      &lt;p&gt;&lt;a href="http://example.com"&gt;This link&lt;/a&gt; has no title attr.&lt;/p&gt;
      &lt;p&gt;This is &lt;a href="http://example.com" title="Optional Title"&gt;an example&lt;/a&gt; reference-style link.&lt;/p&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Emphasis&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;*single asterisks*

_single underscores_

**double asterisks**

__double underscores__&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
    &lt;td&gt;
      &lt;p&gt;&lt;em&gt;single asterisks&lt;/em&gt;&lt;/p&gt;
      &lt;p&gt;&lt;em&gt;single underscores&lt;/em&gt;&lt;/p&gt;
      &lt;p&gt;&lt;strong&gt;double asterisks&lt;/strong&gt;&lt;/p&gt;
      &lt;p&gt;&lt;strong&gt;double underscores&lt;/strong&gt;&lt;/p&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Code&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;This paragraph has some `code` in it.&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
    &lt;td&gt;
      &lt;p&gt;This paragraph has some &lt;code&gt;code&lt;/code&gt; in it.&lt;/p&gt;
    &lt;/td&gt;
  &lt;/tr&gt;

  
  &lt;tr&gt;
    &lt;td colspan="2"&gt;Image&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;pre&gt;&lt;code&gt;![Alt Text](https://get.svg.workers.dev/?s=64&amp;amp;f=gray "Image Title")&lt;/code&gt;&lt;/pre&gt;
&lt;/td&gt;
    &lt;td&gt;
      &lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DToYqb6h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://get.svg.workers.dev/%3Fs%3D64%26f%3Dgray" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DToYqb6h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://get.svg.workers.dev/%3Fs%3D64%26f%3Dgray" title="Image Title" alt="Alt Text" width="64" height="64"&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;if you want to add &lt;a href="https://fabform.io/a/create-a-static-website-with-contact-form-on-github-pages"&gt;static website forms&lt;/a&gt;&lt;br&gt;
to your website I recommend you look at &lt;a href="https://fabform.io"&gt;https://fabform.io&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>static website forms</title>
      <dc:creator>Geoff</dc:creator>
      <pubDate>Thu, 16 Feb 2023 00:19:35 +0000</pubDate>
      <link>https://dev.to/irishgeoff10/static-website-forms-1ih3</link>
      <guid>https://dev.to/irishgeoff10/static-website-forms-1ih3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xylb3yaotdxmm2blztu.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xylb3yaotdxmm2blztu.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are using a static website generator (SSG) like Hugo, Jekyll, eleventy or many of the others, to create static websites (only plain HTML, CSS, Javascript) you may we wondering how can you can create a contact form and collect all the form submissions if there is not website backend.&lt;/p&gt;

&lt;p&gt;This is were the use of a forms back-end comes into play.&lt;/p&gt;

&lt;p&gt;I will be showing you in this quick tutorial a very good &lt;a href="https://fabform.io" rel="noopener noreferrer"&gt;static website forms&lt;/a&gt; backed called Fabform.&lt;/p&gt;

&lt;p&gt;First create a free account at &lt;a href="https://fabform.io" rel="noopener noreferrer"&gt;https://fabform.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From there, click on Create Endpoint and give it any name you like.&lt;/p&gt;

&lt;p&gt;Make a note of the form_id for your newly created endpoint.&lt;/p&gt;

&lt;p&gt;In your website, you create your HTML contact form in the usual way.&lt;/p&gt;

&lt;p&gt;The only difference will be you point the forms action method to your newly created endpoint on fabform&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;form action="https://fabform.io/f/{form_id}" method="post"&amp;gt;
  &amp;lt;label for="email"&amp;gt;Your Email&amp;lt;/label&amp;gt;
  &amp;lt;input name="Email" id="email" type="email"&amp;gt;
  &amp;lt;button type="submit"&amp;gt;Submit&amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Voila! That's it folks. You have a fully working static website contact form that will collect all your contact form submissions.&lt;/p&gt;

</description>
      <category>security</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
