Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Michael Williamson
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Michael Williamson
Front End Web Development Techdegree Graduate 23,903 Points

Audio Playlist?

For a musician website, what are some ways to create audio tracks where text such as song name is beside the track. I've got an unordered list but with audio tracks but putting text beside it is where I'm hitting a block??

2 Answers

amadeo brands
amadeo brands
15,375 Points

Heyy your qwestion is a bit unclear ... But I think I have a nice tip for you.

Watch this three house training it tells you all about it :D Watch it from start to finish: https://teamtreehouse.com/library/javascript-loops-arrays-and-objects/tracking-multiple-items-with-arrays/what-is-an-array

huckleberry
huckleberry
14,636 Points

If you're talking about a single line of text that actually changes based on what song is being played, that's gonna involve JavaScript which is something you'll eventually get to.

If you're talking about strictly placing text of the track NEXT to each of the audio tracks that are in the unordered list , then that's gonna involve manipulating the layout/positioning with CSS. Which is also something that you'll eventually get to. And sooner than you think :).

What I'd do for now is put that little project you've got going that you're now stuck on into a "Stuck" folder. I have one of these running for myself. As you learn, when you come across what you think might be the answer, go back into your folder and open that project up and try applying what you think would be the solution based on what you just learned .

Googling, stack-overflow and other places can be fantastic and are truly mandatory tools to learn how to use to find your answer, but there's also a particularly solid benefit to putting something aside, continuing with your coursework , and coming back to it once you hit that lesson material that makes you go "oooh!! That's... I bet this is what I need for that playlist thing. Ok, let me finish this up and then go try it on there."

Nothing makes something stick like an AHA! moment that is then followed by direct application to some problem that YOU yourself have and need solved.

So keep plugging along brother and you'll learn what you need to do that real soon.

Cheers,

Huck - :sunglasses:

p,.s. Also, in the future, if you'd like some more involved help, it would definitely be in your best interest to post the code that you have so far so that people can see what you're working with. :smile: