The HTML part
The HTML part will look similar to the following code:
<html> <head> </head> <body> <h1> Battleship Game </h1> </body> <style> // We will code in CSS here </style> <script type = "text/javascript"> //We will code in JavaScript here </script> </html>
The output of the code will be as shown in the following image:
