Assessment wanted for Conditionals 2 skill test

let response;
let score = 23;
let machineActive = true;

// Add your code here
if(machineActive === true){
if( score < 0 || score > 100){
response =‘This not possible,an error occured’;
}
if( score > 0 || score <= 19){
response = “That’s a terrible score - total fail”;
}
if(score >= 20 || score<= 39){
response = “You know some things, but it’s a pretty bad score. Needs improvement.”
}
if(score >= 40 ||score <= 69){
response = “You did a passable job, not bad!”;
}
if(score >= 70 || score <= 89){
response = “That’s a great score, you really know your stuff.”
}
if(score >= 90 || score < 100){
response = “What an amazing score! Did you cheat? Are you for real?”
}

}
else{
response = “”;
}

// Don’t edit the code below here!

section.innerHTML = ’ ';
let para1 = document.createElement(‘p’);
let para2 = document.createElement(‘p’);

para1.textContent = Your score is ${ score };
para2.textContent = response;

section.appendChild(para1);
section.appendChild(para2);

Hi @Awal_Mohammed_Rabiu, and welcome to the community!

So I can test this easily, can you please put it into an online shareable code editor (like Codepen) and give me the URL?

@chrisdavidmills .Thanks alot but I just figured it out.

OK, as long as you are happy :wink: