# Build a Motorcycle Shop - Front-End Development Libraries

**URL:** <https://forum.freecodecamp.org/t/build-a-motorcycle-shop-front-end-development-libraries/789785>\
**Category:** General\
**Tags:** español\
**Created:** [May 25, 2026, 5:32am UTC](https://forum.freecodecamp.org/t/build-a-motorcycle-shop-front-end-development-libraries/789785 "2026-05-25T05:32:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPetiit](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jpetiit/32/308267_2.png) [@JPetiit](https://forum.freecodecamp.org/u/JPetiit)\
**Post date:** [May 25, 2026, 5:32am UTC](https://forum.freecodecamp.org/t/build-a-motorcycle-shop-front-end-development-libraries/789785/1 "2026-05-25T05:32:28Z")

</div>

> **[freeCodeCamp.org](https://www.freecodecamp.org/espanol/learn/front-end-development-libraries-v9/lab-motorcycle-shop/lab-motorcycle-shop)**
>
> Aprende a programar, ¡GRATIS!

well, been trying to pass tests from 17 to 24 which in code should be translate to something like this:

```auto
const renderMotorcycleCard = (motorcycle: Motorcycle): string => {
   return `<div class="motorcycle-card">
      <div class="motorcycle-card-image-container">
         <img src="${motorcycle.image_url}" alt="${motorcycle.name}" class="motorcycle-card-image" />
         <span class="motorcycle-card-year-badge">${motorcycle.year}</span>
      </div>
      <div class="motorcycle-card-content">
         <div class="motorcycle-card-header">
            <div>
               <h3 class="motorcycle-card-title">${motorcycle.name}</h3>
               <p class="motorcycle-card-manufacturer">${motorcycle.manufacturer}</p>
            </div>
         </div>
         <span class="motorcycle-card-category">${motorcycle.category}</span>
         <p class="motorcycle-card-description">${motorcycle.description}</p>
         <div class="motorcycle-card-footer">
            <div>
               <p class="motorcycle-card-price">$${motorcycle.price.toLocaleString()}</p>
               <p class="motorcycle-card-engine">Engine</p>
            </div>
            <button class="motorcycle-card-button">View Details</button>
            </div>
         </div>
      </div>`;
};

```

can someone help with these tests? just a hint, not asking for the full code

Advice: it´s in TypeScript

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [June 22, 2026, 5:32am UTC](https://forum.freecodecamp.org/t/build-a-motorcycle-shop-front-end-development-libraries/789785/2 "2026-06-22T05:32:52Z")

</div>

Closed on June 22, 2026, 5:32am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
