CSS CSS Basics Understanding Values and Units Percentages

Matthew Edey
Matthew Edey
3,549 Points

Is the instructor misspeaking, or am I misunderstanding terminology.

Towards the end of the Percentages video, Guil types a font-size Property with a length of 150%, but in his audio description calls this 150px. I noticed because I first typed off the audio of 150px into the style sheet, which made my text a lot larger in the preview than what was in the video.

Jay Padzensky
Jay Padzensky
4,719 Points

Thanks for the heads up, Matthew! We've reported the issue to our team to review and fix. Much obliged!

David Alton
David Alton
1,700 Points

Hey, @teamtreehouse staff and Jay Padzensky, the instructor's incorrect description, mentioning adding 150px when he should have said 150% has not been corrected - I'm watching this lesson today and it's still present. Just a heads up as it had me scratching my head! :-)

Steven Parker
Steven Parker
203,159 Points

Jay's no longer on the staff, and another bug report to Support might be in order.

3 Answers

Steven Parker
Steven Parker
203,159 Points

Glad I could help. Happy coding!

Steven Parker
Steven Parker
203,159 Points

As you discovered, 150px is really huge. What you see on the screen is the correct value.

You might want to report this as a bug as described on the Support page.