Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
<script>
let colors=['red','dark','blue','green'];
for(let i=0;i<colors.length;i++){
console.log(colors[i]);
}
<script>
<?php
$colors=['red','dark','blue','green'];
for($i=0;$i<count($colors);$i++){
echo $colors[$i].'<br>';
}
?>