Posts

Showing posts from July, 2022

CODING TIPS FOR BEGINNER

Image
  CODING TIPS *** Rules We Should Follow *** Focus on the Fundamentals…… Name should be readable and   simple. Name should be meaningful…… Code formatting is necessary because your code  makes it easier to read… Use command line because users can easily understand why you use this line of code……. Write own sudo codes…. Watch coding videos …….. READ BOOKS….… ⬇️ Enhances your knowledge. … Increases your imagination and creativity…… Practice, practice, practice………. Use name casing…… ⬇️ FOR EXAMPLE:- *To create an user object like names,email,age ,array,etc., BAD NAMES ⬇️ *Avoid Meaningless Names* -let foo = 'what is foo??'; -let names(){ name1=pikachu; name2=bk; } *Avoid single letter names* -let x= [1,2,3,4,5]; *Avoid Abbreviations* -let cat = 'cat or category??'; GOOD NAMES ⬇️ *Name should be meaningful* -ler arr=[1,2,3,4,5]; -const person = { firstName: "pikachu", lastName: "bk", age: 18, eyeColor: "black" }; -const square = functi...