Coder Social home page Coder Social logo

question_javascript_objects_and_webpages's Introduction

JS Office Hour Question Answer

Hey, so I'm looking to get into frontend development, and I've been going through a bunch of courses... I am confident with my HTML, CSS, and basically half of Javascript. I always seem to get totally lost when they move into object oriented design. It's very frustrating because every learning resource I find seems to make this giant leap at this specific aspect of JS learning and starts speaking to you like you should already know half the things they're firing off at you. Did anyone else experience this while learning? How did you get past it? ... How do I use objects in webpages?!

Answer

  1. Divide and Conquer Split up what you want to learn into accessible pieces of knowledge you can study in a clear order.
    1. JavaScript Objects
    2. JavaScript Classes
    3. JavaScript Constructors
    4. JavaScript Events and the DOM
    5. JavaScript Templates
    6. JavaScript AJAX XHR
  2. JavaScript Objects Even easier JavaScript classes, there's JavaScript objects.
  3. JavaScript Classes OOP is not complex in its simplest form.
  4. JavaScript Constructors What is going on under the hood of JavaScript constructors?
  5. JavaScript Events and the DOM Tying OOP into HTML events and CSS manipulation is powerful, but it's an added layer of complexity. At the simplest level, you want an object to represent an element or component on your webpage. When the user interacts with that element, it will likely call a function on the object. The most common library used for this purpose is jQuery. A more robust and modern solution would be React.
  6. JavaScript Templates Another way objects are used in webpages is simple display. You have a webpage that represents and object. The various elements in that page display properties of that object.
  7. JavaScript AJAX XHR Yet another way objects are used in webpages is to wrap around requests made to an API.

question_javascript_objects_and_webpages's People

Contributors

bideowego avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.