<?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: Nguyen Long</title>
    <description>The latest articles on DEV Community by Nguyen Long (@nguyn_long_46a9a8dddfb6e).</description>
    <link>https://dev.to/nguyn_long_46a9a8dddfb6e</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4276047%2Fa1d71c08-20db-4a3a-8324-6d0091a9ad5d.png</url>
      <title>DEV Community: Nguyen Long</title>
      <link>https://dev.to/nguyn_long_46a9a8dddfb6e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nguyn_long_46a9a8dddfb6e"/>
    <language>en</language>
    <item>
      <title>I Built a Free Printable Word Search, Maze &amp; Sudoku Generator in Pure HTML/CSS/JS</title>
      <dc:creator>Nguyen Long</dc:creator>
      <pubDate>Tue, 01 Dec 2026 09:37:52 +0000</pubDate>
      <link>https://dev.to/nguyn_long_46a9a8dddfb6e/i-built-a-free-printable-word-search-maze-sudoku-generator-in-pure-htmlcssjs-1nj</link>
      <guid>https://dev.to/nguyn_long_46a9a8dddfb6e/i-built-a-free-printable-word-search-maze-sudoku-generator-in-pure-htmlcssjs-1nj</guid>
      <description>&lt;p&gt;Most free printable puzzle sites are covered in pop-up ads, require sign-ups, or print tiny grids without answer keys.&lt;/p&gt;

&lt;p&gt;So I built a lightweight, zero-framework browser tool called &lt;strong&gt;PuzzleCraft&lt;/strong&gt; that generates clean, large-print worksheets you can print or save as PDF immediately:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Try it free:&lt;/strong&gt; &lt;a href="https://clinquant-mochi-082fae.netlify.app/" rel="noopener noreferrer"&gt;PuzzleCraft — Free Printable Word Search, Maze &amp;amp; Sudoku Generator&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's inside (100% client-side, single HTML file)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Custom Word Search Maker:&lt;/strong&gt; Paste any word list (or pick presets like Winter, Animals, Space, Food), pick grid size (&lt;code&gt;12×12&lt;/code&gt;, &lt;code&gt;14×14&lt;/code&gt;, &lt;code&gt;16×16&lt;/code&gt;), and toggle highlighted answer keys.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guaranteed-Solvable Maze Generator:&lt;/strong&gt; Uses randomized Depth-First Search (DFS) to carve perfect mazes with a single unique path, solved via Breadth-First Search (BFS) and rendered as crisp inline SVG.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Large-Print Sudoku Generator:&lt;/strong&gt; Generates Easy, Medium, and Hard 9×9 grids with instant solution toggle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean &lt;code&gt;@media print&lt;/code&gt; stylesheet:&lt;/strong&gt; Clicking &lt;strong&gt;Print / Save PDF&lt;/strong&gt; strips all UI controls and outputs a clean, ink-friendly printable worksheet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No backend, no database, no login wall—just fast vanilla HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;Feedback and feature ideas are very welcome! If you ever need a custom landing page or lightweight browser tool built, you can also find me on &lt;a href="https://www.fiverr.com/s/50AbEyz" rel="noopener noreferrer"&gt;Fiverr&lt;/a&gt; and &lt;a href="https://kwork.com/web-development/55657098/modern-responsive-landing-page-in-html-css-js" rel="noopener noreferrer"&gt;Kwork&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>html</category>
    </item>
    <item>
      <title>5 Common Mobile Layout Bugs in CSS (and How to Fix Them)</title>
      <dc:creator>Nguyen Long</dc:creator>
      <pubDate>Tue, 01 Dec 2026 09:37:21 +0000</pubDate>
      <link>https://dev.to/nguyn_long_46a9a8dddfb6e/5-common-mobile-layout-bugs-in-css-and-how-to-fix-them-4e0k</link>
      <guid>https://dev.to/nguyn_long_46a9a8dddfb6e/5-common-mobile-layout-bugs-in-css-and-how-to-fix-them-4e0k</guid>
      <description>&lt;p&gt;Your site looks perfect on your laptop. Then you open it on a phone and suddenly there's a horizontal scrollbar, text spilling off the screen, and buttons stacked on top of each other.&lt;/p&gt;

&lt;p&gt;Most of these problems come from a handful of repeat offenders. Here are five of the most common ones, with the fix for each.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The mystery horizontal scroll
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Symptom:&lt;/strong&gt; The page scrolls sideways on mobile, and there's empty white space on the right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cause:&lt;/strong&gt; Something is wider than the viewport—usually a fixed pixel &lt;code&gt;width&lt;/code&gt;, an image without a max width, or an element using &lt;code&gt;100vw&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&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="nt"&gt;img&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nt"&gt;video&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nt"&gt;iframe&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="kt"&gt;%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;auto&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.container&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="kt"&gt;%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1200px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="n"&gt;auto&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;To find the culprit quickly, paste this into DevTools temporarily:&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="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;outline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1px&lt;/span&gt; &lt;span class="n"&gt;solid&lt;/span&gt; &lt;span class="n"&gt;red&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;h2&gt;
  
  
  2. Forgetting the viewport meta tag
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Symptom:&lt;/strong&gt; The whole page looks zoomed out and tiny on phones, and your media queries never trigger.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; Add this inside &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;:&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="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Rigid grids that don't wrap
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Symptom:&lt;/strong&gt; Three cards side by side look great on desktop but get crushed into thin columns on mobile.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt; Let CSS Grid decide how many columns fit:&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;.cards&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;grid&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;grid-template-columns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;repeat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;auto-fit&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;minmax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;260px&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1fr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;gap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.5rem&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;h2&gt;
  
  
  4. Long words and URLs breaking the layout
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Symptom:&lt;/strong&gt; A long email address or URL pushes its container wider than the screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&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;.content&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;overflow-wrap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;anywhere&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;h2&gt;
  
  
  5. Flex items refusing to shrink
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Cause:&lt;/strong&gt; Flex items have &lt;code&gt;min-width: auto&lt;/code&gt; by default, so they won't shrink below their content size.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&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;.flex-child&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;min-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&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;If you're stuck on a stubborn layout bug you want fixed fast, I also help fix HTML, CSS, and JavaScript issues on &lt;a href="https://www.fiverr.com/s/wbDWeWr" rel="noopener noreferrer"&gt;Fiverr&lt;/a&gt;. Happy to take a look!&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>html</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
