How do you always come up with those strange and incorrect sentences? Do you really think you can learn English that way? Just read something useful and ask when you have any question. Littering our forum with sentences that don’t make any sense, doesn’t help anyone.[YSaerTTEW443543]
I am worried that your book has printed those bad sentences, assuming you have copied them accurately as you say. If this is representative of the book as a whole (rather than just an isolated glitch) then you should not be using that book.
“in spite of” is a preposition that is always followed by a noun phrase, not a full clause. For example: “In spite of the rain, we went for a walk”. “although” is a conjunction that is followed by a full clause. For example “Although it was raining, we went for a walk.”