Your Name 4 years ago
parent
commit
e4747f66d2
1 changed files with 5 additions and 5 deletions
  1. 5 5
      similar_web/index.html

+ 5 - 5
similar_web/index.html

@@ -89,11 +89,10 @@
 
 
         <div class="card text-center">
-          <div class="card-header" id="sitename"></div>
+          <div class="card-header" >Website Traffic</div>
           <div class="card-body">
-            <h5 class="card-title">Special title treatment</h5>
-            <p class="card-text">
-              With supporting text below as a natural lead-in to additional content.
+            <h5 class="card-title" id="sitename"></h5>
+            <p class="card-text" id="descriptions">
             </p>
             <a href="#" class="btn btn-primary">Button</a>
           </div>
@@ -137,12 +136,13 @@
     axios.get('http://www.googo.org:8080/domain/'+qry)
   .then((response) => {
     var sitename = document.getElementById('sitename');
+    var descriptions=document.getElementById('descriptions');
     console.log(response.data);
 //    alert(response.data.SiteName);
 //    var obj = JSON.parse(response.data);
 //    alert(obj);
     sitename.innerHTML =response.data.SiteName;
-
+    descriptions.innerHTML=response.data.Description;
     //    sitename.innerHTML =response.data
 
     console.log(response.status);