Skip to content

Latest commit

 

History

History
 
 

201602_introduction

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Codher Introduction to Javascript

February 20 & 21st, 2016

Agenda

  • Conceptual Introduction to Programming
  • Getting Dirty With Javascript
  • What is JSON?
  • Using Javascript in Websites

Slides

Download here

Exercises

All the examples we talked about can be found in the directory called examples. Once we've finished try to do the basic and advanced exercises for each topic. You can find the solutions in the solutions directory, but no peeking before trying!

Strings

  • Basic: Create a function that returns the initials of a person
  • Advanced: Create a function that validates that the user inputs both a first name and last name and that they are strings

Numbers

  • Basic: Build a small calculator function BONUS: Learn how to round/up down decimals
  • Advanced: Create a function than sums any amount of numbers, validate that the user only inputs numbers

Arrays

  • Basic: Create a function that removes all instances of a given text from an array
  • Advanced: Add "Harry Potter and the " to the beginning of all book titles. Use the seed data found in the file exercises/advanced/03_array.js

Objects

  • Basic: Automatically generate a full name and initials for a person
  • Advanced: Create an adopt function that updates a child's last name to their new parent's

Project

  • Basic: Add many friends and then figure out which ones are old enough to drink in Denmark. Use the seed data found in the file exercises/basic/05_project.js
  • Advanced: Make a small website that displays a list of friends and their emails. Add a button that allows the user to add a new friend

License

The MIT License (MIT)

Copyright (c) 2016, Codher

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.