BloggingWithShanti
Apr 28 · 2 min read
  • syntax = var i = 5; .
  • syntax for function = function ¨name¨ (¨parameter1, parameter2, parameter3){
  • // the code is to be executed
  • }
  • ¨the javascript concept javascript strings is zero or more characters written inside the quote marks.¨
  • syntax: var carName1 = ¨ volvo¨
  • syntax: var lego = 3123
  • syntax: if (condition) {
  • }
  • syntax: document.getElemntById (¨demo¨).innerHTML = ¨hello world¨;
  • syntax: document.addEventListner (¨event¨, ¨function¨, usecapture)
  • syntax : firstName, masterCard , favFood.
  • syntax: some_awesome_var
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade