Salesforce
Salesforce

Member of Technical Staff 2

Create a Sticky Header

Medium
ROUND 1 : Frontend RoundcodingCandidate Selected

Create a sticky header that remains fixed at the top while scrolling. The header should also keep the content centered using CSS.

Code Snippets
css
/* CSS for sticky header */
.header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1000;
}
.content {
  text-align: center;
}

This question was asked in

Salesforce Member of Technical Staff 2 Interview Experience

The Salesforce interview process was thorough and consisted of four rounds, with a strong emphasis on frontend development and coding skills. The first round primarily included questions on JavaScript events, React optimization, and frontend coding tasks, followed by a coding round that involved algorithmic problem-solving. The latter rounds focused on low-level design and managerial discussions regarding project experiences. Overall, the interview experience at Salesforce was engaging and technical, posing moderate to high difficulty levels for candidates.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Mock Interviews & 1:1 Guidance

Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.

AI Interview Prep

AI interview prep powered by real interview data.

Show Your Love!

Connect with us on social media

Create a Sticky Header | Salesforce Interview Question | InterviewRecap