Saturday, February 13, 2021

Javascript

jvs

Updated: 13 Feb 2021

Javascript

Today, we will learn very basic Javascript. Put the following content inside the tag script

          
          document.write("Hello the world from Javascript code in Blogger")
          document.write("To break the line, use string tag br")
          document.write("To open the console, press Ctrl+Shift+J")

          let name="Tran Thu Le"
          document.write("My name is ", name)

          let thule={
            name: "Tran Thu Le",
            handsome: true,
            age: 25,
          };
          document.write("My name? ", thule.name)
          document.write("Am I handsome? ", thule.handsome)
          document.write("My age? ", thule.age)
          
          

Then we will get

Popular Posts