What do we mean by that?
Talk to us!
HTML specifies the structure of a web page and CSS how the page looks i.e. the presentation.
Plunge right in, set up a simple page and get introduced to a whole bunch of HTML tags.
What's an HTML page without style? Get to know the HTML <style> tag and how it can be used to specify style properties to make your pages look good.
The internet is all about links. Who links to you and who do you link to? In this lecture we'll learn how we link to others using the <a> tag and its href attribute.
Paths in HTML can reference resources on our server as well as resources anywhere on the web. Relative paths are relative to the location of the HTML file and absolute paths can access resources on any server.
HTML provides a whole bunch of quote tags. Learn about the <q> and the <blockquote> tags and why we would use them over specifying quotes ("") in text.
Bulleted lists and numbered lists. HTML has special <ul> and <ol> tags to specify these. Each list item in an <li> tag should go with either an un-ordered list (<ul>) or an ordered list (<ol>).
The <em>, <time>, <strong> and <code> tags.
Understand the different parts of a domain name and what they represent. Revisit the <a> tag and learn some more about how we can open up a new web page in a new window, tab etc.
The <img> tag allows you to embed inline images in your page. You can also resize images using the height and width attribute of the <img> tag.
HTML is a living standard now. No more version numbers and everything will be backward compatible from here on in. This is a pretty big deal!
Get re-introduced to CSS and see how CSS files are set up separately from the HTML and linked to the HTML page. It's good practice to separate the CSS and HTML files so both can be worked on separately.
CSS styles inherit from the parent element, or do they? CSS inheritance is tricky and it's important to know how a certain style is applied on an element. This lecture should have the answers.
How do you apply styles to specific HTML elements? You select them. How do you select them? By specifying the tag, a CSS class or their unique identifier.
Understanding sans-serif fonts, fallback options on a webpage, using fonts from free services such as Google etc.
How to change text color, background colors and specify colors using their hex code.
Understand margins, padding and borders and where exactly they apply. They form the CSS box model which has tripped up many an aspiring web developer.
The <div> is a block element which is used to logically group HTML elements. The logical components can then be styled together.
Figure out why the "cascade" exists in Cascading Stylesheets.
The <span> allows logical grouping of inline elements and is a perfect partner to <div>.
CSS allows you to apply styles to not just HTML elements but also specific states of an element. The :hover, :focus, :link are all examples of states of a particular element.
The CSS float and clear properties.
Understand the CSS position attribute and how it works.
Fluid layouts allow the elements of a page to move as the page resizes, but you might not want them to! Then you'd choose the fixed layout.
The display property can make block elements behave like inline elements, make elements disappear and whole bunch of other stuff.
Chrome developer tools offers a very cool way to print out statements on the developer console. Use this to see the result of your JS code.
If you leave out the var keyword the variable is undeclared and undeclared variables default to global. Always declare your JS variables.
A local variable takes precedence over a global variable of the same name.
Shallow copies and deep copies of an array, what they mean and how they work.
Use array.push() to append new elements to the end of an array.
Use array.splice() to remove elements from an array.
JSON can be used as a textual representation of a JS object. You can construct an object using JSON notation.
Object constructors are just functions with two specific differences. The use of the magical keyword "this" within the constructor and the use of the magical keyword "new" to create an object from the constructor
You can add properties to an object after it's been constructed on the fly! Pretty mind-bending for programmers from other object oriented languages.
You can also remove properties from objects after they have been constructed. Again not allowed in traditional object oriented languages!
Object properties defined in constructors can be functions as well! Again because functions are first class citizens.
Properties of objects can be accessed using the dot "." notation as well as the square brackets "" notation. They are essentially the same.
A special for loop exists to loop over object properties. Every object supports this thanks to the base Object class!
Bad things happen when you call an object constructor without the new keyword.
The typeof operator tells you whether a variable is a number, string, object or undefined. It cannot differentiate between different types of objects though.
Use the instanceof operator to figure out what constructor was used to create an object. This only recognizes where the object came from, it does not know what changes were made to the object after it was constructed.
Properties are public by default, however it's often useful to have private properties. These are not natively supported in JS but we can fake them.
First class functions mean that we can pass them as arguments to functions.
Numbers and strings are pass by value, which means that any modifications to their values in the functions are not reflected in the calling code.
Arrays and objects are pass by reference, this means that modifications within functions are reflected in the calling code. But not reassignments! What's the difference? This lecture explains it all.
Ahh finally - what exact is undefined? It means an absence of a value.
Null unlike undefined is a special value with a type object.
This weird JS quirk causes many headaches, if it's NaN it's not a number.
The == causes conversions between numbers and strings with strange results. These can trip up even the most experienced programmer.
The == is the quality operator and === is the strict equality operator. Knowing the difference can save you trouble down the road.
Cute names to describe strings or numbers which are evaluated to true or false using the equality (==) operator.
Strings are actually objects and are immutable. What does that mean? This lecture explains it all.
Two types of function declarations in JS, declared functions and function literals. The names are intimidating but the concepts simple. They behave the same way except for one teeny tiny thing.
Functions declared within another are nested functions, these form the foundation of closures.
Nested functions need not only be function literals, they can be declared as well.
Closures are mind-bendingly awesome. Each function carries around with it the context in which it was created!
Closure variables have precedence over local as well as global variables. You can't control the value of a variable that a nested functions sees!
The function parameters of the outer function also form part of the referencing environment in the closure.
Let's plunge into our first example of prototypical inheritance, and understand the prototype keyword.
You can use the prototype keyword to override a property of all objects! Its a lot more powerful than simply overriding a property on a single object.
Did you know that its possible to override properties even of built-in object types, such as strings? Do so with care!
Loonycorn is us, Janani Ravi, Vitthal Srinivasan, Swetha Kolalapudi and Navdeep Singh. Between the four of us, we have studied at Stanford, IIM Ahmedabad, the IITs and have spent years (decades, actually) working in tech, in the Bay Area, New York, Singapore and Bangalore.
Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft
Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too
Swetha: Early Flipkart employee, IIM Ahmedabad and IIT Madras alum
Navdeep: longtime Flipkart employee too, and IIT Guwahati alum
We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!
We hope you will try our offerings, and think you'll like them :-)