HTML image does not want to appear

Asked

Viewed 37 times

-4

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    
    <div class="navbar">
      <div class="container">
         <a class="logo" href="#">Remember<span>That</span></a>

         //essa imagem não aparece
         <img id="mobile-cta" clas="mobile-menu" src=imagens/menu.svg alt="Open Navigation">

         <nav>
             //essa imagem não aparece
            <img id="mobile-exit" clas="mobile-menu-exit" src=imagens/exit.svg alt="Close Navigation">

            <ul class="primary-nav">
                <li class="current"><a href="#">Home</a></li>
                <li><a href="#">Features</a></li>
                <li><a href="#">Pricing</a></li>
            </ul>

            <ul class="secundary-nav">
                <li><a href="#">Contact</a></li>
                <li class="go-premium-cta"><a href="#">Go Premium</a></li>
            </ul>
         </nav>
      </div>
    </div>

    <section class="hero">
        <div class="container">
           <div class="left-col">
               <p class="subhead">It´s nitty &amp; Gritty</p>
               <h1>A task app that doesn´t stink</h1>

               <div class="hero-cta">
                   <a href="#" class="primary-cta">Try for free</a>
                   <a href="#" class="watch-video-cta">
                    <img src="Images/watch.svg" alt="Watch a video">Watch a video
                   </a>   
               </div>
           </div> 

           <img src="images/illustration.svg" alt="illustration">
        </div>
    </section>

    <section>
        <div class="container">
            <ul>
                <li>Unlimited Tasks</li>
                <li>SMS Task Reminders</li>
                <li>Confetti Explosions upon Task Completions</li>
                <li>Social Media Announcements</li>
                <li>Real Time Collaboration</li>
                <li>Other awesome features</li>
            </ul>

            <img src="Images/holding-phone.jpg" alt="Man holding phone">
        </div>        
    </section>

    <section class="testimonials-section">
        <div class="container">
            <ul>
                <li>
                    <img src="Images/person.jpg" alt="Person">

                    <blockquote>"lorem ipsum dolor sit amet</blockquote>
                    <cite>- Jane Doe</cite>
                </li>
            </ul>
            <ul>
                <li>
                    <img src="Images/person.jpg" alt="Person">

                    <blockquote>"lorem ipsum dolor sit amet</blockquote>
                    <cite>- Jane Doe</cite>
                </li>
            </ul>
            <ul>
                <li>
                    <img src="Images/person.jpg" alt="Person">

                    <blockquote>"lorem ipsum dolor sit amet"</blockquote>
                    <cite>- Jane Doe</cite>
                </li>
            </ul>
        </div>
        
    </section>

    <section clas="contact-section">
        <div class="container">
            <div class="contact-left">
                <h2>Contact</h2>

                <form action="">
                    <label for="name">Name</label>
                    <input type="text" id="name" name="name" placeholder="Your name">

                    <label for="message">Message</label>
                    <textarea name="message" id="message" cols="30" rows="10" placeholder="Your message"></textarea>

                    <input type="submit" class="send-message-cta" value="Send message">
                </form>
            </div>

            <div class="container">
                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d52871.821713534206!2d-118.43455355303215!3d34.08261502188597!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80c2bc04d6d147ab%3A0xd6c7c379fd081ed1!2sBeverly%20Hills%2C%20CA%2C%20EUA!5e0!3m2!1spt-BR!2sbr!4v1622067597632!5m2!1spt-BR!2sbr" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
            </div>
        </div>

    </section>

</body>
</html>
  • 1

    Welcome to Stack Overflow! Stack Overflow in Portuguese is a question and answer site for professional programmers and enthusiasts. See on Community Faq some information that may help you improve your question. Also see [Ask] and do our [Tour].

1 answer

1

Missing insert double quotes in src.

//Deve ficar assim
src="imagens/menu.svg"

  • Avoid answering about gross syntax errors. Debugging code is a key task for a programmer and should not be delegated.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.