
previous

page 1
next
Introduction:
In this tutorial we will tackle creating my version of the old game of Battleships, Ships.
Now type these lines into Atom and save them as index.html in a new folder, project_5:
<html>
<head>
<title>Ships</title>
<link rel='stylesheet' href='styles.css'>
<script src='library.js'></script>
</head>
<body>
</body>
<html>
<head>
<title>Ships</title>
<link rel='stylesheet' href='styles.css'>
<script src='library.js'></script>
</head>
<body>
</body>
<html>
index.zip
Download this file into your new directory and unzip it. You should end up with an images directory which contains 2 files and 3 subdirectories: right, wrong and ships.

previous
next