Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript - Tricks and Workarounds
Rating: 4.0 out of 5(139 ratings)
1,417 students

JavaScript - Tricks and Workarounds

Explanation of JavaScript coupled with awesome code examples that are readable and easy to understand
Created byIT Solutions
Last updated 4/2016
English
English

What you'll learn

  • Implement dynamic websites using JavaScript
  • Understand JavaScript code
  • Avoid typical mistakes developers have and fix issues quickly

Course content

3 sections67 lectures5h 1m total length
  • Introduction to course - what we'll learn together0:45

    Explore JavaScript fundamentals like syntax, variables, objects, and functions while learning about ajax and local storage, and tackle common web development problems with modern JavaScript tricks.

  • Introduction to JavaScript - putting it in Head3:53

    Learn the basics of JavaScript by embedding scripts with script tags, using document.getElementById to select elements, and updating text via innerHTML, with code placed in head, body, or external files.

  • JavaScript in Body and External3:25

    Invoke a JavaScript function by name, wire it to a button click, and update page text with document.getElementById.

  • WindowAlert andd DocumentWrite1:57

    Explore outputting data with JavaScript using window.alert and document.write to display messages and add content to the document via innerText or innerHTML.

  • InnerHTML and ConsoleLog2:50

    Learn to output data with JavaScript by changing DOM elements via getElementById and innerHTML, and log messages to the console using console.log in browser developer tools.

  • JavaScript Identifiers and Assingment Operator5:31

    Learn how to name JavaScript variables with meaningful camel case identifiers, note that variables are case sensitive, avoid reserved words, and understand the assignment operator with basic examples.

  • Declaring Variables and Re-Declaring1:56

    Learn how to declare variables in JavaScript with var, assign values like banana to a fruit name, and understand why re-declaring the same variable keeps its original value.

  • Concept of DataTypes and Strings4:45

    Explore data types in JavaScript, focusing on numbers and strings, type conversion and concatenation when combining values. Learn to manipulate DOM elements with getElementById and innerHTML to display string data.

  • Number Types and Boolean Types3:58

    Explore the numbers data type in JavaScript, including whole numbers, decimals, and scientific notation, and introduce boolean values, true and false, for use in conditional statements.

  • Undefined Type and Empty Values3:24

    Explore how undefined acts as a data type, distinguish it from an empty string, and view type checks and basic DOM updates in JavaScript.

  • Function Declarations and Expressions3:52

    Explore function declarations and function expressions in JavaScript, passing parameters, returning values, and invoking functions to update page content with results.

  • Function Contructor and Self-Invoking Function3:09

    Explore function constructors and self-invoking functions in JavaScript, showing how to create functions with the new keyword, pass parameters, set inner values, and invoke them automatically.

  • Functions are Objects2:35

    Explore how functions are objects in JavaScript, with properties and methods you can access, and use the arguments object and its length to count parameters.

  • Objects and Accessing Properties4:59

    This lesson introduces objects in JavaScript using an object literal called person with properties like first name, last name, age, eye color green, and a property used as a method.

  • Accessing Object Methods and Null3:29

    Create object methods by storing functions as properties and invoking them to return values like full name; explore using this, and distinguish no from undefined in JavaScript.

  • Difference between Undefined and Null2:09

    Explore the difference between undefined and null in JavaScript, noting that undefined is a type and null is an object, and use undefined when declaring variables to be assigned later.

  • Local and Global Variables4:42

    Learn how scope in JavaScript controls accessibility between local variables inside functions and global variables accessible across the script, illustrated by a local greeting versus a global greeting.

  • Automatically Global2:18

    Discover how assigning to an undeclared variable creates a global variable with global scope, and compare it to local variables whose lifetime ends when the function finishes.

  • If and Else Statement2:54

    Explore JavaScript conditionals by using if and else statements to test age against 18, executing code that writes whether someone qualifies for driving.

  • Else If Statement and Switch Statement6:14

    Explore conditional statements in JavaScript, learning else if and switch constructs, how to evaluate conditions, and the difference between loose and strict equality, including the default case.

  • Default Keyword1:12

    Explore how the default keyword works in switch statements, showing how a grade value matches cases or falls back to default when no match is found.

  • For Loop and ForIn Loop7:05

    Explore JavaScript loops, including the for loop and for-in loop, to iterate code and object properties, with comparisons to while and do-while constructs.

  • While and DoWhile Loops4:24

    Explain while loops that run code while a condition is true and increment a count until ten, and introduce do while loops that execute first then check the condition.

  • Logical Operators and Ternary Operator9:38

    Explore using and, or, and not in JavaScript to form conditional statements, and learn how the ternary operator assigns values based on a condition.

  • Comparing Different Types and Bitwise Operator4:12

    Explore how JavaScript handles comparisons across different types, including implicit type coercion, NaN, and boolean results, and learn how 32-bit bitwise operators operate on numeric operands.

  • Creating Array and Accessing Elements of Array3:28

    learn how to create arrays in JavaScript, assign string values like banana, orange, and strawberry, and access elements by index starting at zero using bracket notation.

  • Properties and Methods for Arrays4:05

    Learn to manipulate arrays in JavaScript using the length property, the sort and reverse methods, and how to add new array elements.

  • Adding Array Elements and Looping Through Arrays5:20

    Use push to add new values to a fruits array and loop through it with a for loop to render an ordered list on the page.

  • Creating Date Objects3:28

    Learn to create date objects in JavaScript with constructors: new Date(), new Date(milliseconds), new Date(date string), and new Date(year, month, day, hour, minute, second, millisecond). Epoch starts at 1970-01-01.

  • Date Methods3:12

    Learn date methods in JavaScript to extract year and time, using get full year and get time for milliseconds since January 1, 1970, and set full year with zero-based months.

  • Displaying Dates1:50

    Learn to display JavaScript date objects using toUTCString, toDateString, and toString, with getFullYear for year values. Compare readable formats like toDateString with UTC representations for day, month, and year.

Requirements

  • Notepad++ or any other IDE

Description

JavaScript is one of the most popular programming languages in the world. It can be run by all modern web browsers. It is downloaded alongside the HTML code of a webpage. JavaScript allows you to add functionality and interactivity to your websites.

We have designed this special JavaScript tutorial to ease your worries as it’s the best front end development tutorial you can get when it comes to real and quick results!

This course will teach you the all the parts of JavaScript programming and you don’t need any previous experience to start learning.

We will start with learning where to place JavaScript. We will take a look at placing JavaScript code in different places - inside HTML tag, inside of <script> tag and also in a separate files.

In the first part of our tutorial we'll cover very simple but important things like JavaScript variables, JavaScript objects, Functions and Arrays and then we'll get down to more complex topics like loops, logical operators, math objects, etc.

Each lesson contains interesting code examples which we'll launch in a browsers together and see the results of our coding!

We will end each section with analyzing of typical mistakes you guys will face with in your daily work with JavaScript.

We will analyze JavaScript code which contains errors and mistakes together and will fix all the issues making the code working. After that will launch those code examples and make sure we've fixed all the issues.

Yes! You’ll save a lot of time and will be able to avoid a number of headaches related to finding of appropriate solution for a huge number of daily tasks you’ll face with as a JavaScript developer.

If you guys are searching for a really valuable JavaScript course that will impact you with the full knowledge you need to create dynamic websites that will show you are an expert in front end development, look no further - just join the course and let's get started!

Who this course is for:

  • Beginners who want to learn how to build dynamic websites and do it professionally
  • Anyone who wants to expand their skills in JavaScript
  • Students who have prior experience with JS but who struggle to build a professionally working websites