<?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: Emon Hosen</title>
    <description>The latest articles on DEV Community by Emon Hosen (@emon_hosen_376f3bcb3a8a54).</description>
    <link>https://dev.to/emon_hosen_376f3bcb3a8a54</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%2F3543682%2F9e1f8252-b6f3-407c-abcf-821efeb152ab.png</url>
      <title>DEV Community: Emon Hosen</title>
      <link>https://dev.to/emon_hosen_376f3bcb3a8a54</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emon_hosen_376f3bcb3a8a54"/>
    <language>en</language>
    <item>
      <title>Credit Card Payment Form</title>
      <dc:creator>Emon Hosen</dc:creator>
      <pubDate>Tue, 06 Jan 2026 10:58:13 +0000</pubDate>
      <link>https://dev.to/emon_hosen_376f3bcb3a8a54/credit-card-payment-form-2f8g</link>
      <guid>https://dev.to/emon_hosen_376f3bcb3a8a54/credit-card-payment-form-2f8g</guid>
      <description>&lt;p&gt;&lt;a href="https://codepen.io/Emon-Hosen-the-flexboxer/pen/Wbropme" rel="noopener noreferrer"&gt;&lt;/a&gt;Wanted to work with some masking so made a payment form so, using vanilla JS and the imask.js library, made a fairly simply payment form that uses regex patterns to detect the credit card type as the user is inputting values and properly applies the relevant spacing associated with that brand.  Also wanted to do a smidge of style flair so made a simple SVG card that changes as the user fills out the form.&lt;/p&gt;

&lt;p&gt;

&lt;iframe height="600" src="https://codepen.io/Emon-Hosen-the-flexboxer/embed/Wbropme?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;


&lt;a href="https://codepen.io/Emon-Hosen-the-flexboxer/pen/Wbropme" rel="noopener noreferrer"&gt;https://codepen.io/Emon-Hosen-the-flexboxer/pen/Wbropme&lt;/a&gt;&lt;/p&gt;

</description>
      <category>codepen</category>
    </item>
  </channel>
</rss>
