dhruvshettty commited on
Commit
dafa13c
1 Parent(s): 44d20f8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -19,7 +19,7 @@
19
  </nav>
20
  <section id="main-content">
21
  <button id="get-articles" type="button">Get recent articles...</button>
22
- <div id="message-container">Gettin articles...</div>
23
  </section>
24
 
25
  <script>
@@ -30,7 +30,7 @@
30
  message.style.display = 'block';
31
  setTimeout(function() {
32
  message.style.display = 'none';
33
- }, 3000);
34
  fetch(endpoint)
35
  .then((response) => response.json())
36
  .then((data) => {
 
19
  </nav>
20
  <section id="main-content">
21
  <button id="get-articles" type="button">Get recent articles...</button>
22
+ <div id="message-container">Getting articles...</div>
23
  </section>
24
 
25
  <script>
 
30
  message.style.display = 'block';
31
  setTimeout(function() {
32
  message.style.display = 'none';
33
+ }, 5000);
34
  fetch(endpoint)
35
  .then((response) => response.json())
36
  .then((data) => {