"Fernanda_Objetos"
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 ----------> <!DOCTYPE html> <html> <body> <h2>Exercicio javascript objetcs</h2> <p id="demo"></p> </body> </html>
var carro = { fabricante:"Hyundai", modelo:"HB20", cor:"Preto" }; document.getElementById("demo").innerHTML = " Fabricante : " + "</br> " + carro.fabricante +"</br> " + " modelo : "+"</br> " +carro.modelo+"</br> cor : "+"</br> " +carro.cor;

Related: See More


Questions / Comments: