"Aurea-Exercicio5"
Bootstrap 4.1.1 Snippet by psd06t

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row mb-2"> <div class="col-md-8"> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-md-12"> <h4 class="text-danger">Automóvel</h4> <hr> </div> </div> <div class="row mb-4"> <div class="col-md-3"> <h5 class="text-secondary">Marca</h5> <p id="demo"></p> <h6><script> document.getElementById("demo").innerHTML = automovel[0]; </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Modelo</h5> <p id="demo"></p> <h6> <script> document.getElementById("demo").innerHTML = automovel[1]; </script> </h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Cor</h5> <p id="demo"></p> <sript> document.getElementById("demo").innerHTML = automovel[2]; </sript> <h6><script> </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Fabricante</h5> <h6><script> document.write(carros[3]); </script></h6> </div> </div> <div class="row mb-4"> <div class="col-md-3"> <h5 class="text-secondary">Ano Fabricação</h5> <h6><script> document.write(carros[5]); </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Ar</h5> <h6><script> document.write(carros[6]); </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Valor</h5> <h6><script> document.write(carros[7]); </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">IPVA </h5> <h6><script> document.write(carros[8]); </script></h6> </div> </div> <div class="row mb-4"> <div class="col-md-12"> <h5 class="text-secondary">Localização</h5> <h6><script> document.write(carros[9]); </script></h6> </div> </div> </div> </div> </div> </div> <div class="row mb-2"> <div class="col-md-8"> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-md-12"> <h4 class="text-danger">Bom saber todas as informações</h4> <hr> </div> </div> <div class="row mb-4"> <div class="col-md-3"> <h5 class="text-secondary">Marca</h5> <h6></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Modelo</h5> <h6></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Cor</h5> <h6></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Fabricante</h5> <h6></h6> </div> </div> <div class="row mb-4"> <div class="col-md-3"> <h5 class="text-secondary">Direção</h5> <h6></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Ano Fabricação</h5> <h6><script> document.write(carros[]); </script></h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Ar</h5> <h6>Petrol</h6> </div> <div class="col-md-3"> <h5 class="text-secondary">Valor</h5> <h6></h6> </div> </div> <div class="row mb-4"> <div class="col-md-12"> <h5 class="text-secondary">Localização</h5> <h6></h6> </div> </div> </div> </div> </div> </div> </div>
var automovel= ["Fiat", "Uno", "Prata","Fiat","Hidráulica","2013","sim","26.000","pago","BH"]; var consumidor =["Aurea","999-9999","Rua das Flores","300","Venda Nova","BH"]; var empresa =["Kleud's Car","999-454a","Av. Gov. Valadares"];

Related: See More


Questions / Comments: