Instead of chaining multiple .then() methods, you can use async/await to write more readable and synchronous-like code.

Async/await allows you to handle promises in a sequential and structured manner.

By using async/await, you can write more structured and readable code, making it easier to handle async operations and error conditions.