1 / 21

JavaScript Basics Review: Making Decisions with Conditional Statements

Learn about comparison operators, boolean values, and if statements in JavaScript. Challenge yourself with conditional exercises and explore the difference between JavaScript libraries and frameworks.

vinita
Download Presentation

JavaScript Basics Review: Making Decisions with Conditional Statements

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stephen Delaney sdelaney@skokielibrary.info • JavaScript Basics

  2. Review: Making Decisions with Conditional Statements Comparison operators Boolean values If statements The conditional challenge

  3. Comparison Operators

  4. And Operator: &&

  5. Or Operator: ||

  6. Not Operator: !

  7. If Statements

  8. Questions?

  9. What’s next?

  10. JavaScript Library • A toolkit • Abstracts different layers (pre-written code) • Simplifies your coding experience JavaScript Framework • A given structure of "how" you should present your code • A code template Source: http://stackoverflow.com/questions/11576018/what-is-the-difference-between-a-javascript-framework-and-a-library

  11. JavaScript Library • jQuery • React • D3.js • Bootstrap • Foundation • Underscore.js JavaScript Framework • Angular • Backbone • Express • Ember • Meteor

  12. Next Steps jQuery • jQuery is used by 71.8% of all websites. That is a JavaScript library market share of 96.4%.

  13. Next Steps AJAX • Asynchronous JavaScript And XML • Get data without a page refresh

  14. Next Steps MEAN stack • “In the MEAN stack, we use MongoDB as our database. We write most of our code in Javascript. We rely on Node and Express.js to host our application and serve APIs/Views. We use AngularJS to render our views that are served by Express.”

  15. Next Steps MEAN stack

  16. Fortunately, Treehouse!

  17. Navigate to library: Sort by difficulty Select course Select JavaScript https://teamtreehouse.com/library/topic:javascript/type:course/sort:difficulty

  18. Recommended Syllabus JavaScript Loops, Arrays and Objects JavaScript and the DOM jQuery Basics • There is also a shorter one called Introduction to jQuery. AJAX Basics

  19. Recommended Syllabus Interactive Web Pages with JavaScript Object-Oriented JavaScript Node.js Basics Build a Simple Dynamic Site with Node.js Express Basics Build a REST API With Express Mongo Basics* Angular Basics* Building a MEAN Application *Indicates a course that is not under JavaScript

  20. Trust the process.

  21. Next Week – Final Class Creating Reusable Code with Functions Creating functions Returning values from functions Variable scope We will do a full review next week!

More Related