home.social

#codingday — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #codingday, aggregated by home.social.

  1. #100DaysOfCode : #VanillaJS

    #Day28 : Array Exercices part III from #30DaysOfJavascript

    Source Code : github.com/teotimepacreau/Arra

    - array destructuring with... in order to use Math.min() and Math.max() (because they only works on numbers and not on an array)
    - reduce in order to calculate a sum of elements necessary to an average
    #WebDev #Frontend #WebDesign #LearnWebDev #Javascript #LearnToCode #CodingDay #FrontendDevelopment #CodingChallenge #LearnCode #WebDevelopment #LearnJavascript #JS

  2. #100DaysOfCode : #VanillaJS

    #Day25 : Functions Exercices from #30DaysOfJavascript

    Source Code : github.com/teotimepacreau/Func

    - reminded multiple parameters
    - concatenation of string, math operations
    - multiple if conditions
    switch/case statements in order to take several conditions
    - looping through an array and displaying each entries
    #WebDev #Frontend #WebDesign #LearnWebDev #Javascript #LearnToCode #CodingDay #FrontendDevelopment #CodingChallenge #LearnCode #WebDevelopment #LearnJavascript #JS

  3. #100DaysOfCode : #VanillaJS

    #Day24 : Loop Exercices from #30DaysOfJavascript

    Source Code : github.com/teotimepacreau/Loop

    - constraint number of iterations with for(i=0; i<=array.length; i++)
    reverse iteration with for(i=countries.length-1; i>=0 ; i--)
    - repeat() string method associated with for(i)
    - generate a random 6 characters ID

    #WebDev #Frontend #WebDesign #LearnWebDev #Javascript #LearnToCode #CodingDay #FrontendDevelopment #CodingChallenge #LearnCode #WebDevelopment #LearnJavascript #JS