Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Study Up on Browsers and Events

Learning Objectives

After completing this unit, you’ll be able to:

  • Utilize events, event handlers, and propagation.
  • Evaluate and manipulate the Document Object Model (DOM).
  • Implement the browser dev tools to investigate code behavior.
  • Describe browser-specific APIs.

Key Topics

This unit prepares you for the Browsers and Events section of the Salesforce JavaScript Developer I multiple-choice exam, which makes up 17% of the overall exam. This section of the exam tests these topics.

  • Event handlers
  • DOM manipulation
  • Event objects
  • Default actions
  • Pointer events
  • Timers
  • Debouncing

This unit provides a number of interactive, real-world, scenario-based questions that are a lot like the ones you'll encounter as a JavaScript developer. Looking at these scenarios helps prepare you to take the Browser and Events section of the Salesforce JavaScript Developer I multiple-choice exam. As you tackle the practice questions, you get immediate feedback on your answers, along with detailed information on why your answers are correct (or incorrect).

  • The unit also contains interactive flashcards centered around study topics that help you prepare for the Browser and Events section of the exam.

Download the Guide

Would you like a hard copy of this module’s content as a study aid? Download the JavaScript Developer I Certification Prep: Browsers and Events, Asynchronous Programming, and Server-Side JavaScript guide. (Each module in this trail includes a link to a printable version of the content that you can download.)

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it's just an easy way to quiz yourself. To use it, read the scenario, then click the answer you think is correct. Some questions may have more than one correct answer. Click Submit to learn whether the answer you chose is correct or incorrect, and why. If there’s a longer explanation, click Expand button and then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.

Did you get a scenario wrong? Check out the table below for related study material.

Scenario 1
Learn about event targets by reading MDN web docs: EventTarget.addEventListener.
Scenario 2
Review browser history to learn how to manipulate and monitor it.

Exam Topic Flashcards

The following flashcards cover Browsers and Events. Use these interactive flashcards to brush up on some of the key topics you'll find on this part of the exam.

Read the question or term on each card, then click or tap the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Did you get a flashcard wrong? Check out the table below for related study material.

Flashcard 1
Study up on events by reviewing MDN web docs: Introduction to events.
Flashcard 2
Review the various parts of the Document Object Model (DOM).

Looking for more information? Explore these related badges.

Badge
Content Type
JavaScript Skills for Salesforce Developers badge. JavaScript Skills for Salesforce Developers
Module
Modern JavaScript Development badge. Modern JavaScript Development
Module

You've reviewed browsers and events. Next, let’s take a look at asynchronous programming techniques.

Resources

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios