Wykorzystywanie metody createElement do tworzenia nowych elementów