There are 4 images added to the document. Not all of them have a title attribute.
Write an internal script that checks if images have this attribute.
If it does not exist, add it with a value equal to the alt attribute of the image.
Use the internal script.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

index.html

<!DOCTYPE html>
<html>
  <head>
    <title>My teachers</title>
  </head>
  <body>
    <h2>My teachers</h2>
    <div class="section">
      <img src="https://learn.coderslang.com/avatar Fei.svg" alt="Fei">
      <img src="https://learn.coderslang.com/avatar Sigma.svg" title="Mrs Sigma" alt="Sigma">
      <img src="https://learn.coderslang.com/avatar Professor.svg" title="Mr Professor" alt="Professor">
      <img src="https://learn.coderslang.com/avatar Technic.svg" alt="Technic">
    </div>
  </body>
</html>