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

🤑 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

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

  • 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
    • Showing results for:
    • JavaScript
    • Express Basics
    • Serving Static Files in Express
    • Adding Static Assets to the App
    • Close
  • babyoscar
    babyoscar
    12,930 Points

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

    Posted on Feb 5, 2021 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 on Jan 26, 2021 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 on Apr 23, 2020 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 on Jun 7, 2019 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 on May 13, 2019 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 on May 9, 2019 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 on Apr 8, 2019 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 on Oct 31, 2018 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 on Jul 17, 2018 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 on Apr 3, 2018 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 on Jul 17, 2017 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 on Jul 8, 2017 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.