Skip to content

01 Initialize Project

Dave Strus edited this page Mar 12, 2015 · 4 revisions

Initialize Project

Create a new folder/directory to hold your project. Inside the project, create the following empty files:

  • index.html
  • css/listly.css
  • js/listly.js

Add the initial contents of index.html, as an HTML 5 document with links to the following:

  • CSS from Bootstrap and jQueryUI
  • JavaScript from jQuery, jQueryUI, and Bootstrap
  • Links to our own custom CSS and JavaScript files

Also add a Bootstrap well with an <h1>.

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8">

  <title>Listly</title>

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.css">
  <link rel="stylesheet" href="css/listly.css">
  <!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
</head>

<body>

  <div class="well col-sm-8 col-sm-offset-2 col-xs-12">
    <h1>Listly</h1>
  </div>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script>
  <script src="js/listly.js"></script>
</body>
</html>