Get Started With Coding: Learn This Line Of Code!


this is it guys in this video I will teach you how to code and how powerful one line of code can be in just two minutes are you ready but first of all did you hear that Elon Musk became the first man on the planet to drive a Tesla on Mars that’s crazy right so in this video I will teach you how to make text on any web page in the world editable for this we’re gonna open up Google Chrome and you have to use Google Chrome and in my case I’m gonna open Google News next up I’m gonna right-click and select inspect from the menu inspect opens up Google developer tools and here we’re gonna select console which is an executable JavaScript console so that means he can write code right in your browser that’s amazing right so we’re gonna say document dot body dot content editable equals true what this means is that document accesses the web page dot body accesses the body of this web page and constant editable is a property of the body of the document that we can set to either true or false which means exactly that you’re telling the computer to either said this web page to be editable or not so in this case we’re gonna set it to true because we want to add in the contents of the web page now press Enter and here we go now you can have fun and added any it’s done any webpage you want but guys with great powers comes great responsibility so stay out of trouble thank you so much for watching if you guys liked this video and found it useful please please please share it with your friends I hope you have a wonderful rest of the day and bye for now [Music]

Leave a Reply

Your email address will not be published. Required fields are marked *