Skip to content

Printing Product Price with Javascript #71

Description

@Ireti203

This task tests your understanding of creating arrays and objects.

Success Criteria

Using Javascript,

  • Create an array called productList
  • Your productList array should contain 3 objects
  • Each of the objects of the array should have 3 properties (productName, imageUrl and productPrice)
  • Using document.write(), Print out the values in this format < productName > with < imageUrl > is sold for < productPrice >
  • Ensure your PR is created with the task title as seen on the mobile App
  • On your terminal, ensure you are in the tests/product_price_printing directory when you run ./test.sh command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions