It is not accepting my code when I have typed it right


#1

I have typed the right code in the window but it's showing this message:-

Oops, try again. It looks like you printed 'Python'--that's one of the original elements! Make sure to print your modified element.

But it's showing my modified element in the preview window. What Should I do?


#2

Could you paste in your code so we can have a look :slight_smile:


#3

Yeah sure! Here's my code:-

  <?php
        $languages = array("HTML/CSS",
        "JavaScript", "PHP", "Python", "Ruby");
        
        echo $languages[1];
        
        $languages[1] = "AngularJs";
        
        echo $languages[1];
        
        // Write the code to modify
        // the $languages array!
        
      ?>

#4

Remove this line ^  


#5

1st one or the other one


#6

First one