🤑 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
  • Crystal Vesely
    Crystal Vesely
    14,540 Points

    Calling querySelector on a variable

    Posted February 16, 2025 8:03pm by Crystal Vesely
    Crystal Vesely
    14,540 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • yazeed asaad
    yazeed asaad
    8,400 Points

    this is the same ?

    Posted March 8, 2024 2:29pm by yazeed asaad
    yazeed asaad
    8,400 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • mark lefler
    mark lefler
    2,662 Points

    (data.message) question

    Posted January 24, 2024 9:48pm by mark lefler
    mark lefler
    2,662 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • jeni josi
    jeni josi
    61 Points

    help please

    Posted October 8, 2022 4:26pm by jeni josi
    jeni josi
    61 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Mitchell Wintrow
    Mitchell Wintrow
    4,380 Points

    app.js:24 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map') app.js:14

    Posted October 20, 2021 7:51pm by Mitchell Wintrow
    Mitchell Wintrow
    4,380 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Johan Berglund
    Johan Berglund
    4,968 Points

    Refactoring generates: app.js:10 Uncaught (in promise) TypeError: res.join is not a function at app.js:10 -

    Posted April 24, 2021 2:33pm by Johan Berglund
    Johan Berglund
    4,968 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Paul Brubaker
    Paul Brubaker
    14,290 Points

    Here is my solution that provides all breeds with their sub-breeds as options.

    Posted March 1, 2021 10:26pm by Paul Brubaker
    Paul Brubaker
    14,290 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Taylor Hall
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Taylor Hall
    Front End Web Development Techdegree Graduate 14,496 Points

    Why did my code not display anything? Please update this workshop to be more layman terms.

    Posted December 7, 2020 11:44am by Taylor Hall
    .a{fill-rule:evenodd;}techdegree seal-36
    Taylor Hall
    Front End Web Development Techdegree Graduate 14,496 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Janelle Mackenzie
    Janelle Mackenzie
    7,510 Points

    URL as template literal?

    Posted October 24, 2020 12:43am by Janelle Mackenzie
    Janelle Mackenzie
    7,510 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Jerome vanGaalen
    Jerome vanGaalen
    18,941 Points

    Only first image loads.

    Posted October 19, 2020 1:44am by Jerome vanGaalen
    Jerome vanGaalen
    18,941 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Joseff Kitchen
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseff Kitchen
    Front End Web Development Techdegree Graduate 16,751 Points

    Image not showing

    Posted September 18, 2020 3:06pm by Joseff Kitchen
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseff Kitchen
    Front End Web Development Techdegree Graduate 16,751 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Jonathan Ambriz
    PLUS
    Jonathan Ambriz
    Courses Plus Student 3,902 Points

    Fetch errors

    Posted September 10, 2020 8:06pm by Jonathan Ambriz
    Jonathan Ambriz
    Courses Plus Student 3,902 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Jonathan Ambriz
    PLUS
    Jonathan Ambriz
    Courses Plus Student 3,902 Points

    Other ways to make fetch modular and easier to maintain?

    Posted September 10, 2020 5:50pm by Jonathan Ambriz
    Jonathan Ambriz
    Courses Plus Student 3,902 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Joanna Suau
    Joanna Suau
    3,754 Points

    Getting the "img not defined" reference error in the console

    Posted June 25, 2020 10:08am by Joanna Suau
    Joanna Suau
    3,754 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Joseph Michelini
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Michelini
    Python Development Techdegree Graduate 18,692 Points

    Why doesn't the fetchData function need to be an async/await function?

    Posted June 2, 2020 9:28pm by Joseph Michelini
    .a{fill-rule:evenodd;}techdegree seal-36
    Joseph Michelini
    Python Development Techdegree Graduate 18,692 Points
    • APIs
    • Create a Reusable Fetch Function

    1 Answer

  • Begana Choi
    PLUS
    Begana Choi
    Courses Plus Student 13,126 Points

    images don't show up except first image

    Posted April 18, 2020 2:43pm by Begana Choi
    Begana Choi
    Courses Plus Student 13,126 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Rishi B
    Rishi B
    13,866 Points

    why 'breed' variable is blank ?

    Posted March 2, 2020 7:38am by Rishi B
    Rishi B
    13,866 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Swan The Human
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Swan The Human
    Full Stack JavaScript Techdegree Student 19,338 Points

    Doggo Select. The images come up upon selecting the breed type but the image doesn't change when i click on it.

    Posted September 4, 2019 12:54am by Swan The Human
    .a{fill-rule:evenodd;}techdegree
    Swan The Human
    Full Stack JavaScript Techdegree Student 19,338 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • tkiajeqgkn
    tkiajeqgkn
    6,667 Points

    What is the 'data' parameter referring to?

    Posted May 15, 2019 7:13pm by tkiajeqgkn
    tkiajeqgkn
    6,667 Points
    • JavaScript
    • Create a Reusable Fetch Function

    1 Answer

  • Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points

    Problem in url

    Posted October 1, 2018 6:59pm by Nour El-din El-helw
    Nour El-din El-helw
    8,241 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • tomd
    tomd
    16,701 Points

    No 'Access-Control-Allow-Origin' when using fetch

    Posted July 18, 2018 4:48pm by tomd
    tomd
    16,701 Points
    • JavaScript
    • Create a Reusable Fetch Function

    2 Answers

  • Christian van Lierop
    Christian van Lierop
    13,758 Points

    What's happening when you replace /hound in the url with ${breed}

    Posted June 5, 2018 2:08pm by Christian van Lierop
    Christian van Lierop
    13,758 Points
    • APIs
    • Create a Reusable Fetch Function

    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.