JavaScript jQuery Basics Introducing jQuery Using text() and html()

please I need help with this article, please...

help this challenge 3 of 3 on jQuery Basics

1 Answer

Dimitar Dimitrov
Dimitar Dimitrov
11,788 Points

You need to select h1 element by its class name and then use jQuery html() method to set its content like this:

$('.profile-header').html('Student <span>Profile</span>');