JavaScript I

Javascript for Beginners


Progress
Reviewed: 0%
8 Tasks

Embark on your coding journey with our JavaScript Beginner Course! Discover the core concepts of JavaScript, from variables and data types to basic operations. Unleash your potential to create interactive web experiences and build a strong foundation for web development. Join us to unlock the magic of code and shape the future of the web! 🚀💻


  • Day 1
  • Introduction to JavaScript Basics

    Concept:



    Resources:



    Assignments:


    Task 1: Declare Variables

    - Create 3 variables using let, const, and var.
    - Store your age in one,
    - Your name in another,
    - The value of Pi (3.1416) in the last one.

    Task 2: Work with Data Types

    - Create variables for different data types:
      â€¢ A number (e.g., let score = 100;)
      â€¢ A string (e.g., let greeting = "Hello!";)
      â€¢ A boolean (e.g., let isStudent = true;)
    - Print all of them using console.log().

    Task 3: Perform Basic Operations

    - Add two numbers (e.g., 10 + 20) and print the result.
    - Concatenate two strings (your first name + last name).
    - Compare two numbers (5 > 3, 10 == "10", etc.) and print the results.
    - Use logical operators:
      â€¢ true && false
      â€¢ true || false
      â€¢ !true

    Task 4: Small Challenge

    Write a small program that:
    - Stores your name and age in variables.
    - Prints: "Hi, my name is [YourName] and I am [YourAge] years old."
    (Hint: use string concatenation or template literals `Hi, my name is ${name}...`)

    By completing this assignment, you’ll practice declaring variables, using data types, and applying operations — everything we covered today.



  • Day 5
  • Arrays, Array Methods (push, pop, map, filter), and Iteration

    Concept:



    Resources:



    Assignments:


    Create an array of numbers. Use the `map()` method to double each number, and then use the `filter()` method to keep only the even numbers. Finally, use a loop to print the resulting array.



  • Day 6
  • Introduction to Objects and Properties

    Concept:



    Resources:



    Assignments:


    Create an object that represents a book. Include properties like `title`, `author`, `year`, and `isAvailable`. Then, use both dot notation and bracket notation to access and display the book's information.



  • Day 8
  • Fetch API for Making HTTP Requests with Real APIs

    Concept:



    Resources:



    Assignments:


    Create a function that fetches weather information for a specific city from the [OpenWeatherMap API](https://openweathermap.org/api). Display the temperature, weather conditions, and other relevant data in the console.



×

Let's Go!

Congratulations on getting started. Here is a little reward for you...

×

10

Going to the next task in