caro-oviedo / JS-Misc

Scrimba Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS-Misc

Scrimba Challenge

SUPER CHALLENGE 💪

Render out a card for each of the properties in the propertyForSaleArr array (in the 'properties' folder). Each card should have an image, a property location, a price, a comment and the TOTAL property size in square metres (each object has an array with the size in square metres of the individual rooms).

If no array of properties is passed to getPropertyHtml, the placeholder property stored in placeholderPropertyObj (in the 'properties' folder) should be rendered instead.

Topics to include

  • import/export
  • .map()
  • .join()
  • Object destructuring
  • .reduce()
  • Default parameters

About

Scrimba Challenge


Languages

Language:JavaScript 60.7%Language:CSS 22.2%Language:HTML 17.1%