Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord