<?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: Manjunath k</title>
    <description>The latest articles on DEV Community by Manjunath k (@mankal27).</description>
    <link>https://dev.to/mankal27</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%2F640780%2F1ce29311-28f9-41f5-94b3-b48479081ea2.jpeg</url>
      <title>DEV Community: Manjunath k</title>
      <link>https://dev.to/mankal27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mankal27"/>
    <language>en</language>
    <item>
      <title>I Built an Interactive JS Learning Site — No Courses, No Paywalls, Just Animated Examples</title>
      <dc:creator>Manjunath k</dc:creator>
      <pubDate>Mon, 15 Jun 2026 09:18:08 +0000</pubDate>
      <link>https://dev.to/mankal27/i-built-an-interactive-js-learning-site-no-courses-no-paywalls-just-animated-examples-4gjf</link>
      <guid>https://dev.to/mankal27/i-built-an-interactive-js-learning-site-no-courses-no-paywalls-just-animated-examples-4gjf</guid>
      <description>&lt;p&gt;I got tired of JavaScript tutorials that teach you syntax in a vacuum.&lt;/p&gt;

&lt;p&gt;You read about &lt;code&gt;filter()&lt;/code&gt;, you nod along, and then you open a real project and think — &lt;em&gt;okay but when do I actually use this?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://mankal-27.github.io/Fork-My-Brain/" rel="noopener noreferrer"&gt;Fork My Brain&lt;/a&gt;&lt;/strong&gt; — a free, open-source, interactive JS reference where every method comes with animated, real-world scenarios instead of dry theory.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it looks like in practice
&lt;/h2&gt;

&lt;p&gt;The first module is all about &lt;strong&gt;JavaScript Array Methods&lt;/strong&gt; — all 41 of them (37 instance methods + 4 static).&lt;/p&gt;

&lt;p&gt;Instead of showing you &lt;code&gt;filter()&lt;/code&gt; with &lt;code&gt;[1, 2, 3]&lt;/code&gt;, I show you a &lt;strong&gt;shopping cart&lt;/strong&gt;:&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;cart&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Shoes&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2499&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;T-Shirt&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;799&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Hat&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;399&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;

&lt;span class="c1"&gt;// Get only items under ₹1000&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;budget&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;cart&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;item&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;price&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// Apply 10% discount to everything&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;sale&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;cart&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;item&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;price&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;0.9&lt;/span&gt;
&lt;span class="p"&gt;}));&lt;/span&gt;

&lt;span class="c1"&gt;// Calculate total&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;cart&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;price&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="c1"&gt;// → ₹3,697&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real data. Real use case. The kind of code you'd actually write.&lt;/p&gt;




&lt;h2&gt;
  
  
  The 5 scenarios in the Array module
&lt;/h2&gt;

&lt;p&gt;Each scenario teaches a natural cluster of related methods:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🛒 &lt;strong&gt;Shopping cart&lt;/strong&gt; — &lt;code&gt;filter&lt;/code&gt;, &lt;code&gt;map&lt;/code&gt;, &lt;code&gt;reduce&lt;/code&gt; (the holy trinity)&lt;/li&gt;
&lt;li&gt;☕ &lt;strong&gt;Coffee shop queue&lt;/strong&gt; — &lt;code&gt;push&lt;/code&gt;, &lt;code&gt;pop&lt;/code&gt;, &lt;code&gt;shift&lt;/code&gt;, &lt;code&gt;unshift&lt;/code&gt; (mutation methods)&lt;/li&gt;
&lt;li&gt;🎵 &lt;strong&gt;Music playlist&lt;/strong&gt; — &lt;code&gt;sort&lt;/code&gt;, &lt;code&gt;reverse&lt;/code&gt;, &lt;code&gt;find&lt;/code&gt;, &lt;code&gt;at&lt;/code&gt; (ordering &amp;amp; navigation)&lt;/li&gt;
&lt;li&gt;📚 &lt;strong&gt;Student grades&lt;/strong&gt; — &lt;code&gt;every&lt;/code&gt;, &lt;code&gt;some&lt;/code&gt;, &lt;code&gt;includes&lt;/code&gt;, &lt;code&gt;flat&lt;/code&gt; (checking &amp;amp; searching)&lt;/li&gt;
&lt;li&gt;🛵 &lt;strong&gt;Food delivery orders&lt;/strong&gt; — &lt;code&gt;splice&lt;/code&gt;, &lt;code&gt;slice&lt;/code&gt;, &lt;code&gt;indexOf&lt;/code&gt;, &lt;code&gt;concat&lt;/code&gt; (slicing &amp;amp; merging)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What's inside each module
&lt;/h2&gt;

&lt;p&gt;Every module has three parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Playground&lt;/strong&gt; — Pick a scenario, watch it animate, and experiment with the live code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reference&lt;/strong&gt; — All methods grouped by what they do (mutates, returns new array, iterative, search)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real examples&lt;/strong&gt; — Code written the way you'd write it on an actual project&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What's coming next
&lt;/h2&gt;

&lt;p&gt;The Array module is live now. Here's the roadmap I'm building toward:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;String Methods (32 methods — form validation, parsing, URL building)&lt;/li&gt;
&lt;li&gt;Promises &amp;amp; Async/Await (with animated API call simulations)&lt;/li&gt;
&lt;li&gt;DOM Manipulation (with a live mini-page preview)&lt;/li&gt;
&lt;li&gt;Map &amp;amp; Set&lt;/li&gt;
&lt;li&gt;Object Methods&lt;/li&gt;
&lt;li&gt;Regex, Destructuring, Closures, Prototype, Web APIs...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One module at a time, built properly.&lt;/p&gt;




&lt;h2&gt;
  
  
  It's open source — contributions welcome
&lt;/h2&gt;

&lt;p&gt;The whole thing is pure HTML, CSS, and JS. No build step. GitHub Pages auto-deploys from &lt;code&gt;main&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Adding a new module is intentionally simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Fork and clone&lt;/span&gt;
git clone https://github.com/mankal-27/Fork-My-Brain

&lt;span class="c"&gt;# 2. Copy the template&lt;/span&gt;
&lt;span class="nb"&gt;cp&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; js-array-guide js-string-guide

&lt;span class="c"&gt;# 3. Replace the scenario data in js/scenarios.js&lt;/span&gt;
&lt;span class="c"&gt;# 4. Add a card on the homepage&lt;/span&gt;
&lt;span class="c"&gt;# 5. Push — it deploys automatically&lt;/span&gt;
git push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you've ever thought &lt;em&gt;"I wish there was a better way to learn X method"&lt;/em&gt; — this is the place to add it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Site:&lt;/strong&gt; &lt;a href="https://mankal-27.github.io/Fork-My-Brain/" rel="noopener noreferrer"&gt;mankal-27.github.io/Fork-My-Brain&lt;/a&gt;&lt;br&gt;&lt;br&gt;
⭐ &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/mankal-27/Fork-My-Brain" rel="noopener noreferrer"&gt;github.com/mankal-27/Fork-My-Brain&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback — what JS topic would you want to see covered next? Drop it in the comments.&lt;/p&gt;

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