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

Impossible to complete task 3. Always fails.

Impossible to complete task 3. Always fails.

2 Answers

Hi, here is how we complete the task three :

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

If that helped you, please mark as best answer to indicate other student your issue is resolved!

With that answer, I get:

Bummer: Unexpected AST node type passed to processExpressionStatement method: VariableDeclaration

Try that :

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

Still does not work:

Bummer: Did you call jQuery with the selector ".profile-text"?