<?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: Beey</title>
    <description>The latest articles on DEV Community by Beey (@beey12345).</description>
    <link>https://dev.to/beey12345</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%2F3755732%2F98ff3cb9-0ccc-43c5-bae8-e0870d098b73.png</url>
      <title>DEV Community: Beey</title>
      <link>https://dev.to/beey12345</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/beey12345"/>
    <language>en</language>
    <item>
      <title>Nonary: binary's long lost twin that nobody talks about</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Sun, 12 Apr 2026 01:06:28 +0000</pubDate>
      <link>https://dev.to/beey12345/nonary-binarys-long-lost-twin-that-nobody-talks-about-3igi</link>
      <guid>https://dev.to/beey12345/nonary-binarys-long-lost-twin-that-nobody-talks-about-3igi</guid>
      <description>&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;what is nonary?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  what is nonary?
&lt;/h2&gt;

&lt;p&gt;Nonary(base-9) is used for compact representation of ternary(base-3) data&lt;/p&gt;

&lt;p&gt;It supports numbers 0-8&lt;/p&gt;

&lt;p&gt;when you hit 9 you have to represent it by using &lt;code&gt;10&lt;/code&gt; in nonary 10 is not 10 10 is 9&lt;/p&gt;

&lt;p&gt;Because 9 does not exist in base-9 when you type 10 it will do some complex math internaly &lt;/p&gt;

&lt;p&gt;base-9 may be confusing to learn because of how you write numbers that are 9 and beyond&lt;/p&gt;

</description>
      <category>nonary</category>
      <category>programming</category>
      <category>lowlevel</category>
    </item>
    <item>
      <title>How to use surge to deploy a website</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Thu, 02 Apr 2026 17:41:05 +0000</pubDate>
      <link>https://dev.to/beey12345/how-to-use-surge-to-deploy-a-website-81g</link>
      <guid>https://dev.to/beey12345/how-to-use-surge-to-deploy-a-website-81g</guid>
      <description>&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What is surge&lt;/li&gt;
&lt;li&gt;
Steps

&lt;ul&gt;
&lt;li&gt;Installing surge&lt;/li&gt;
&lt;li&gt;
Logging in/signing up to surge

&lt;ul&gt;
&lt;li&gt;Confirming you are logged in to surge&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Deploying with surge&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is surge
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Surge&lt;/strong&gt; is a free way to deploy websites if you dont want to deal with paying for a .com domain annually or doing a long sign-up&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps
&lt;/h2&gt;

&lt;p&gt;Here are the steps on how to deploy your website with surge:&lt;/p&gt;

&lt;h3&gt;
  
  
  Installing surge
&lt;/h3&gt;

&lt;p&gt;This is step 1&lt;/p&gt;

&lt;p&gt;If you want to install surge, open your terminal and write this command if you dont have surge installed already:  for NPM: &lt;code&gt;npm install -g surge&lt;/code&gt; for Yarn: &lt;code&gt;yarn global add surge&lt;/code&gt; for pnpm: &lt;code&gt;pnpm add -g surge&lt;/code&gt; for Brew: &lt;code&gt;brew install surge-cli&lt;/code&gt; for bun: &lt;code&gt;bun add -g surge&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: May request &lt;strong&gt;sudo&lt;/strong&gt;(super-user do) permissions on some devices&lt;/p&gt;

&lt;p&gt;You can move on to the next step once surge is in installed if not already&lt;/p&gt;

&lt;h3&gt;
  
  
  Logging in/signing up to surge
&lt;/h3&gt;

&lt;p&gt;This is step 2&lt;/p&gt;

&lt;p&gt;to log in to surge type in your terminal: &lt;code&gt;surge login&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It will request your &lt;strong&gt;email&lt;/strong&gt; address and password&lt;/p&gt;

&lt;p&gt;If you arent a registered account on surge it will create one after doing this&lt;/p&gt;

&lt;h4&gt;
  
  
  Confirming you are logged in to surge
&lt;/h4&gt;

&lt;p&gt;To confirm you are logged in to surge run this command in your terminal: &lt;code&gt;surge whoami&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If it returns your email address your logged in&lt;/p&gt;

&lt;p&gt;If it returns "You are not logged in." or something similair repeat step 2&lt;/p&gt;

&lt;h3&gt;
  
  
  Deploying with surge
&lt;/h3&gt;

&lt;p&gt;This is step 3(&lt;strong&gt;final&lt;/strong&gt; step)&lt;/p&gt;

&lt;p&gt;If your project is a vanilla JS or CSS or HTML project or all combined you can run in your terminal: &lt;code&gt;surge&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If your project is running React, Preact or another framework than you will have to minifie your code and make it readible for the internet to do this in your terminal type: for NPM: &lt;code&gt;npm run build&lt;/code&gt; for Yarn: &lt;code&gt;yarn build&lt;/code&gt; or &lt;code&gt;yarn run build&lt;/code&gt; for pnpm: &lt;code&gt;pnpm build&lt;/code&gt; or &lt;code&gt;pnpm run build&lt;/code&gt; for brew, you cant do this with brew for bun: &lt;code&gt;bun run build&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After running this you should have a folder called 'dist' or 'build'&lt;/p&gt;

&lt;p&gt;If it's called 'build' than type in your terminal: &lt;code&gt;surge build&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If it's called &lt;code&gt;dist&lt;/code&gt; than type in your terminal: &lt;code&gt;surge dist&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After doing that surge will ask you for thep project name it will start with a default one like "Cool-page.surge.sh" which you can edit to be whatever you want but it must be suffixed with .surge.sh unless you use surge to a .com domain you own or rented which is not stated about how to do in this article&lt;/p&gt;

&lt;p&gt;Once done your website will be live on the internet where search engines can index it and people an view your webpage&lt;/p&gt;

&lt;p&gt;If you decide to take it off the internet you will have to type in your terminal: &lt;code&gt;surge teardown [PROJECT-NAME]&lt;/code&gt; and than surge will send you an email about your taken down website&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: package.json can sometimes determine if npm run build is sucessful or not so check if it is using the strict &lt;code&gt;tsc &amp;amp;&amp;amp;&lt;/code&gt; or any other cause that can make npm run build &lt;strong&gt;fail&lt;/strong&gt; and not generate the dist folder&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: This terminal command &lt;code&gt;surge&lt;/code&gt; or &lt;code&gt;surge dist&lt;/code&gt; only works if you are logged in to surge if you are not logged in to surge refer to step 2&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>surge</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Luau the first coding language I learned: Type intersections for beginners</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Wed, 01 Apr 2026 16:47:49 +0000</pubDate>
      <link>https://dev.to/beey12345/luau-the-first-coding-language-i-learned-type-intersections-for-beginners-423j</link>
      <guid>https://dev.to/beey12345/luau-the-first-coding-language-i-learned-type-intersections-for-beginners-423j</guid>
      <description>&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Introduction&lt;/li&gt;
&lt;li&gt;What is a type intersection&lt;/li&gt;
&lt;li&gt;Explained like your 5&lt;/li&gt;
&lt;li&gt;Notes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;This is the first post in the &lt;strong&gt;luau&lt;/strong&gt; series explaining how to use a type intersection.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a type intersection
&lt;/h2&gt;

&lt;p&gt;A type intersection in luau is Luau's AND operator but for types, an example is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;
&lt;span class="kd"&gt;local&lt;/span&gt; &lt;span class="n"&gt;X&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;workspace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;WaitForChild&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"X"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;::&lt;/span&gt; &lt;span class="n"&gt;Part&lt;/span&gt; &lt;span class="err"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;BasePart&lt;/span&gt; &lt;span class="err"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;Instance&lt;/span&gt;

&lt;span class="kd"&gt;local&lt;/span&gt; &lt;span class="n"&gt;TypeAnnotation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Part&lt;/span&gt; &lt;span class="err"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;BasePart&lt;/span&gt; &lt;span class="err"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;Instance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;workspace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;WaitForChild&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"TypeAnnotation"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;-- Type annotation&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;You seperate the types and to use the type intersection between types use &amp;amp;&lt;/p&gt;

&lt;h2&gt;
  
  
  Explained like your 5
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;&lt;a href="https://docs.overdare.com/manual/script-manual/get-started/luau-guide" rel="noopener noreferrer"&gt;type intersection&lt;/a&gt;&lt;/strong&gt; is like when your mom asks you to get a type of book that has two genres: Action and Fiction, Thats basicaly what it is but in real life&lt;/p&gt;

&lt;h2&gt;
  
  
  Notes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: Const has been released in luau(roblox lua) for some developers but it lacks syntax highlighting and autocomplete&lt;/p&gt;

</description>
      <category>lua</category>
      <category>luau</category>
      <category>roblox</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Assembly 6502: Binary Digits</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Wed, 01 Apr 2026 16:14:16 +0000</pubDate>
      <link>https://dev.to/beey12345/assembly-6502-binary-digits-56g</link>
      <guid>https://dev.to/beey12345/assembly-6502-binary-digits-56g</guid>
      <description>&lt;h2&gt;
  
  
  What is a binary digit in assembly 6502
&lt;/h2&gt;

&lt;p&gt;A binary digit is a string of binary and binary code(if needed)&lt;/p&gt;

&lt;h2&gt;
  
  
  Some examples of why to use a binary digit in assembly 6502
&lt;/h2&gt;

&lt;p&gt;Some common reasons to use a binary digit in assembly 6502 include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enabling PPU&lt;/li&gt;
&lt;li&gt;Minimizing code size&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why not use unary?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Unary_operation" rel="noopener noreferrer"&gt;Unary(base-1)&lt;/a&gt; despite being more low-level than even &lt;a href="https://en.wikipedia.org/wiki/Binary_operation" rel="noopener noreferrer"&gt;Binary(base-2)&lt;/a&gt; Has alot of cons than pros if they added it to assembly 6502&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons of using unary
&lt;/h3&gt;

&lt;p&gt;Cons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Takes up alot of memory and storage and space&lt;/li&gt;
&lt;li&gt;typing 256 in unary means typing 256 tally marks(1 or |)&lt;/li&gt;
&lt;li&gt;Was not meant for computers to read&lt;/li&gt;
&lt;li&gt;Very easy to learn but so much time wasted typing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pros of using unary
&lt;/h3&gt;

&lt;p&gt;Pros:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to learn&lt;/li&gt;
&lt;li&gt;Numbers 1 through 4 requires less typing than a hexadecimal digit&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to use the registers to use a binary digit
&lt;/h2&gt;

&lt;p&gt;To make a variable in assembly 6502 that holds a &lt;strong&gt;binary&lt;/strong&gt; digit, you have to create and store it into the register you want(A, X, Y) and put the binary in the variables value/content&lt;/p&gt;

&lt;p&gt;To tell assembly its a binary digit in the contents you need to prefix it with what single numbered variable starts with after the register type declaration if you arent using $ to load a value. # and then % after the # to tell the NES its a binary value&lt;/p&gt;

&lt;h2&gt;
  
  
  Example of using a binary digit variable
&lt;/h2&gt;

&lt;p&gt;An example of using a binary digit variable is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
.export _main

_main:

LDA #%01101 ; binary content
STA $01

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Unary_operation" rel="noopener noreferrer"&gt;Wikipedia - unary&lt;/a&gt;&lt;br&gt;
&lt;a href="https://en.wikipedia.org/wiki/Binary_operation" rel="noopener noreferrer"&gt;Wikipedia - binary&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Other languages
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://es.wikipedia.org/wiki/operaci%C3%B3n_unaria" rel="noopener noreferrer"&gt;Wikipedia - unary (spanish/español)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://es.wikipedia.org/wiki/operaci%C3%B3n_binaria" rel="noopener noreferrer"&gt;Wikipedia - binary (spanish/español)&lt;/a&gt;&lt;/p&gt;

</description>
      <category>assembly</category>
      <category>nes</category>
      <category>binary</category>
      <category>programming</category>
    </item>
    <item>
      <title>What is a CSS class definer and linking CSS to HTML(CSS basics 2/60)</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Fri, 27 Mar 2026 19:32:12 +0000</pubDate>
      <link>https://dev.to/beey12345/what-is-a-css-class-definer-and-linking-css-to-htmlcss-basics-260-4egd</link>
      <guid>https://dev.to/beey12345/what-is-a-css-class-definer-and-linking-css-to-htmlcss-basics-260-4egd</guid>
      <description>&lt;h2&gt;
  
  
  What is a CSS class definer
&lt;/h2&gt;

&lt;p&gt;A css class definer(or a css class specifier) allows you to group elements into one style by using the way to apply styles with the name of the class(class name).&lt;/p&gt;

&lt;h3&gt;
  
  
  CSS class naming conventions
&lt;/h3&gt;

&lt;p&gt;CSS class naming conventions often include using kebab-case(all lowercase) and replacing spaces with hyphens for readability.&lt;/p&gt;

&lt;h3&gt;
  
  
  CSS readability tips
&lt;/h3&gt;

&lt;p&gt;You can find CSS readability tips at WCAG(Resources On Digital Acessibility Standards): &lt;a href="https://www.wcag.com" rel="noopener noreferrer"&gt;WCAG.com&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  CSS class definer syntax
&lt;/h3&gt;

&lt;p&gt;The syntax for a class definer(You can add more propertys/styles) is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;
&lt;span class="nc"&gt;.class-name&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="py"&gt;property&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;The '.' specifies it defines a CSS class.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to link your CSS to HTML
&lt;/h2&gt;

&lt;p&gt;Now in order for your CSS to work you need to link it in HTML in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section.&lt;/p&gt;

&lt;p&gt;Inside the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section, you will have to type &lt;code&gt;&amp;lt;link rel="stylesheet" href="path-to-css-file.css"&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Replace path-to-css-file with your css file(dont forget to suffix it with .css).&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What is CSS? (CSS basics 1/60)</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Fri, 27 Mar 2026 01:26:14 +0000</pubDate>
      <link>https://dev.to/beey12345/what-is-css-css-basics-160-ao5</link>
      <guid>https://dev.to/beey12345/what-is-css-css-basics-160-ao5</guid>
      <description>&lt;h2&gt;
  
  
  Understanding CSS
&lt;/h2&gt;

&lt;p&gt;CSS, Known as Cascading Style Sheets is a way to style your webpages It is widely used in websites for positioning, Typography and more.&lt;/p&gt;

&lt;p&gt;The file extension to use CSS is .css this is known as an &lt;strong&gt;external css file&lt;/strong&gt; Which you will learn later in the series.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is a CSS class
&lt;/h3&gt;

&lt;p&gt;A CSS class, known as a Class declaration or selector is used to target elements with its class using: &lt;code&gt;class="class-declaration-name"&lt;/code&gt; or &lt;code&gt;className="class-declaration-name"&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why is CSS better on webpages
&lt;/h3&gt;

&lt;p&gt;CSS is better on webpages because It improves UX and Styled UI looks more good than browser default styles.&lt;/p&gt;

&lt;p&gt;Without styling you cant accurately control the position of your elements or anything else related to CSS because of this Users may not like your webpage unstyled hurting UX.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is UX
&lt;/h3&gt;

&lt;p&gt;UX Means User Experience. User experience(UX) Is important because if your User Experience(UX) is low or people are unhappy with your webpage less people will come and you may get deranked in SEO(Search Engine Optimization).&lt;/p&gt;

&lt;h3&gt;
  
  
  CSS lentience
&lt;/h3&gt;

&lt;p&gt;CSS does try to be lentient at small errors like unknown CSS property, unknown variable or forgetting a &lt;code&gt;;&lt;/code&gt; tho sometimes it may make your css not work.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the latest CSS
&lt;/h3&gt;

&lt;p&gt;There is no latest CSS version as CSS became a living standard in 2010–2011 so It is recommended to use the living standard instead of old CSS(CSS2) because CSS did use to be version numbered meaning it kept incrementing the version(1, 2) every update but this was stopped and the living standard CSS is better to use.&lt;/p&gt;

&lt;h4&gt;
  
  
  What are old CSS versions
&lt;/h4&gt;

&lt;p&gt;Some old CSS versions include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSS1&lt;/li&gt;
&lt;li&gt;CSS2&lt;/li&gt;
&lt;li&gt;CSS2.1&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What is the modern CSS version
&lt;/h4&gt;

&lt;p&gt;The modern CSS version(Living Standard) is &lt;strong&gt;CSS3&lt;/strong&gt; which came after the now outdated, old CSS2.1&lt;/p&gt;

&lt;h3&gt;
  
  
  Recommendations on where to run CSS locally
&lt;/h3&gt;

&lt;p&gt;Running CSS locally can be hard if you dont know the right options to pick.&lt;/p&gt;

&lt;p&gt;My recommendation:&lt;/p&gt;

&lt;p&gt;For &lt;a href="https://www.apple.com/os/macos/" rel="noopener noreferrer"&gt;macOS&lt;/a&gt; and in small teams - &lt;a href="https://code.visualstudio.com" rel="noopener noreferrer"&gt;VS code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MacOS version must be &lt;strong&gt;above&lt;/strong&gt; mojave&lt;/p&gt;

&lt;p&gt;For &lt;a href="https://www.microsoft.com/en-us/windows/business/c/windows-means-business?ef_id=_k_CjwKCAjwspPOBhB9EiwATFbi5IJFMR9q3-piz8qVha6NaHl_pWHYQt0t_MO1UP7vRyXxpj34u9bsKBoC-GEQAvD_BwE_k_&amp;amp;OCID=AIDcmmvovzgd4f_SEM__k_CjwKCAjwspPOBhB9EiwATFbi5IJFMR9q3-piz8qVha6NaHl_pWHYQt0t_MO1UP7vRyXxpj34u9bsKBoC-GEQAvD_BwE_k_&amp;amp;gad_source=1&amp;amp;gad_campaignid=23609078554&amp;amp;gbraid=0AAAAADcJh_uv5QIvH5sjMtCYOlR1flxmZ&amp;amp;gclid=CjwKCAjwspPOBhB9EiwATFbi5IJFMR9q3-piz8qVha6NaHl_pWHYQt0t_MO1UP7vRyXxpj34u9bsKBoC-GEQAvD_BwE" rel="noopener noreferrer"&gt;Windows&lt;/a&gt; and in large teams -  &lt;a href="https://visualstudio.microsoft.com" rel="noopener noreferrer"&gt;Visual studio/VS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Windows version must be Windows 10 version 1909 or higher&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Explain HTMX like i'm 5</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Fri, 27 Mar 2026 00:17:18 +0000</pubDate>
      <link>https://dev.to/beey12345/explain-htmx-like-im-5-44fo</link>
      <guid>https://dev.to/beey12345/explain-htmx-like-im-5-44fo</guid>
      <description>&lt;p&gt;I have never used HTMX before so I dont know what HTMX is and I whould like a quick explanation of what it is.&lt;/p&gt;

</description>
      <category>explainlikeimfive</category>
      <category>htmx</category>
    </item>
    <item>
      <title>HTML5: What happens when using For attribute mismatching</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Mon, 23 Mar 2026 20:45:19 +0000</pubDate>
      <link>https://dev.to/beey12345/html5-what-happens-when-using-for-attribute-mismatching-3ek</link>
      <guid>https://dev.to/beey12345/html5-what-happens-when-using-for-attribute-mismatching-3ek</guid>
      <description>&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What is the label attribute&lt;/li&gt;
&lt;li&gt;
What happens when you mismatch the for with the input

&lt;ul&gt;
&lt;li&gt;Why its bad to label for mismatch&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is the label attribute
&lt;/h2&gt;

&lt;p&gt;An HTML5's label attribute is 'for'&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when you mismatch the for with the input
&lt;/h2&gt;

&lt;p&gt;If you mismatch this input, lets say your label's for is 'name' and you mismatch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;
&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"og:url"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"https://www.exampleweb.com"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Example webpage&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;main&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"name"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Name (required):&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt;
        &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"fullName"&lt;/span&gt;
        &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"fullName"&lt;/span&gt;
        &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt;
        &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"John Doe"&lt;/span&gt;
        &lt;span class="na"&gt;required&lt;/span&gt;
      &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/main&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;HTML will treat the input like a &lt;strong&gt;seperate&lt;/strong&gt; element therefore, clicking on the label will not put you on the input you have to click the input-box.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why its bad to label for mismatch
&lt;/h3&gt;

&lt;p&gt;Users on tiny mobile devices might find it annoying that you cant click the label to go to the input-box&lt;/p&gt;

&lt;p&gt;This also confuses SR(Screen Readers) alot because the labels and input boxes are mismatched with the label's 'for'&lt;/p&gt;

&lt;p&gt;It will also hurt SEO(Search Engine Optimization) because if users can not write a form they are more likely to leave this is gives Search Engines a negative impact for your website decreasing its Search Ranking&lt;/p&gt;

&lt;p&gt;Even tho its best practice to also have the 'name' attribute in the input match the for mismatching this isnt best practice but it also is not as bad as 'for' mismatching&lt;/p&gt;

&lt;p&gt;'for' mismatching also makes your webpage &lt;strong&gt;non-compliant&lt;/strong&gt; with WCAG 2.1 Sucess Criterion 1.3.1 (Info and Relationships)&lt;/p&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>programming</category>
      <category>markup</category>
    </item>
    <item>
      <title>Assembly 6502: comments</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Sun, 15 Mar 2026 00:49:00 +0000</pubDate>
      <link>https://dev.to/beey12345/assembly-6502-comments-5ac6</link>
      <guid>https://dev.to/beey12345/assembly-6502-comments-5ac6</guid>
      <description>&lt;h2&gt;
  
  
  Explanation
&lt;/h2&gt;

&lt;p&gt;Comments in assembly 6502 are used to state what a variable does or anything that you normaly use a comment for in other programming languages.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use comments
&lt;/h2&gt;

&lt;p&gt;It is very easy to use comments in assembly here is an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
; This is an assembly 6502 comment

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why do assembly 6502 comments exist
&lt;/h2&gt;

&lt;p&gt;Assembly 6502 comments exist because if you breakdown and explain your code with them your future-self will remember what the code was for and thank your past-self.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does assembly 6502 support multi-line comments
&lt;/h2&gt;

&lt;p&gt;Assembly 6502 only supports &lt;strong&gt;line&lt;/strong&gt; comments not &lt;strong&gt;multi-line&lt;/strong&gt; comments because it was running on software typicaly under &lt;strong&gt;64 KB&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Can you pause a single line of code with assembly 6502 comments
&lt;/h2&gt;

&lt;p&gt;You can "pause" a single line of code with nes comments by using the &lt;code&gt;;&lt;/code&gt; at the start, &lt;code&gt;;&lt;/code&gt; in assembly means "Start this comment only for this line"&lt;/p&gt;

&lt;p&gt;If you do this your code line turns into a comment so it wont run&lt;/p&gt;

&lt;p&gt;However remove the &lt;code&gt;;&lt;/code&gt; and your code runs again&lt;/p&gt;

&lt;h2&gt;
  
  
  Do assembly 6502 comments be treated the same in modern coding languages
&lt;/h2&gt;

&lt;p&gt;Because 6502 assembly is limited to &lt;strong&gt;line&lt;/strong&gt; comments in modern coding languages they usualy ignore comments just like assembly 6502.&lt;/p&gt;

&lt;p&gt;Assembly 6502 comments are treated the same in modern coding languages however the NES can only handle so many comments before a &lt;strong&gt;Memory Overload&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Notes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The NES is different than the SNES in assembly.&lt;/p&gt;

</description>
      <category>assembly</category>
      <category>nes</category>
    </item>
    <item>
      <title>Assembly 6502: LDY</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Sun, 15 Mar 2026 00:36:41 +0000</pubDate>
      <link>https://dev.to/beey12345/assembly-6502-ldy-o8c</link>
      <guid>https://dev.to/beey12345/assembly-6502-ldy-o8c</guid>
      <description>&lt;h2&gt;
  
  
  Explanation
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;LDY&lt;/code&gt; in assembly(Assembly 6502) loads an 8-bit value into the Y register.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use LDY to send non-hex values
&lt;/h2&gt;

&lt;p&gt;The value must start with a # example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
LDY #12

; That is how to write 12 to the CPU in the Y register

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  The registers
&lt;/h2&gt;

&lt;p&gt;Now there are multiple registers some include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;X register(&lt;code&gt;LDX&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;A register(&lt;code&gt;LDA&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Y register(&lt;code&gt;LDY&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to use LDY to send hex values
&lt;/h2&gt;

&lt;p&gt;Hex values are also allowed: &lt;code&gt;LDY #$12&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;They &lt;strong&gt;MUST&lt;/strong&gt; start with #(Standard for &lt;code&gt;LDX&lt;/code&gt;, &lt;code&gt;LDA&lt;/code&gt; and &lt;code&gt;LDY&lt;/code&gt;)&lt;/p&gt;

&lt;p&gt;They also &lt;strong&gt;MUST&lt;/strong&gt; start with $ after #(Special to hex values)&lt;/p&gt;

&lt;h2&gt;
  
  
  Max values for 8-bit integer
&lt;/h2&gt;

&lt;p&gt;The maximum value for the 8-bit unsigned integer is: 255&lt;br&gt;
The maximum value for the 8-bit signed integer is: 127&lt;/p&gt;

&lt;p&gt;Your stats will always need to cap at 255 unless you are using the &lt;strong&gt;16-bit&lt;/strong&gt; integer limit&lt;/p&gt;

&lt;h2&gt;
  
  
  Notes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The NES is different than the SNES in assembly.&lt;/p&gt;

</description>
      <category>nes</category>
      <category>assembly</category>
    </item>
    <item>
      <title>HTML: what tag is h1?</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Sun, 15 Mar 2026 00:29:15 +0000</pubDate>
      <link>https://dev.to/beey12345/html-what-tag-is-h1-40m3</link>
      <guid>https://dev.to/beey12345/html-what-tag-is-h1-40m3</guid>
      <description>&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
What an h1 does

&lt;ul&gt;
&lt;li&gt;Explanation&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;What to use an h1 on&lt;/li&gt;

&lt;li&gt;

What to do with h1

&lt;ul&gt;
&lt;li&gt;When to use h1&lt;/li&gt;
&lt;li&gt;When to not use h1&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;h1 tag code example&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Sources&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What an h1 does
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Explanation
&lt;/h3&gt;

&lt;p&gt;An h1 is the largest header in the HTML headers&lt;/p&gt;

&lt;p&gt;It is also formatted &lt;strong&gt;bold&lt;/strong&gt; without any CSS&lt;/p&gt;

&lt;h2&gt;
  
  
  What to use an h1 on
&lt;/h2&gt;

&lt;p&gt;It is recommended to use an h1 for one of these things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;App title&lt;/li&gt;
&lt;li&gt;Title of a post(If it allows HTML)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to do with h1
&lt;/h2&gt;

&lt;h3&gt;
  
  
  When to use h1
&lt;/h3&gt;

&lt;p&gt;Use h1 when you need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An app title for your app&lt;/li&gt;
&lt;li&gt;A title for a post(If it allows HTML)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  When to not use h1
&lt;/h3&gt;

&lt;p&gt;Do not use h1 when you need or follow one of these prequiristies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;there is already 1 h1 tag&lt;/li&gt;
&lt;li&gt;you are using it for a thing that isnt a title&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  h1 tag code example
&lt;/h2&gt;

&lt;p&gt;Here is a code example of using h1:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;
&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;My webpage&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"App"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;header&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;My app&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/header&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements" rel="noopener noreferrer"&gt;developer.mozilla.org&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3.org/TR/2012/WD-html-markup-20121025/h1.html" rel="noopener noreferrer"&gt;w3.org&lt;/a&gt;&lt;/p&gt;

</description>
      <category>coding</category>
      <category>webdev</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>I tried putting commonJS in a .mjs file heres what happens</title>
      <dc:creator>Beey</dc:creator>
      <pubDate>Tue, 10 Mar 2026 00:12:15 +0000</pubDate>
      <link>https://dev.to/beey12345/i-tried-putting-commonjs-in-a-mjs-file-heres-what-happens-3laj</link>
      <guid>https://dev.to/beey12345/i-tried-putting-commonjs-in-a-mjs-file-heres-what-happens-3laj</guid>
      <description>&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
What I did

&lt;ul&gt;
&lt;li&gt;The twist&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;What happened&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I did
&lt;/h2&gt;

&lt;p&gt;I tried running this commonJS in VS code but with a twist:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;vscode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;vscode&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

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

&lt;/div&gt;



&lt;h3&gt;
  
  
  The twist
&lt;/h3&gt;

&lt;p&gt;The twist.. I put this in a .mjs file this is not for commonJS its for ES modules.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened
&lt;/h2&gt;

&lt;p&gt;Nothing serious happened, The only thing that happened was me being told it was a &lt;strong&gt;commonJS module&lt;/strong&gt; and it can be switched to a &lt;strong&gt;ES module&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
