Assalamualaikum!

I am Nizam

Student of Batch-7

Digital Watch

Module-42 Practice

Video 42-1 How Browser works, DOM tree, Render Tree

DOM tree and Rander Tree

Video 42-2 BOM vs DOM, Browser API

Video 42-3 Browser alert, confirm, prompt

Video 42-4 Location, URL parts, History api

Video 42-5 Cookies, dev tool application tab, get cookie value

Video 42-6 Set and read Simple value from local storage

Video 42-7 How to set and get objects to local storage

Video 42-8 A simple shopping cart to add product and quantity

Shopping Cart

Video 42-9 (advanced) Local Storage Interactions for a shopping Cart

Video 42-10 Module Summary

QUIZ

Q1: location===window.location is this true or false?
Ans: true

Q2: Why is prompt() used?
Ans: to take input from users

Q3: Full form of BOM in Javascript is---
Ans: Browser Object Model

Q4: Which tab of the chrome browser will show you the cookies stored?
Ans: Application

Q5: If you want to visit "https://www.google.com/" from your site on a button click, which one should you use?
Ans: location.assign;

Q6: Which storage information will not remain after you close the browser?
Ans: session storage

Q7: Which method will you use to store items in local storage?
Ans: localStorage.setItem()

Q8: Which one is true?
Ans: cookies are sent to the server

Q9: Which one will return you all the cookies in a string?
Ans: document.cookie

The End