Day 68

Learning to work arrays with the W3 Schools website
#CodingPhase #TheCodingWay #365CodingPhaseChallenge

**********

<body>
  <h2>JavaScript Arrays</h2>
  <p>The length property returns the length of an array.</p>

  <p id="demo"></p>

  <script>
    var fruits = ["Banana", "Orange", "Apple", "Mango"];
    document.getElementById("demo").innerHTML = fruits.length;
  </script>
</body>

Comments

Popular posts from this blog

Day 1

Day 365 + 1

Day 365 + 2