Help me in solving JS20C problem

My issue

after writing the same code as given in solution the output is coming but this site is not accepting the answers.

My code

// Step 1: Create a new element of type 'p'
var newPara = document.createElement('p');

// Step 2: Assign values/attributes and set the content = 'paragraph2';
newPara.innerHTML = 'Best place to learn, practice and assess myself';

var paragraph1 = document.getElementById('paragraph1');

Learning course: Web development using JavaScript
Problem Link: CodeChef: Practical coding for everyone