Используйте document.querySelectorAll
document.querySelectorAll
document.querySelectorAll('.titanic')[1]