28/10/2019

Lesson 6 - Let's use a free framework (external service)

Framework

Abou Framework

Front-end frameworks let you hit the ground running when developing a new website. Due to their popularity, a wide array of front-end frameworks are available, and new ones emerge on a regular basis.

In fact, now this site use Bootstrap made by Twitter's staff.

Popular Framework

Bootstrap
Materialise
UIkit

Usage

EXAMPLE Bootstrap


<head>

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

<head>


  

See get start page. Some CDN (Content Delivery Network) files inculde.


<p class="text-danger">
I want to be the minority
</p>
<p class="text-primary">
I don't need your authority
<p>
<p class="text-secondary">
Down with the moral majority
</p>
<p class="text-success">
'Cause I want to be the minority</p>


  

result

I want to be the minority

I don't need your authority

Down with the moral majority

'Cause I want to be the minority

Merrito

We don't have to make original css.

If you don't have a lot of knowledge, be able tomake a website by Framework easily.

Let's Try

Try to use Framework which you like in your website. Then, use some component and utilities.

Bootstrap Reference in Thai language