πŸ“Š Fundamentals of Web Designing
Q. How to create a Date object in JavaScript?
  • (A) dateobjectname = new date([parameters])
  • (B) dateobjectname.newdate([parameters])
  • (C) dateobjectname := new date([parameters])
  • (D) dateobjectname date([parameters])
πŸ’¬ Discuss
βœ… Correct Answer: (A) dateobjectname = new date([parameters])
πŸ“Š Fundamentals of Web Designing
Q. Which of the following event fires when the form element loses the focus: <button>, <input>, <label>, <select>, <textarea>?
  • (A) onfocus
  • (B) onblur
  • (C) onclick
  • (D) ondblclick
πŸ’¬ Discuss
βœ… Correct Answer: (B) onblur
πŸ“Š Fundamentals of Web Designing
Q. Which of the following are capabilities of functions in JavaScript?
  • (A) return a value
  • (B) accept parameters and return a value
  • (C) accept parameters
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) accept parameters
πŸ“Š Fundamentals of Web Designing
Q. Which of the following can't be done with client-side JavaScript?
  • (A) validating a form
  • (B) sending a form\s contents by email
  • (C) storing the form\s contents to a database file on the server
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) storing the form\s contents to a database file on the server
πŸ“Š Fundamentals of Web Designing
Q. _____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.
  • (A) client-side
  • (B) server-side
  • (C) local
  • (D) native
πŸ’¬ Discuss
βœ… Correct Answer: (A) client-side
πŸ“Š Fundamentals of Web Designing
Q. When a user views a page containing a JavaScript program, which machine actually executes the script?
  • (A) the user's machine running a web browser
  • (B) the web server
  • (C) a central machine deep within netscape's corporate offices
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) the user's machine running a web browser