Using JavaScript, is it possible to display an HTML element only if a certain condition is met? - Quora
![Instead of returning the body element Why my command document.firstElementChild.secondElementChild returns undefined? - JavaScript - The freeCodeCamp Forum Instead of returning the body element Why my command document.firstElementChild.secondElementChild returns undefined? - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/optimized/3X/5/0/50d3cbbbecc1f601c467cb896a1989acbd6b1ac4_2_690x387.png)
Instead of returning the body element Why my command document.firstElementChild.secondElementChild returns undefined? - JavaScript - The freeCodeCamp Forum
![javascript - document.body.append(document.createElement('p').innerHTML="this is p") behaving differently if I give them in separate statements? - Stack Overflow javascript - document.body.append(document.createElement('p').innerHTML="this is p") behaving differently if I give them in separate statements? - Stack Overflow](https://i.stack.imgur.com/QGNJF.png)