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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • Avula VenkataBasavaraju
    Avula VenkataBasavaraju
    1,034 Points

    img{ width:100%; max-width: 600px; } When viewport is 720px; what is the width of the image? Please explain.

    Posted March 15, 2024 5:23am by Avula VenkataBasavaraju
    Avula VenkataBasavaraju
    1,034 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Quiz: Box Model Concepts

    1 Answer

  • Waylon Harrison
    Waylon Harrison
    5,561 Points

    id selector?

    Posted February 24, 2024 1:02am by Waylon Harrison
    Waylon Harrison
    5,561 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • Bishwajit Roy
    Bishwajit Roy
    963 Points

    the DRY principle means Don’t ------Yourself.

    Posted April 27, 2023 2:54am by Bishwajit Roy
    Bishwajit Roy
    963 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Quiz: Box Model Concepts

    1 Answer

  • Kushal Paliwal
    Kushal Paliwal
    602 Points

    Select the header element and set its height value to 25% of the viewport's height.

    Posted January 5, 2023 8:11pm by Kushal Paliwal
    Kushal Paliwal
    602 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Dohr Zerkavod
    Dohr Zerkavod
    8,169 Points

    website not changing the style well - workspace malfunction

    Posted September 23, 2022 8:31am by Dohr Zerkavod
    Dohr Zerkavod
    8,169 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • max-width

    2 Answers

  • Brendan O'Connor
    Brendan O'Connor
    4,091 Points

    My friend, can you slow down your typing please?

    Posted June 1, 2022 9:03pm by Brendan O'Connor
    Brendan O'Connor
    4,091 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • vincent favetta
    vincent favetta
    571 Points

    vh

    Posted March 4, 2022 6:05pm by vincent favetta
    vincent favetta
    571 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Ethan Gonzalez
    Ethan Gonzalez
    4,984 Points

    how do i find the viewport hight?

    Posted January 26, 2022 5:29am by Ethan Gonzalez
    Ethan Gonzalez
    4,984 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    2 Answers

  • AJ McGee
    AJ McGee
    4,766 Points

    declaration not working * { box-sizing: border-box; }

    Posted January 12, 2022 10:30pm by AJ McGee
    AJ McGee
    4,766 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Box-sizing

    1 Answer

  • Hannah Lamoureux
    Hannah Lamoureux
    1,810 Points

    Next, select the section element with the class .intro. Set its width value to 75% of the overall viewport width.

    Posted January 12, 2022 6:57pm by Hannah Lamoureux
    Hannah Lamoureux
    1,810 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    Box-height

    Posted September 19, 2021 2:28pm by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    0 Answers

  • Jakov Marsic
    Jakov Marsic
    3,961 Points

    At the end of the video Anwar states how there is an issue with some content overlapping with other content

    Posted July 8, 2021 10:37am by Jakov Marsic
    Jakov Marsic
    3,961 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points

    how do i do the overall viewport width

    Posted April 15, 2021 1:22pm by Shivon Kunondjo Hindjou
    Shivon Kunondjo Hindjou
    1,402 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Alana Warson
    Alana Warson
    5,296 Points

    Set header element and set it's value to 25% of viewpoint height.

    Posted March 2, 2021 4:07pm by Alana Warson
    Alana Warson
    5,296 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    3 Answers

  • John Holcombe
    John Holcombe
    1,136 Points

    Viewpoint Width

    Posted January 19, 2021 6:04pm by John Holcombe
    John Holcombe
    1,136 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    3 Answers

  • Marquis Briggs
    Marquis Briggs
    8,967 Points

    How can I make the header element 25% of the viewpoint height in CSS?

    Posted January 14, 2021 1:04pm by Marquis Briggs
    Marquis Briggs
    8,967 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

  • Larissa Ragland
    Larissa Ragland
    6,653 Points

    Challenge task 2 of 2 having problems

    Posted January 11, 2021 2:08pm by Larissa Ragland
    Larissa Ragland
    6,653 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    2 Answers

  • Hannah Gray
    Hannah Gray
    2,318 Points

    Select the header element and set its height value to 25% of the viewport's height.

    Posted January 10, 2021 1:33am by Hannah Gray
    Hannah Gray
    2,318 Points
    • CSS
    • CSS Layout
    • Box Model Concepts
    • Viewport Units

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.