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

New No-Code Track! 🚀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
    • 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
  • 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
  • babyoscar
    babyoscar
    12,930 Points

    Not sure how to use the files from the teacher notes with my application

    Posted February 5, 2021 10:19pm by babyoscar
    babyoscar
    12,930 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Tyler Pfledderer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tyler Pfledderer
    Full Stack JavaScript Techdegree Graduate 33,890 Points

    Link to assets in teachers notes not initializing download of zip file.

    Posted January 26, 2021 9:22pm by Tyler Pfledderer
    .a{fill-rule:evenodd;}techdegree seal-36
    Tyler Pfledderer
    Full Stack JavaScript Techdegree Graduate 33,890 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Tom Schneider
    Tom Schneider
    6,560 Points

    Style.css file of the solution is buggy (258, padding left, pointation error)

    Posted April 23, 2020 7:39am by Tom Schneider
    Tom Schneider
    6,560 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Julianna Kahn
    Julianna Kahn
    20,702 Points

    I added "return" as specified and although the code performs as expected, I continue to get error messages in the consol

    Posted June 7, 2019 7:49pm by Julianna Kahn
    Julianna Kahn
    20,702 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Othneil Drew
    Othneil Drew
    22,681 Points

    Too many redirects for handling error where side doesn't equal 'question' or 'answer'?

    Posted May 13, 2019 1:00pm by Othneil Drew
    Othneil Drew
    22,681 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    3 Answers

  • Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points

    linking to client side javascript file in pug

    Posted May 9, 2019 7:33pm by Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    0 Answers

  • Vlad Tanasie
    Vlad Tanasie
    7,201 Points

    What might be the cause of this? TypeError: app.use() requires middleware functions

    Posted April 8, 2019 8:46am by Vlad Tanasie
    Vlad Tanasie
    7,201 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Michael Pashkov
    Michael Pashkov
    22,024 Points

    Why didn't we include meta in the layout?

    Posted October 31, 2018 4:50pm by Michael Pashkov
    Michael Pashkov
    22,024 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    0 Answers

  • Ellis Corio
    Ellis Corio
    22,035 Points

    return statement in if statement

    Posted July 17, 2018 11:51am by Ellis Corio
    Ellis Corio
    22,035 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Neil Bircumshaw
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Neil Bircumshaw
    Full Stack JavaScript Techdegree Student 14,597 Points

    Refusing to apply styles due to MIME type ("text/html")

    Posted April 3, 2018 5:39pm by Neil Bircumshaw
    .a{fill-rule:evenodd;}techdegree
    Neil Bircumshaw
    Full Stack JavaScript Techdegree Student 14,597 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    3 Answers

  • mbflwrz
    mbflwrz
    15,809 Points

    Empty compressed file folder download

    Posted July 17, 2017 10:46pm by mbflwrz
    mbflwrz
    15,809 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    1 Answer

  • Oliver Statt
    Oliver Statt
    5,175 Points

    Other solution instead of redirect also possible?

    Posted July 8, 2017 9:59am by Oliver Statt
    Oliver Statt
    5,175 Points
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App

    2 Answers

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.