The icon is not working

0
<?php
require_once 'Classes/ProjetosVO.php';
require_once 'Classes/ProjetosDAO.php';

$objBDProjeto=new ProjetosDAO();
$objProjeto= new ProjetosVO();

$rsProjeto= $objBDProjeto->ListarProjetos("1");
$tblProjeto= mysqli_fetch_array($rsProjeto);
?>
<style>
.pasta input[type=radio]{
   display: none;
}.pasta label i.fa:before{
   content: '\f0f4';
   color: #0062cc;
}.pasta  input[type=radio]:checked  ~ label i.fa:before{
   color: #c6c8ca;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script><linkrel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous">      </script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="https://use.fontawesome.com/eb2dfeaa2c.js"></script><br><br><center><h1class="Titulo">Meus Projetos</h1></center>
<div class="pasta">
   <br>
   &nbsp;&nbsp;
   <?php
   $numero=mysqli_num_rows($rsProjeto);
   $i=1;

   while($tblProjeto= mysqli_fetch_array($rsProjeto)){ 
   ?>
   <h1><i class="fa fa-folder-o" aria-hidden="true"></i></h1>

   <?php
      $projeto=$tblProjeto['nome_PROJETO'];
      echo $projeto;
   ?>
   <br>
   &nbsp;&nbsp;
   <?php
   }
   ?>
</div>
    
asked by anonymous 01.12.2017 / 00:21

1 answer

0

You need to add the Font Awesome css tag. Just put the following code.

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

Or you can download it from the site: link and add it to your local folder. In case you have downloaded just add the tag below:

<link rel="stylesheet" href="caminho/para/seu/arquivo/font-awesome.min.css">
    
01.12.2017 / 11:28