Question from the Angular - Fundamentals test

How to capitalize the first letter of each word in a string in Angular

Easy

In a component where the welovedevs property contains the string 'welcome to welovedevs' , we have the following HTML:

<span>{{ welovedevs | titlecase }}</span>

What happens to the DOM text?

Author: LéoStatus: PublishedQuestion passed 1203 times
Edit
6
Community Evaluations
developer avatar
jawher
17/10/2022
le mot a afficher est "welovedevs" et non pas "we love devs" donc la derniere reponse est correct
developer avatar
Auteur anonyme
03/11/2023
Non, le mot à afficher est "welcome to welovedevs" donc la bonne réponse avec le pipe est "Welcome To Welovedevs" 2eme réponse