'Live reload is not possible without a body or a head tag

My program is to store the number of entries through the entry button and save it through the save button...

So, I added a JS link in my HTML body tag and then ran it through the live server or tried to store it, it shows "live reload is not possible without body or head tag"...



Solution 1:[1]

Then add a body and head tag!

<head>
  <!-- head stuff -->
  <script src="whatever"></script>
  <meta something>
</head>
<body>
  <!-- Main body stuff -->
  <div id="mydiv"></div>
</body>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TorNato