The following code shows how to Find Strong Numbers in the Given Range.

<html>
  <head>
    <title>Strong Number</title>
    <script>
      function find()
      {
         let num1=prompt("Enter the lower limit: ");
         num1=Number(num1);
         let num2=prompt("Enter the upper limit: ");
         num2=Number(num2);
         str="";
         for(let i=num1;i<=num2;i++)
         {
            let s= findstrongnumber(i);
            if(s==true)
              str+=i+"  ";
         }
        var v=document.getElementById("mydiv");
        v.innerText=str;              
      }
      function findstrongnumber(num){
         t=num;
         sum=0;
         while(t!=0)
         {
	   rem=t%10;
           fac=factorial(rem);
           sum+=fac;
	   t=Math.floor(t/10);
         }
         if(num==sum)
         {
           return true;
         }
         else{
           return false;
	}
 
      }
      function factorial(n){
         let f=1;
         for(let i=1;i<=n;i++)
         {
             f=f*i;
         }
         return f;
      }
    </script>
    <style>
     body{
         margin: 20px;
      }
      .c{
        margin-top: 50px;
        padding: 20px;
        font-size: 20px;
        border: 6px solid #ddaa22;
        border-radius: 6px;
      }
    </style>
  </head>
  <body>
    <center>
      <button onclick="find()" class="c">Find Strong Numbers</button>
    </center>
    <div id="mydiv"></div>
  </body>
</html>

Output

The Program to Find Strong Numbers in the Given Range
The Program to Find Strong Numbers in the Given Range