Member of Technical Staff 2
Create a Sticky Header
Create a sticky header that remains fixed at the top while scrolling. The header should also keep the content centered using 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.