about bootstrap and codeigniter

0

I have a question with bootstrap look and I have come to do a project with codeigniter and bootstrap the problem that I have is that I do not recognize the bootstrap at the time of executing

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">


<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css" integrity="sha384-aUGj/X2zp5rLCbBxumKTCw2Z50WgIr1vs/PFN4praOTvYXWlVyh2UtNUU0KAUhAX" crossorigin="anonymous">


<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="http://code.jquery.com/jquery-1.9.0rc1.js"></script>

<link rel="stylesheet" type="text/css" href="<?= base_url() ?>plantilla/css/home.css">


<title> <?= $title ?></title>

</head>

<body>

here is the code of sight

    
asked by craven 15.07.2017 в 05:08
source

1 answer

1

Good that you show the error that the console gives you would be of more help. But seeing what you have there, I see that the bootstrap and jquery statements are upside down.

Boostrap has Jquery dependency, so jquery should be before bootstrap.

<script src="http://code.jquery.com/jquery-1.9.0rc1.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
    
answered by 15.07.2017 в 06:30