/**
 * Day 7 - Objects
 *
 * Activity 1: Object Creation and Access
 *  - Task 2: Access and log the title and author properties.
 */


// creating book object with properties like title, author, and year
let book = {
    title: "JavaScript",
    author: "Bharat",
    year: 2021
};

// Access and printing the title and author properties
console.log("Title: " + book.title);
console.log("Author: " + book.author);