JSFiddle - React, Tailwind, and code Playground JavaScript $i=0; while(guard()){ if($i % 3 == 0){ alert("Test") } $i++ }