Making Web Pages Look Nice

The answer...

Use a CSS Framework. It does all the heavy lifting for you by keeping a consistent design and you don't have to write (much) CSS.

Bootstrap

Getting Started

  1. Open a new file in Notepad++ and open it in a browser.
  2. Copy this template into your file:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Title</title>    

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
  </head>
  <body>
    <h1>Write your HTML Here!</h1>
    
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js"></script>
  </body>
</html>

Because we want to be fast you may copy the code here: https://vh7.uk/fewer

Get some components

The Main Building Blocks

<h1>Hello!</h1>
<p>My name is ____!</p>
<div class="container">
    <h1>Hello</h1>
    <p>My name is ____!</p>
</div>

Hello!

My name is ____!

Hello!

My name is ____!

Make this Page

navbar not in container

grid with two columns of width 6

card

Making Web Pages Look Nice

By Jake Walker

Making Web Pages Look Nice

  • 504