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


<!DOCTYPE html>
    <title>My teachers</title>
    <h2>My teachers</h2>
    <div class="section">
      <img src=" Fei.svg" alt="Fei">
      <img src=" Sigma.svg" title="Mrs Sigma" alt="Sigma">
      <img src=" Professor.svg" title="Mr Professor" alt="Professor">
      <img src=" Technic.svg" alt="Technic">