Learning JS Course @Sololearn - Day26

Photo by Bram Naus on Unsplash

Learning JS Course @Sololearn - Day26

·

1 min read

Today #day26 of #100daysofcode, I have completed module-2 and code project and lesson 1 of module-3 and a practice program in JS. @Sololearn

String operators

  • JavaScript adds numbers from left to right

Example:

document.write(11+12+"33"); //11+12 & "33" //2333 
document.write(11+"33"+12+10); //11331210

Module - 3: Conditionals and loops

The if Statement

  • if statement contains a specific block of code which holy gets executed if the condition is true. Syntax: if (condition) { statements } Note:
  • alert() will display a pop up in the browser.
  • if case sensitive, If or IF won't work.

Images:

  • 7. day26 JS basic concepts module 2 completed.png

  • 11. day26 lesson 1 completed.png

Conclusion

  • String operators
  • code project
  • Conditionals and loops: The if Statement
  • quiz

My Code:

  • 6. day26 prog prob.png

References Sololearn

Author: Dheeraj.y

Connect with me: