HackerEarth
Frontend Engineer
CSS Specificity and Selectors
Medium
ROUND 1general_knowledgeCandidate Not Selected
Given the following HTML and CSS rules, what will be the final color of the 'Hi' text? Explain why by discussing CSS specificity, selector priority, and how the result changes if the CSS rules are rearranged.
This question was asked in
HackerEarth Frontend Engineer Interview Experience
The HackerEarth interview process involved a single round and covered a broad range of topics related to CSS, JavaScript, and React. Candidates can expect questions focused on event handling, CSS layout properties, and the workings of React hooks and components. Overall, the interview presented a moderate difficulty level, challenging candidates to demonstrate both their technical knowledge and practical coding skills.