• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Sean Paulson
    Sean Paulson
    4,940 Points

    My solution using pugjs

    Posted February 23, 2021 5:05am by Sean Paulson
    Sean Paulson
    4,940 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Steve Fau
    Steve Fau
    5,620 Points

    Solution working only halfway, but the code is the same in both cases..?

    Posted December 31, 2020 11:45am by Steve Fau
    Steve Fau
    5,620 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • James Crosslin
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    James Crosslin
    Full Stack JavaScript Techdegree Student 10,168 Points

    My solution to adding the question and answer links

    Posted November 13, 2020 4:43pm by James Crosslin
    .a{fill-rule:evenodd;}techdegree
    James Crosslin
    Full Stack JavaScript Techdegree Student 10,168 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    Cant we just use a(href=`${id}?side=${showSide}`)

    Posted July 7, 2020 8:44pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    What is the purpose of the ID?

    Posted July 7, 2020 8:41pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    404 is returned

    Posted July 7, 2020 8:37pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Zimri Leijen
    Zimri Leijen
    11,700 Points

    my solution

    Posted January 9, 2020 8:53pm by Zimri Leijen
    Zimri Leijen
    11,700 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Bobby Brice
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bobby Brice
    Full Stack JavaScript Techdegree Student 10,909 Points

    anchor tag is displaying, '=sideToShowDisplay' rather than Question and Answer

    Posted December 4, 2019 2:09am by Bobby Brice
    .a{fill-rule:evenodd;}techdegree
    Bobby Brice
    Full Stack JavaScript Techdegree Student 10,909 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • polentz
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    polentz
    Full Stack JavaScript Techdegree Student 11,749 Points

    Why in the pug template he did not have to include the /cards part of the url?

    Posted October 15, 2019 10:36pm by polentz
    .a{fill-rule:evenodd;}techdegree
    polentz
    Full Stack JavaScript Techdegree Student 11,749 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Ran Wang
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ran Wang
    Full Stack JavaScript Techdegree Graduate 32,191 Points

    How can the template read the properties?

    Posted March 20, 2019 3:32pm by Ran Wang
    .a{fill-rule:evenodd;}techdegree seal-36
    Ran Wang
    Full Stack JavaScript Techdegree Graduate 32,191 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Nicholas Smay
    Nicholas Smay
    14,447 Points

    Question link not showing up

    Posted March 19, 2019 11:17pm by Nicholas Smay
    Nicholas Smay
    14,447 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Dehn Hunsworth
    Dehn Hunsworth
    7,189 Points

    cant get server running

    Posted February 21, 2019 5:37am by Dehn Hunsworth
    Dehn Hunsworth
    7,189 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

  • Remi Vledder
    Remi Vledder
    14,144 Points

    Express: Possible to redirect to a random card page that does not have the current cards page ID?

    Posted December 27, 2018 1:56pm by Remi Vledder
    Remi Vledder
    14,144 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    2 Answers

  • Damian McCarthy
    Damian McCarthy
    3,656 Points

    The ID variable comes up as undefined when I click the link, The other variable works fine though

    Posted July 15, 2018 6:06am by Damian McCarthy
    Damian McCarthy
    3,656 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Stephen Powers
    Stephen Powers
    12,078 Points

    Url issues

    Posted June 17, 2018 5:45am by Stephen Powers
    Stephen Powers
    12,078 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Pretty sure his code is wrong!

    Posted March 12, 2018 10:08pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    3 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Getting a 404 when I click the answer link.

    Posted March 12, 2018 5:44pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Again! Haven't a scooby do!

    Posted March 12, 2018 5:27pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    1 Answer

  • Peter Lu
    Peter Lu
    10,612 Points

    My URL has the ID in it as well?

    Posted September 16, 2017 1:00am by Peter Lu
    Peter Lu
    10,612 Points
    • JavaScript
    • Express Basics
    • Parameters, Query Strings, and Modularizing Routes
    • Randomize Cards

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Treehouse Logo
Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Company
Careers
Contact
Library
Tracks
Community
Stories
Perks
Affiliate Program
Treehouse for Libraries
Topics
HTML
CSS
Design
JavaScript
Ruby
View all 24 Topics
Tracks
Front End Web Development
Full Stack JavaScript
Beginning Python
UX: Interaction Design
Digital Literacy
View all 42 Tracks
  • Twitter
  • YouTube
  • FaceBook
  • LinkedIn
  • Instagram
  • About Treehouse
  • Blog
  • Shop
  • Privacy Policy
  • Terms & Conditions
  • © 2021 Treehouse Island, Inc.