How do i make heading change in HTML?

I'm trying to make a website where I want the text to show my roles and change it every 2 seconds automatically. Where it shows my [roles] for example: "I'm a YouTuber" and I want the "YouTuber" to change into "Developer" every 2 seconds [YouTuber and Developer are the roles].

How do i do that?

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer

@NFadhlurrahman thanks man