is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
You can achieve this by using below code
- pradnyavetale February 06, 2019<div id="sample">Sample</div>
<script>
function addClass(id){
var elt = document.getElementById(id);
for(let i =1 ; i<arguments.length ; i++){
elt.classList.add(arguments[i]);
}}
addClass('sample' , 'sample','sample_1', 'x');
</script>
Here you are using arguments which is an Array-like object accessible inside functions that contains the values of the arguments passed to that function. And classList.add to add class and classList.remove to remove class.
The Element.classList is a read-only property that returns a live DOMTokenList collection of the class attributes of the element.
Using classList is a convenient alternative to accessing an element's list of classes as a space-delimited string via element.className.