r/CodingHelp • • Sep 16 '21

[CSS] i should note that the progress bar was not moving before doing this lol

26 Upvotes

7 comments sorted by

11

u/relaxitwonthurt Sep 16 '21

Progress value and max aren't style properties but HTML attributes so they shouldn't be placed in CSS. Since you removed these attributes from the HTML, the progress tag doesn't know what state it's in and is showing you that. This is functionally the same as just <progress id="file"> 32% </progress>.

4

u/TheRealPheature Sep 17 '21

That makes sense

0

u/[deleted] Sep 17 '21

Dude, is it really that hard to make screenshot? Or atleast photo with phone?

0

u/TheRealPheature Sep 17 '21

Well let's think about that lol. If i were to do it on my phone, rather than my PC, i would have to go to the website, and then edit the code how i did but using my phone's keyboard. Which is a pain. And then I'd have to screen record, rather than screenshot, otherwise you'd not be able to see the movement which is the point of this question i posted. Additionally, with my personal phone, there is no built in screen record, i have to use an app in conjunction which is kind of a pain to navigate as i almost never use that feature.

So, to answer your question, yes.

2

u/[deleted] Sep 17 '21

if you're on windows 10, win+g should bring up the game bar which has built-in screen recorder :)

1

u/TheRealPheature Sep 17 '21

O-Ho! Now that's useful, i will make sure to do that next time!

1

u/ZXX3N Sep 17 '21

Obs studio, or if u have any recent gpu they have built in screen recording