<?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: XMM17879829028</title>
    <description>The latest articles on DEV Community by XMM17879829028 (@xmm17879829028).</description>
    <link>https://dev.to/xmm17879829028</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%2F3511613%2Fc8a6b102-57ad-4796-963f-5a52952abc1d.png</url>
      <title>DEV Community: XMM17879829028</title>
      <link>https://dev.to/xmm17879829028</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xmm17879829028"/>
    <language>en</language>
    <item>
      <title>HTML Viewer with Bidirectional Highlighting (Click Code ↔ Highlight Element)</title>
      <dc:creator>XMM17879829028</dc:creator>
      <pubDate>Sat, 28 Mar 2026 04:09:09 +0000</pubDate>
      <link>https://dev.to/xmm17879829028/html-viewer-with-bidirectional-highlighting-click-code-highlight-element-2971</link>
      <guid>https://dev.to/xmm17879829028/html-viewer-with-bidirectional-highlighting-click-code-highlight-element-2971</guid>
      <description>&lt;p&gt;I built this &lt;a href="https://html-viewer.org" rel="noopener noreferrer"&gt;HTML Viewer&lt;/a&gt; because I was frustrated with existing tools that only let you view code or preview the page, but never link the two together.&lt;/p&gt;

&lt;p&gt;The core feature is &lt;strong&gt;bidirectional highlighting&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click any line of HTML/CSS in the editor → the corresponding element on the preview page is instantly highlighted and scrolled into view.&lt;/li&gt;
&lt;li&gt;Click any rendered element on the page → the editor jumps to and highlights the exact source line that generated it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes it way easier to debug, learn HTML/CSS, or teach frontend basics.&lt;/p&gt;

&lt;p&gt;It's built entirely with vanilla JavaScript, runs 100% client-side (no backend, no data collection), and is completely free to use.&lt;/p&gt;

&lt;p&gt;Would love to hear feedback on edge cases, feature ideas, or any bugs you find!&lt;br&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%2Ft8iumx1y4veqeqodm4ya.png" 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%2Ft8iumx1y4veqeqodm4ya.png" alt=" " width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&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%2Fcite0y6lmie085mcqq8t.png" 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%2Fcite0y6lmie085mcqq8t.png" alt=" " width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>html</category>
      <category>code</category>
    </item>
  </channel>
</rss>
