Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord