nction">then</span><span class="token punctuation">(</span>uploadTrendyPhotoAlbum<span class="token punctuation">)</span>
                <span class="token punctuation">.</span><span class="token function">then</span><span class="token punctuation">(</span>displaySuccessMessage<span class="token punctuation">,</span> handleErrors<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span aria-hidden="true" class="line-numbers-rows"><a href="#C2_L1" id=C2_L1></a><a href="#C2_L2" i