Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Variables and Data Types for Web · Lesson 3 of 5

Strings, Numbers and Booleans – The Three Everyday Data Types

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
3
Variables & Data Types for Web – Module Two

Module Two: Strings, Numbers and Booleans – The Three Everyday Data Types

“Variables & Data Types for Web” – Learn how JavaScript remembers information

Module Introduction

Welcome back, young web coder! In Module One, you learned what variables and data types are. You learned how to create variables with let and const. You also learned how to check a value’s type with typeof.

Now it is time to go deeper into the three most common data types on the web: strings (text), numbers, and booleans (true/false). These three types appear in almost every website you have ever used. A login page uses strings. A shop page uses numbers. A settings page uses booleans.

In this module, we will learn how to work with each of them, how to use their built-in tools, and how to avoid mistakes. By the end, you will be able to build a simple text-and-number based web calculator and much more.

Let’s begin!

Learning Objectives

After finishing this module, you will be able to:

  • Explain what a string is and how to use it.
  • Use string methods like length, toUpperCase, and slice.
  • Join strings with the + operator and template literals.
  • Explain what a number is and how to use it.
  • Use number methods like toFixed and parseInt.
  • Use the Math object for rounding and randomness.
  • Explain what a boolean is and how to use it.
  • Use booleans in simple decisions.
  • Convert between strings, numbers, and booleans.
  • Complete a mini project and practical assignment.

Warm-up Story: Chidi’s Football Stats Page

Chidi is 14 years old and lives in Abuja. He loves football and wants to build a small web page that shows his favourite team’s statistics. The page would show the team name, the number of goals, and whether the team won its last match.

He opened the browser console and created three variables:

let teamName = "Super Eagles";
let goalsScored = 3;
let didWin = true;
  

Chidi explained:

  • teamName is a string — text inside quotes.
  • goalsScored is a number — a value used for counting.
  • didWin is a boolean — either true or false.

Next, he wanted to show the team name in uppercase. He typed:

teamName.toUpperCase();  // "SUPER EAGLES"
  

He wanted to round a decimal goal average. He typed:

let average = 2.6667;
average.toFixed(2);  // "2.67"
  

He wanted to show a random number. He typed:

Math.floor(Math.random() * 10);  // random number 0–9
  

Finally, he used a boolean in a decision:

if (didWin) {
  console.log("Well done, " + teamName + "!");
} else {
  console.log("Better luck next time.");
}
  

Chidi smiled. Strings, numbers, and booleans had made his page come alive.

Moral of the story: Strings, numbers, and booleans are the everyday building blocks of web pages. Each has its own tools, and each behaves in its own way.

Main Lessons

Lesson 1: What is a String?

Definition: A string is a piece of text inside quotes.

Why it is important: Text is everywhere on the web — names, messages, titles, and labels.

Simple explanation: A string is any text wrapped in quotes.

Real-life example: A bank stores customer names as strings.

School example: A teacher stores student names as strings.

Home example: A family stores addresses as strings.

Nigerian example: A trader stores product names as strings.

Illustration:

  let name    = "Ada";
  let city    = 'Lagos';
  let message = "Welcome!";

  typeof name    →  "string"
  

Mini summary: Strings are text inside quotes, either single or double.

Lesson 2: Creating and Combining Strings

Definition: Combining strings means joining two or more strings together.

Why it is important: Websites often show messages like "Hello, Ada".

Simple explanation: The + operator glues strings together.

Real-life example: A bank says "Dear " + customer + "."

School example: A teacher greets: "Hello, " + name.

Home example: A family writes "Happy birthday, " + name.

Nigerian example: A trader sends "Your order of " + qty + " items is ready."

Illustration:

  "Hello, " + "Ada"     →  "Hello, Ada"
  "Total: " + 5000      →  "Total: 5000"
  "5" + 5               →  "55"   (careful!)
  

Mini summary: The + operator joins strings together. Watch out for mixing with numbers.

Lesson 3: Template Literals

Definition: Template literals use backticks (`) to make joining strings easier.

Why it is important: They are cleaner than using + many times.

Simple explanation: They let you put values inside a sentence directly.

Real-life example: A bank writes: `Dear ${name}, your balance is ${balance}`.

School example: A teacher writes: `${name} scored ${score}`.

Home example: A family writes: `We have ${count} eggs left.`

Nigerian example: A trader writes: `Your order costs ₦${price}.`

Illustration:

  let name = "Ada";
  let score = 90;

  `Hello, ${name}! Your score is ${score}.`
  

Mini summary: Template literals use backticks and ${ } for clean strings.

Lesson 4: Useful String Methods

Definition: String methods are built-in tools that work on strings.

Why it is important: They let you change, check, and slice text easily.

Simple explanation: Methods are like tools that do things to your text.

Real-life example: A bank uppercases account numbers.

School example: A teacher finds the length of a student’s name.

Home example: A family trims extra spaces in a shopping item.

Nigerian example: A trader converts a product name to uppercase for invoices.

Illustration:

  let name = "Ada";

  name.length          →  3
  name.toUpperCase()   →  "ADA"
  name.toLowerCase()   →  "ada"
  name.charAt(0)       →  "A"
  name.slice(0, 2)     →  "Ad"
  name.includes("d")   →  true
  "  Ada  ".trim()     →  "Ada"
  

Mini summary: String methods help you change, check, and slice text.

Lesson 5: What is a Number?

Definition: A number is a numeric value used for math and counting.

Why it is important: Numbers are used for scores, prices, ages, and more.

Simple explanation: Numbers can be whole or decimal.

Real-life example: A bank uses numbers for balances.

School example: A teacher uses numbers for scores.

Home example: A family uses numbers for prices.

Nigerian example: A trader uses numbers for quantities and prices.

Illustration:

  let age    = 13;         // whole number
  let price  = 3000.50;    // decimal
  let score  = 90;

  typeof age     →  "number"
  

Mini summary: Numbers are used for math and values like age, price, and score.

Lesson 6: Doing Math with Numbers

Definition: Math with numbers uses operators like +, -, *, /.

Why it is important: Websites constantly calculate totals, averages, and more.

Simple explanation: It is the same math you do in school, but the computer does it instantly.

Real-life example: A bank calculates interest with balance * 0.05.

School example: A teacher averages scores with (a + b + c) / 3.

Home example: A family doubles a recipe with cups * 2.

Nigerian example: A trader calculates total with price * quantity.

Illustration:

  5 + 3     →  8
  10 - 4    →  6
  3 * 4     →  12
  12 / 3    →  4
  2 ** 3    →  8
  10 % 3    →  1
  

Mini summary: Numbers are used with math operators to calculate values.

Lesson 7: Useful Number Methods

Definition: Number methods are built-in tools that work on numbers.

Why it is important: They let you round, format, and convert numbers.

Simple explanation: Methods are like tools that help you work with numbers.

Real-life example: A bank formats money to two decimal places.

School example: A teacher rounds scores to whole numbers.

Home example: A family converts a text price into a real number.

Nigerian example: A trader formats prices with commas.

Illustration:

  let price = 3000.5678;

  price.toFixed(2)          →  "3000.57"
  parseInt("3000")          →  3000
  parseFloat("3000.50")     →  3000.5
  Number("500")             →  500
  

Mini summary: Number methods help you format and convert numbers.

Lesson 8: The Math Object

Definition: The Math object gives you useful math tools.

Why it is important: You need to round, get random numbers, and find the biggest value.

Simple explanation: Math is a toolbox of math helpers.

Real-life example: A bank rounds interest to the nearest naira.

School example: A teacher finds the highest score in a class.

Home example: A family finds the lowest price in a shop.

Nigerian example: A trader picks a random winner for a raffle.

Illustration:

  Math.round(4.6)     →  5
  Math.floor(4.9)     →  4
  Math.ceil(4.1)      →  5
  Math.max(3, 7, 2)   →  7
  Math.min(3, 7, 2)   →  2
  Math.random()       →  0.0 – 0.9999
  

Mini summary: The Math object gives you tools to round, find min/max, and get random numbers.

Lesson 9: What is a Boolean?

Definition: A boolean is a value that is either true or false.

Why it is important: Booleans control decisions on websites.

Simple explanation: A boolean answers yes/no questions.

Real-life example: A bank checks if a customer has paid fees (true/false).

School example: A teacher checks if a student is present (true/false).

Home example: A family checks if the door is locked (true/false).

Nigerian example: A trader checks if a product is in stock (true/false).

Illustration:

  let hasPaidFees = true;
  let isOpen      = false;

  typeof hasPaidFees  →  "boolean"
  

Mini summary: Booleans are true or false values used for decisions.

Lesson 10: Booleans in Real Decisions

Definition: Booleans are used in conditions, like if statements.

Why it is important: Every website decision uses a boolean.

Simple explanation: When a boolean is true, one thing happens. When false, another thing happens.

Real-life example: A bank shows "Welcome" if isLoggedIn is true.

School example: A teacher marks "Present" if isHere is true.

Home example: A family locks the door if isNight is true.

Nigerian example: A trader sells if inStock is true.

Illustration:

  let isOpen = true;

  if (isOpen) {
    console.log("Welcome in!");
  } else {
    console.log("Sorry, we are closed.");
  }
  

Mini summary: Booleans are used to make decisions in code.

Lesson 11: Converting Between Types

Definition: Converting means changing a value from one type to another.

Why it is important: Sometimes a number comes as text, and you need to convert it.

Simple explanation: It is like changing naira to dollars — same value, different form.

Real-life example: A bank converts a typed PIN (string) to a number.

School example: A teacher converts a score from text to number.

Home example: A family converts a typed price to a number before adding.

Nigerian example: A trader converts a WhatsApp price to a number.

Illustration:

  Number("500")         →  500
  String(500)           →  "500"
  Boolean(1)            →  true
  parseInt("500")       →  500
  parseFloat("50.5")    →  50.5
  

Mini summary: Use Number(), String(), and Boolean() to convert values between types.

Lesson 12: Checking Types with typeof

Definition: typeof tells you the type of a value.

Why it is important: It helps you avoid bugs by checking data before using it.

Simple explanation: typeof is like asking, "What is this?"

Real-life example: A bank checks if a value is a number before adding interest.

School example: A teacher checks if a score is a number before averaging.

Home example: A family checks if a price is a number before budgeting.

Nigerian example: A trader checks if a quantity is a number before selling.

Illustration:

  typeof "Hello"   →  "string"
  typeof 42        →  "number"
  typeof true      →  "boolean"
  typeof undefined →  "undefined"
  typeof null      →  "object"
  

Mini summary: typeof tells you the data type of a value.

Lesson 13: Common Mistakes with the Three Types

Definition: Mistakes happen. Knowing them helps you avoid them.

Why it is important: Mixing types gives wrong results.

Simple explanation: Like adding milk to a shoe — the wrong tool for the job.

Real-life example: A bank adds "500" to 1000 and gets "5001000".

School example: A teacher adds "90" and 10 and gets "9010".

Home example: A family adds "5" eggs and 3 eggs and gets "53".

Nigerian example: A trader adds "3000" and 500 and charges the wrong amount.

Table of common mistakes:

MistakeWhat HappensHow to Fix
Mixing strings and numbersWrong resultConvert with Number()
Using quotes on numbersText instead of numberRemove quotes
Forgetting to convert inputWrong mathUse parseInt/parseFloat
Comparing string "5" to number 5Wrong equalityUse === or convert
Using booleans in mathUnexpected numbersKeep booleans for logic
Assuming text is a numberNaN errorsCheck with typeof

Mini summary: Common mistakes: mixing types, forgetting to convert, and using quotes on numbers.

Lesson 14: Best Practices for Strings, Numbers, Booleans

Definition: Best practices are good habits that make code clean and safe.

Why it is important: Good habits prevent bugs and help others read your code.

Simple explanation: Like keeping your tools sharp and organized.

Real-life example: A bank writes clean, safe code.

School example: A student writes neat, readable code.

Home example: A family keeps a tidy shopping list.

Nigerian example: A business writes clear, easy-to-maintain code.

List of best practices:

  • Use template literals for strings.
  • Convert text numbers to real numbers before math.
  • Use === instead of ==.
  • Use toFixed when showing money.
  • Use Math.round when displaying whole numbers.
  • Use booleans for yes/no logic.
  • Check types with typeof.
  • Test in the console.
  • Add comments for tricky values.
  • Keep code readable.

Mini summary: Best practices: template literals, type conversion, and clean code.

Lesson 15: Putting It All Together – Your Type Toolkit

You now know how to work with strings, numbers, and booleans.

What you learned:

  • Strings, how to join them, and string methods
  • Template literals
  • Numbers, math, and number methods
  • The Math object
  • Booleans and how to use them in decisions
  • Type conversion
  • typeof and common mistakes
  • Best practices

Next steps: In Module Three, you will learn about objects, arrays, and special types.

Illustration:

  Your Learning Journey:

  Module 1: Foundations
       |
       V
  Module 2: Strings, Numbers, Booleans
       |
       V
  Module 3: Objects, Arrays, Special Types
       |
       V
  Module 4: Conversion, Scope & Certification
       |
       V
  Data Types Expert 🎉
  

Mini summary: You now have a full toolkit for the three everyday data types.

Key Vocabulary

WordSimple Definition
StringText inside quotes.
NumberA numeric value like 5 or 3.14.
BooleanA true or false value.
Template literalA string using backticks and ${ }.
MethodA built-in tool that works on a value.
ConcatenationJoining strings with +.
parseIntConverts a string to a whole number.
parseFloatConverts a string to a decimal number.
toFixedRounds a number to a set number of decimals.
MathA built-in object of math helpers.
typeofAn operator that tells the type of a value.
NaN"Not a Number" — an invalid number value.
Type conversionChanging a value from one type to another.
camelCaseA naming style like totalSales.
ConsoleA tool for testing JavaScript.

Important Concepts

  • Strings are text: Inside quotes.
  • + joins strings: Concatenation.
  • Template literals are cleaner: Backticks and ${ }.
  • String methods do things: length, toUpperCase, slice, trim.
  • Numbers are for math: Whole and decimal.
  • Number methods format values: toFixed, parseInt, parseFloat.
  • Math helps you round and random: Math.round, Math.random.
  • Booleans are true or false: For decisions.
  • Convert types when needed: Number(), String(), Boolean().
  • typeof checks types: Always be safe.

Step-by-step Explanations

How to create and use a string step by step

  1. Write let name = "Ada";.
  2. Print it with console.log(name).
  3. Try name.toUpperCase().
  4. Try name.length.

How to use a template literal step by step

  1. Write a backtick `.
  2. Type your message with ${value} inside.
  3. Close with another backtick.
  4. Print it in the console.

How to do math with numbers step by step

  1. Create two variables: let a = 10; and let b = 5;.
  2. Try a + b, a * b, etc.
  3. Print the results.

How to format a number step by step

  1. Type let price = 3000.5678;.
  2. Type price.toFixed(2).
  3. Press Enter and see "3000.57".

How to use a boolean step by step

  1. Type let isOpen = true;.
  2. Write an if-statement using isOpen.
  3. Test with false to see the other result.

Real-life Examples

  • Banks: Format money with toFixed(2).
  • Schools: Average scores with numbers.
  • Homes: Track chores with booleans.
  • Shops: Display product names as strings.
  • Web apps: Show greetings with template literals.

Nigerian Examples

  • Lagos traders: Format prices as ₦3,000.00.
  • Abuja banks: Round interest with Math.round.
  • Port Harcourt schools: Average scores with numbers.
  • Onitsha shops: Use booleans for inStock.
  • Kano fintechs: Convert typed amounts to numbers.

Fun Examples Children Can Relate To

  • Pets: petName.toUpperCase().
  • Games: Math.random() for random dice.
  • Snacks: Format the price with toFixed(2).
  • Toys: Use a boolean for "isFavourite".
  • Reading: Count pages with numbers.

Everyday Examples

  • Shopping: Format totals with toFixed(2).
  • Budget: Track "isOverBudget" as a boolean.
  • Time: Convert text hours to numbers.
  • Cooking: Use template literals for recipes.
  • Travel: Round distances with Math.round.

Parent Tips

  • Show how strings appear in real life (names, messages).
  • Practice numbers with shopping or budgets.
  • Explain booleans as "yes/no" or "on/off".
  • Encourage testing in the console.
  • Practice template literals together.
  • Praise curiosity and questions.
  • Keep sessions short.
  • Celebrate small wins.
  • Let them teach you.
  • Support their learning journey.

Interesting Facts

  • Strings can be very long — even whole books.
  • Numbers in JavaScript can be positive or negative.
  • Math.random() never returns exactly 1.
  • Booleans are named after George Boole.
  • toFixed returns a string, not a number.
  • parseInt stops at the first non-number.
  • Template literals can span many lines.
  • Nigerian developers use these types daily.

Did You Know?

  • Did you know "5" + 5 gives "55"?
  • Did you know "5" - 5 gives 0?
  • Did you know Boolean(0) is false?
  • Did you know Boolean("") is false?
  • Did you know Math.max(1, 2, 3) is 3?
  • Did you know strings have a length property?
  • Did you know NaN means "Not a Number"?
  • Did you know typeof NaN is "number"?

Remember This

  • Strings are text inside quotes.
  • + joins strings together.
  • Template literals use backticks.
  • Numbers are for math.
  • toFixed formats money.
  • Math helps with rounding and random.
  • Booleans are true or false.
  • Convert types when needed.
  • typeof checks types.
  • Test in the console.

Common Mistakes

  • Mixing strings and numbers.
  • Using quotes on numbers.
  • Forgetting to convert input.
  • Comparing "5" with 5 using ===.
  • Using booleans in math.
  • Assuming text is a number.
  • Not testing in the console.
  • Using == instead of ===.

Best Practices

  • Use template literals for strings.
  • Convert text numbers to real numbers.
  • Use === instead of ==.
  • Use toFixed for money.
  • Use Math.round for whole numbers.
  • Use booleans for yes/no logic.
  • Check types with typeof.
  • Test in the console.
  • Comment tricky values.
  • Keep code readable.

Illustrations and Diagrams

The Three Everyday Types

  String:   "Ada"          → text
  Number:   42, 3.14       → math
  Boolean:  true, false    → decisions
  

String Concatenation

  "Hello, " + "Ada"  →  "Hello, Ada"
  

Template Literal

  `Hello, ${name}!`
  

Math Rounding

  Math.round(4.6)  →  5
  Math.floor(4.9)  →  4
  Math.ceil(4.1)   →  5
  

Your Learning Journey

  Module 1: Foundations
       |
       V
  Module 2: Strings, Numbers, Booleans
       |
       V
  Module 3: Objects, Arrays, Special Types
       |
       V
  Module 4: Conversion, Scope & Certification
       |
       V
  Data Types Expert 🎉
  

Comparison Tables

String vs Number

FeatureStringNumber
Example"Ada"42
QuotesYesNo
MathNoYes
LengthYesNo

Number vs Boolean

FeatureNumberBoolean
ValuesAny numbertrue or false
UseMathDecisions
Example42true

String Methods

MethodWhat it does
lengthCounts characters
toUpperCase()Makes all caps
toLowerCase()Makes all small
slice()Cut a piece
includes()Check for text
trim()Remove extra spaces

Type Conversion

ConversionExampleResult
String → NumberNumber("500")500
Number → StringString(500)"500"
Any → BooleanBoolean(1)true
Text → IntegerparseInt("500")500
Text → DecimalparseFloat("50.5")50.5

Lesson Summaries

Lesson 1: Strings are text inside quotes.

Lesson 2: + joins strings together.

Lesson 3: Template literals use backticks and ${ }.

Lesson 4: String methods change, check, and slice text.

Lesson 5: Numbers are used for math and counting.

Lesson 6: Math operators calculate values.

Lesson 7: Number methods format and convert numbers.

Lesson 8: The Math object gives rounding, min/max, and random.

Lesson 9: Booleans are true or false.

Lesson 10: Booleans are used in decisions.

Lesson 11: Convert types with Number(), String(), Boolean().

Lesson 12: typeof tells the type of a value.

Lesson 13: Common mistakes: mixing types, missing conversion.

Lesson 14: Best practices: template literals, conversion, clean code.

Lesson 15: You now have a full toolkit for the three everyday data types.

End-of-Module Summary

Congratulations! You have finished Module Two of the Variables & Data Types for Web course. You learned how to use strings, numbers, and booleans. You learned how to join strings with + and template literals. You learned string methods like length, toUpperCase, and slice. You learned how to do math with numbers and use number methods like toFixed, parseInt, and parseFloat. You learned about the Math object for rounding and random numbers. You learned about booleans and how to use them in decisions. You learned how to convert between types and check types with typeof. You learned common mistakes and best practices. Most importantly, you can now work confidently with the three most common data types on the web. In the next module, you will learn about objects, arrays, and special types.

Frequently Asked Questions

  1. What is a string? Text inside quotes.
  2. How do I join strings? Use + or template literals.
  3. What is a template literal? A string using backticks and ${ }.
  4. What is a number? A numeric value like 5 or 3.14.
  5. How do I format money? Use toFixed(2).
  6. What does Math.random() do? Gives a random number between 0 and 1.
  7. What is a boolean? A true or false value.
  8. How do I convert text to a number? Use Number() or parseInt().
  9. What does typeof do? Tells the type of a value.
  10. What is NaN? "Not a Number" — an invalid number value.

Matching Exercises

Match the term to its meaning.

TermMeaning
1. StringA. A true or false value
2. NumberB. Text inside quotes
3. BooleanC. A built-in math tool
4. MathD. A numeric value
5. typeofE. Tells the type of a value

Answers: 1-B, 2-D, 3-A, 4-C, 5-E

Scenario-based Exercises

  1. Scenario: You want to greet the user by name.
    Answer: Use template literals.
  2. Scenario: You want to round a price to 2 decimals.
    Answer: Use toFixed(2).
  3. Scenario: You want a random number 1–6 for a dice.
    Answer: Use Math.floor(Math.random() * 6) + 1.
  4. Scenario: You want a yes/no decision.
    Answer: Use a boolean.
  5. Scenario: You have "500" as text and want to add it.
    Answer: Use Number("500") or parseInt("500").

Group Activity

Title: “Build a Small Bill Calculator Together”

Instructions: In groups of 3–4, create variables for two items (name, price, quantity). Calculate the total using numbers. Format the total with toFixed(2). Show a friendly message with template literals. Present to the class.

Goal: Practice strings, numbers, and template literals.

Individual Activity

Task: In the browser console, create:

  • One string variable.
  • One number variable.
  • One boolean variable.
  • Join two strings.
  • Round a number with Math.round.
  • Use typeof on each.

Write down each and its result.

Mini Project

Project: “My First Shop Receipt”

Create a JavaScript receipt with:

  • Shop name (string).
  • Two products with names (string) and prices (number).
  • Quantities (number).
  • Subtotal for each product.
  • Total using numbers.
  • A boolean for "discountApplied".
  • Final message using template literals and toFixed(2).

Example:

  let shopName = "Sweet Lagos Bakery";
  let item1 = "Cake",  price1 = 5000, qty1 = 2;
  let item2 = "Bread", price2 = 1000, qty2 = 3;
  let discountApplied = true;

  let total = (price1 * qty1) + (price2 * qty2);
  if (discountApplied) total -= 500;

  console.log(`${shopName} — Total: ₦${total.toFixed(2)}`);
  

Practical Assignment

Assignment: Ask a family member about a small business. Then write JavaScript that:

  1. Stores a product name (string) and price (number).
  2. Stores a boolean for "inStock".
  3. Calculates the total for a chosen quantity.
  4. Formats the price with toFixed(2).
  5. Prints a message using template literals.

Submit: Your code and a short explanation.

Key Takeaways

  • Strings are text inside quotes.
  • + joins strings together.
  • Template literals use backticks.
  • Numbers are for math.
  • toFixed formats money.
  • Math helps with rounding and random.
  • Booleans are true or false.
  • Convert types when needed.
  • typeof checks types.
  • Test in the console.

Classroom Discussion Questions

  1. What is the difference between a string and a number?
  2. Why do we use template literals?
  3. What does toFixed(2) do?
  4. How is Math.random() useful?
  5. When would you use a boolean?
  6. What happens when you mix strings and numbers?
  7. How do you convert text to a number?
  8. Why is typeof useful?
  9. What mistakes do beginners make with these types?
  10. What did Chidi learn from building his football stats page?

Preparation for Module Three

In Module Three, we will learn about objects, arrays, and special types. We will cover:

  • Objects and key-value pairs.
  • Arrays and indexes.
  • Array methods like push, pop, unshift, shift.
  • Looping through arrays.
  • null and undefined.
  • Nesting objects and arrays.
  • JSON basics.

To prepare, complete the practical assignment and review the key vocabulary. Practice a few string and number examples in the console. Bring your curiosity!

See you in Module Three!


End of Module Two – Variables & Data Types for Web

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→