Skip to content

opher-dev/team-fresh

Repository files navigation

Javascript Intro

Comments

types of Comments

  • single line Comments
  • multi-line comments
   // this is a single line comment
   let a = b+c // add b and and results returned by a

   /** this is block comment */ 

   /** adds two numbers: a and b 
   *
   */
   const add=(a,b) => a+b

variables

  • let
  • var
  • cosnt

Data Types

javascript has a number of data types => Data structures

  • number 1,2 ,3, 4,
  • arrays - map, forEach, loops,
  • strings - split, lenth
  • objects {} -> one of the complex types. JSON: JavaScript Objects Notation , namespace

Functions

  • Types of functions : named functions and arrow functions
  • creating re-usable functions

Control Flow

  • if statemenst
  • switch statements
  • tenary operators

Dom Manipulation

  • create elements dynamicslly
  • crreate attributes
  • styling htm using js
  • creating tables using dynamic data object or arrays

Fetch data from API (Fetch API)

  • Promises -
  • async/await -
  • using the remote data in HTML

Create An API (Backend Dev)

  • create data
  • fetch the data

Deploy The application

  • deploy to Github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •