riocantre

Rio Cantre

Posted on December 5, 2021

Day 81/100 Variables

A value must be placed in the correct form of structure to be utilized efficiently. It uses a known method to gather data and names stored and updated in memory.

Variables

Instructions

To learn more about variables take on these challenges!

  • Create variables and manipulate the values

  • Check what happens when you try concatenating strings using variables of different data types

  • Interpolate multiple variables into a string

  • See what happens when you use console.log() on variables declared by different keywords (const, let, var) before they’re defined. For example:

console.log(test1);

const test1 = 'figuring out quirks';
Enter fullscreen mode Exit fullscreen mode
  • Find the data type of a variable’s value using the typeofkeyword on a variable.

  • Use typeof to find the data type of the resulting value when you concatenate variables containing two different data types.

Code Snippets

const myPet = 'armadillo';
console.log(`I own a pet ${myPet}.`);
// Output: I own a pet armadillo.
Enter fullscreen mode Exit fullscreen mode

a11y myths

Accessibility only affects a small group of users

Not that small. Around 15% of the world's population, or estimated 1 billion people, live with disabilities, they are the world's largest minority. The number of people with disability is dramatically increasing.

resource

💖 💪 🙅 🚩
riocantre
Rio Cantre

Posted on December 5, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Day 88/100 Truthy and Falsy
100daysofcode Day 88/100 Truthy and Falsy

December 12, 2021

Day 86/100 Font Weight
100daysofcode Day 86/100 Font Weight

December 10, 2021

Day 81/100 Variables
100daysofcode Day 81/100 Variables

December 5, 2021

Day 80/100 Semantics
100daysofcode Day 80/100 Semantics

December 4, 2021

Day 79/100 Tables
100daysofcode Day 79/100 Tables

December 3, 2021