Getting Started with JavaScript for Web Development: Lesson 3 of 23

Hello World

Up Next

Types and Variables

Autoplaying in 7 seconds!

Cancel

Create a Free Account to Watch

Sign Up Now

Login to your account

Getting Started

We'll be doing all our work inside of an index.html file. All our HTML, CSS, and JS will go here:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Getting Started with JavaScript</title>

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <style>
    body, .jumbotron { padding: 30px; }
  </style>
</head>
<body>

  <!-- start javascript -->
  <script>

  </script>
</body>
</html>

Adding Bootstrap

We will be using Bootstrap to quickly get CSS styles.

To quickly add the Bootstrap library, we'll use BootstrapCDN and add the following to the <head> of our document:

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

Chris Sevilleja

151 posts

Co-founder of Scotch.io. Slapping the keyboard until something good happens.