<html>
  <body>
    
   <h2>Daisies are a type of flower. </h2>
    <h3>Let's learn more about daisies.</h3>
    
<p id="daisy"></p> 
    
    <script>
      
      var daisies = {petals:"white", center:"yellow", symbol: "purity"};
      document.getElementById("daisy").innerHTML = "1) The petal color is " + daisies["petals"] + ".";
      
    </script>
   
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.