2076 1

CSC329 ยท 2076 ยท 10 marks

How can you create objects in Javascript? Create a HTML page containing a division with image and its description in paragraph. Write a javascript function to change the value of description in the paragraph during onmouseover and mouseout event on the image.

How can you create objects in Javascript? Create a HTML page containing a division with image and its description in paragraph. Write a javascript function to change the value of description in the paragraph during onmouseover and mouseout event on the image.[10]

Web TechnologyChapter 4: Client Side Scripting with JavaScriptObjects and properties

An object in JavaScript is a collection of key-value pairs (properties and methods).: "Objects are similar to variables but objects can contain many value of different types. The values are written as name:value pairs." --- The simplest and most common method. Properties are defined directly insi...