Skip to content

Latest commit

 

History

History
63 lines (31 loc) · 3.2 KB

README.md

File metadata and controls

63 lines (31 loc) · 3.2 KB

Web Apps with Javascript

This repo cotains all the code to go alongside the sessions we've been doing in work. It will get updated as I create the lessons! You can use it for resference or to see what's coming up

Other resources

Slides can be found here

Using this repo on your own computer

  • Download git (another command line tool)

  • In your terminal go git clone https://github.com/At-Bristol/DEV0028-Web-apps-with-js

  • type cd DEV0028-Web-apps-with-js to enter new folder

  • type npm install

  • type npm run 1.2 - or whichever example you wish to run

1.1 Introduction to javascript

Examples

Found in 1.1 folder

Post-lesson exercises

  • Install node on your home computer by downloading it here. Take the latest features release.

  • Try running today's script with node hello_world.js. You will need to run this is termial on mac or cmd on windows

  • Go to Code Academy and take the free lessons from their Introduction to JavaScript - up to lesson 2. You can carry on if you want but what we do will be slightly different. I wouldn't go past 5 at this stage.

  • Try running some of the code academy examples in node on you machine. You can write in nodepad but downloading vs code will help. It's text editor specifically for code.

Extras

  • In this session I mentioned when talking about Brendan Eich that computing since the mid 80s has been dominated by non-descript white males. This wasn't always the case. Many of the pioneers in early computing were female. This podcast has an interesting economic theory as to why that changed. With a number of tech companies like Uber and Google currently making a hash of gender diversity, I think it is helpful for us as a educational organization that encourages our visitors to follow their interests rather than their gender, to remember that in the context of coding gender equality isn't about breaking new ground, but rather reclaiming the old.

1.2 Functions

Examples

Found in 1.2 folder

Post-lesson exercises

  • Have a look at w3schools talking about if ... else statements.

  • Make timesThreeRepeating stop

  • Check out the solution in the 1.2 folder

  • Watch funfunfunction on recursion ... there may be stuff we haven't covered but we will cover it soon.

  • Bring questions for next time!

1.3 Objects