Q1: Which tag will you put the main heading content of a website? (I told you to revise html5 ! if needed google it now)
Ans: header
Q2: How do you make an inline element act like a block element?(don’t forget CSS either)
Ans: display: block;
Q3: Which tailwind class will you use to align text in the middle of the web page? (if needed check their website)
Ans: text-center;
Q4: Display 1250 for document.getElementById(“balance”).___?___ = 1250;
Ans: innerText
Q5: Which one of the below is the correct way to declare a password input field?
Ans: <inpute type="password"/>
Q6: Which code will redirect you to the pHero.html page?
Ans: window.location.href='pHero.html'
Q7: Which tailwind class will you use for background color?
Ans: bg-green-400
Q8: How to empty an input field?
Ans: value ='';
Q9: ____?___ converts a string to floating point numbers.
Ans: parseFloat();
Q10: If “para1” is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?
Ans: para1.innerText = 'New Text;