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.

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

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

  • 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
  • Carlos Chavez
    Carlos Chavez
    5,691 Points

    Why did the buffer work before trying to merge content with values?

    Posted July 18, 2020 3:34pm by Carlos Chavez
    Carlos Chavez
    5,691 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Catalina Villalonga
    Catalina Villalonga
    5,760 Points

    Error: ENOENT: no such file or directory

    Posted March 30, 2020 12:58pm by Catalina Villalonga
    Catalina Villalonga
    5,760 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    2 Answers

  • Daniel Benisti
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Daniel Benisti
    Front End Web Development Techdegree Graduate 22,224 Points

    over ride the filecontents variable.

    Posted January 25, 2020 4:23pm by Daniel Benisti
    .a{fill-rule:evenodd;}techdegree seal-36
    Daniel Benisti
    Front End Web Development Techdegree Graduate 22,224 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Jonathan Grieve
    Jonathan Grieve
    91,254 Points

    Error: ENOENT: no such file or directory... when requesting URL.

    Posted January 20, 2020 2:51pm by Jonathan Grieve
    Jonathan Grieve
    91,254 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Henrique Hemerly
    Henrique Hemerly
    8,587 Points

    Content.replace is not a function

    Posted January 1, 2020 1:07am by Henrique Hemerly
    Henrique Hemerly
    8,587 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Routine Poutine
    Routine Poutine
    26,050 Points

    Why are "%%" used for a placeholder and where does this syntax come from?

    Posted July 31, 2019 12:52am by Routine Poutine
    Routine Poutine
    26,050 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Vitaly Khe
    Vitaly Khe
    7,160 Points

    for the error.html we need to pass the object in router.js to have view/mergeContent functions working

    Posted March 17, 2019 10:19am by Vitaly Khe
    Vitaly Khe
    7,160 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Kjetil-Lennart A. Lorentzen
    Kjetil-Lennart A. Lorentzen
    13,390 Points

    {{}} not turning into values, previous solutions not working

    Posted July 16, 2018 8:21pm by Kjetil-Lennart A. Lorentzen
    Kjetil-Lennart A. Lorentzen
    13,390 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    2 Answers

  • Duy Khanh
    PLUS
    Duy Khanh
    Courses Plus Student 4,911 Points

    I can not bind the value ? Help me

    Posted October 26, 2017 9:29am by Duy Khanh
    Duy Khanh
    Courses Plus Student 4,911 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Gerry K
    Gerry K
    5,877 Points

    Getting error: content is not defined

    Posted July 3, 2017 7:18am by Gerry K
    Gerry K
    5,877 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Edwin Carbajal
    Edwin Carbajal
    4,133 Points

    Key values not being rendered in view files :(

    Posted January 18, 2017 7:56am by Edwin Carbajal
    Edwin Carbajal
    4,133 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Ginger Williams
    Ginger Williams
    6,409 Points

    Still getting {{}} for everything except the badges

    Posted October 12, 2016 4:05pm by Ginger Williams
    Ginger Williams
    6,409 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Christopher Parke
    Christopher Parke
    21,978 Points

    Chalkers names his downloadable files poorly.

    Posted August 27, 2016 10:21pm by Christopher Parke
    Christopher Parke
    21,978 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Khaled Pendleton
    Khaled Pendleton
    20,430 Points

    Getting {{variableName}} instead of the actual value

    Posted August 13, 2016 8:04pm by Khaled Pendleton
    Khaled Pendleton
    20,430 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • thimoschroeder
    thimoschroeder
    23,470 Points

    fileContents = mergeValues(values, fileContents) - means exactly what?

    Posted June 24, 2016 7:47am by thimoschroeder
    thimoschroeder
    23,470 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Tim Smith
    Tim Smith
    6,069 Points

    Heads Up, fs.readFileSync() needs to have toString() chained to it

    Posted May 4, 2016 7:43pm by Tim Smith
    Tim Smith
    6,069 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Michael Randall
    PLUS
    Michael Randall
    Courses Plus Student 10,643 Points

    Receiving "Moved Permanently" error message when searching for user profile after changing from https to http.

    Posted February 3, 2016 4:50am by Michael Randall
    Michael Randall
    Courses Plus Student 10,643 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Faddah Wolf
    Faddah Wolf
    12,811 Points

    all valid usernames returning an error, "Moved Permanently." (???)

    Posted January 18, 2016 10:46pm by Faddah Wolf
    Faddah Wolf
    12,811 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    4 Answers

  • Pedro Ferrari
    Pedro Ferrari
    14,295 Points

    TypeError: undefined is not a function

    Posted November 11, 2015 5:45pm by Pedro Ferrari
    Pedro Ferrari
    14,295 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    4 Answers

  • Sergio Cruz
    Sergio Cruz
    15,550 Points

    Error: write after end?

    Posted August 29, 2015 9:49pm by Sergio Cruz
    Sergio Cruz
    15,550 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • George Akinian
    George Akinian
    17,615 Points

    profile page does not load profile information.

    Posted August 7, 2015 12:12am by George Akinian
    George Akinian
    17,615 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Duarte Monteiro
    Duarte Monteiro
    22,300 Points

    What is a buffer?

    Posted April 14, 2015 1:42pm by Duarte Monteiro
    Duarte Monteiro
    22,300 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 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