Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

How to make a YouTube loading thin bar to tell us when the page is fully loaded?

How to make a YouTube loading thin bar to tell us when the page is fully loaded?

Would that be with something , with a function like while page loads?

If the page is loading + add width to bar in % of screen and loading time.

If the page is finished loading remove the bar.

But what about the documentation? I'm having a ahrd time to find this method or function.

1 Answer

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

Seems it's more complex than I though it was? : p

Kevin Korte
Kevin Korte
28,148 Points

Lol, that's almost always the case, isn't it?! : )

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

I don't know, so far the stuff I did with JS was fairly easy xdd this seems that it would follow the same logic but it doesn't xd

Sometime yeah, most of the time probably xd hehe

'Try' dissecting this. Oh, okay, I'll try Kevin :p I'll try. Better to try than not right xdd

Kevin Korte
Kevin Korte
28,148 Points

It's my main source of learning. I take stuff like that , break it down line by line, and when I come across something I don't understand, I start googling until I find my answer.

Hopefully that will be a good learning technique for you too.

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

Yes, but I'm just not sure at what point I get overwhelmed xd Because things are either super easy, never did JS and I can do already a modal ... or something like that which is umm. Millions of lines of code heh.

It's sure a good learning process, though it's better to understand slowly more and use that in practice, like you say, though to build up to some level first right.

Btw, I have applied to like 200jobs, and they said they like the sites i did, the learnX and my new portfolio, i got even few interviews oportunity, BUT, they say if I know PHP......

They reject me because of PHP...

I'm almost the right canditate for them..

Do you know PHP? Oh, just basic PHP OOP. Oh umm... okay ..

Also, there are like 1:10 JS to PHP role.. there are thousand of PHP roles.

So the question to you is, xd do you think I should do full-stack as soon as possible? And forget about the fancy stuff with JS? I can figure out the simple stuff with JS like i posted before on the forum, some of them aren't that simple, but I quite like my front-end each day more, epsiecally when I find sites to learn from.

If I was to be able to do a facebook-like site, polish up my skill there and here, then I would be a full-stack, junior web dev right, which means I could apply to any position and definitelly get a job.

Heck, I even got a problem to solve with PHP.. but unfortunatelly I don't know enough PHP to solve it.. so of course I can't go forward with my application. Though that problem was easy, but I can't even do easy PHP now, as i forget it, but I still rememer the conecpt of OOP and some of the real-escape-string and how it works, db connection , mySQL etc.. i just need to put in more time.

So because i have few hundryd pounds, I can go to Poland which i was in Poland.. and pay off those money for 2-3months, and learn PHP 14h a day, and do stuff then, right? it's worth to spend those money to have 3months free, because id deffo learn PHP by that.

I know I said it many times lol but now Im focusing, I learn front-end to a level i like it, maybe few changes there and here, but i learnd it in the last three months, maybe my JS isn't the best.. as it's not, but then i didn't focus on it a lot either.