🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Kaya loves watermelon
    Kaya loves watermelon
    12,717 Points

    The audio element

    Posted December 19, 2023 2:32pm by Kaya loves watermelon
    Kaya loves watermelon
    12,717 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Sebin Kim
    Sebin Kim
    6,976 Points

    Code format exactly the same with the lecture example, working well. But incorrect message

    Posted December 4, 2022 4:44am by Sebin Kim
    Sebin Kim
    6,976 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Sarah Jane Villadoz
    Sarah Jane Villadoz
    883 Points

    My code not working, asking to be sure to add a src attribute to <audio> tag. I followed instructions from video

    Posted June 17, 2021 6:48am by Sarah Jane Villadoz
    Sarah Jane Villadoz
    883 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Kenneth Durham
    Kenneth Durham
    3,613 Points

    i added the source attribute and it runs but the test says i have not added it.

    Posted May 21, 2021 7:26pm by Kenneth Durham
    Kenneth Durham
    3,613 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Calvin Wang
    Calvin Wang
    6,709 Points

    I added the src attribute but I am still receiving an error saying that I need to add it. Am I missing something?

    Posted May 20, 2021 11:09pm by Calvin Wang
    Calvin Wang
    6,709 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Sev Rob
    Sev Rob
    3,273 Points

    On the <audio> tag, add the proper type attribute that corresponds to the source file. What am I doing wrong?

    Posted November 22, 2018 8:07am by Sev Rob
    Sev Rob
    3,273 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • mo sleiman
    mo sleiman
    2,743 Points

    On the <audio> tag, add the proper type attribute that corresponds to the source file.

    Posted June 26, 2018 4:32pm by mo sleiman
    mo sleiman
    2,743 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • mo sleiman
    mo sleiman
    2,743 Points

    n the <audio> tag, use the src attribute to add this URL as the audio file. http://treehouse-code-samples.s3.amazonaws.c

    Posted June 26, 2018 3:33pm by mo sleiman
    mo sleiman
    2,743 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    5 Answers

  • Godwin Mugando
    Godwin Mugando
    6,886 Points

    help me guys ... am lost

    Posted May 17, 2018 4:14pm by Godwin Mugando
    Godwin Mugando
    6,886 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • mohammad faisal
    mohammad faisal
    2,554 Points

    Hi, I couldnot find my mistake, need some help. Thanks

    Posted February 27, 2018 11:43pm by mohammad faisal
    mohammad faisal
    2,554 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Laura Rodriguez
    Laura Rodriguez
    8,284 Points

    I can't see the mistake...

    Posted January 2, 2018 5:07am by Laura Rodriguez
    Laura Rodriguez
    8,284 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • Karan Mehta
    Karan Mehta
    8,911 Points

    For below challenge, I am not able to pass.

    Posted October 12, 2017 3:10pm by Karan Mehta
    Karan Mehta
    8,911 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • Randy Hall
    Randy Hall
    2,940 Points

    Code seems OK but I'm getting the "Bummer" comment with a reminder to add an src. My code seems OK.

    Posted October 9, 2017 4:03pm by Randy Hall
    Randy Hall
    2,940 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • Renato Gama
    PLUS
    Renato Gama
    Courses Plus Student 12,514 Points

    What is wrong with the SRC attribute?

    Posted July 5, 2017 2:09pm by Renato Gama
    Renato Gama
    Courses Plus Student 12,514 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    3 Answers

  • Kang Lim
    Kang Lim
    2,763 Points

    How to add an src to http:/ /treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/brhidge-audio.mp3

    Posted July 1, 2017 4:44am by Kang Lim
    Kang Lim
    2,763 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    2 Answers

  • Khaleel Jones
    Khaleel Jones
    13,783 Points

    I need help figuring this out. On the <audio> tag, add the controls attribute.

    Posted June 14, 2017 5:13pm by Khaleel Jones
    Khaleel Jones
    13,783 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Kerry Liethen
    Kerry Liethen
    1,605 Points

    I wrote the correct line of code for the example, but it's still marking it as a "bummer.

    Posted June 5, 2017 1:52pm by Kerry Liethen
    Kerry Liethen
    1,605 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

  • Alexa Williams
    Alexa Williams
    67 Points

    How to add an src attribute to <audio> element.

    Posted May 29, 2017 5:22pm by Alexa Williams
    Alexa Williams
    67 Points
    • HTML
    • HTML Video and Audio
    • Media Basics
    • The Audio Element

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.