This is CS50x, Harvard University introduction to the intellectual enterprises of computer science
and the art of programming for majors and non-majors alike, with or without prior programming experience.
As of Fall 2015, the on-campus version of CS50x, CS50, was Harvard largest course.
Design for Mobile First
Always Design for Mobile First
Mobile First means designing for mobile before designing for desktop or any other device (This will make the page display faster on smaller devices).
This means that we must make some changes in our CSS.
Instead of changing styles when the width gets smaller than 768px, we should change the design when the width gets larger than 768px. This will make our design Mobile First: 0470174458
Lightweight, flexible component for showcasing hero unit style content.
Composition vs Inheritance
React has a powerful composition model, and we recommend using composition instead of inheritance to reuse code between components.
In this section, we will consider a few problems where developers new to React often reach for inheritance, and show how we can solve them with composition.
Uniform Resource Locators A URL is another word for a web address.
A URL can be composed of words (w3schools.com), or an Internet Protocol (IP) address (126.96.36.199).
Most people enter the name when surfing, because names are easier to remember than numbers.
URL - Uniform Resource Locator
Web browsers request pages from web servers by using a URL.
A Uniform Resource Locator (URL) is used to address a document (or other data) on the web.
Buttons Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Lifting State Up Often, several components need to reflect the same changing data. We recommend lifting the shared state up to their closest common ancestor. Let’s see how this works in action.
Canvas has several methods for drawing paths, boxes, circles, text, and adding images.