Skip to content

AbiyuTashoma/lesson-task-js1-module1-CreateHTML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript 1 - Module 1

Lesson Task 3

The index.html file links to products.js. Loop through the array in products.js and display each object using HTML.

Provide a default value for the price property if it is missing.

If the product is sold out, display its name in red otherwise display it in green.

Change the properties in the objects in the array to test your code.


product.html links to product.js. Display each property of the object in product.js using HTML.

Provide a default value for the price property if it is missing.

If the product is on sale, underline the name.

Change the properties in the object to test your code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.3%
  • HTML 32.4%
  • CSS 7.3%