
Explore essential development tools for the course, including browser-based javascript, cloud options, and free text editors like Sublime Text or Notepad++ for coding.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Explore where JavaScript belongs in webpages—in the head, in the body, or in external files—and learn how script tags reference and run code to update the page.
Explore four main ways to output content in the browser with javascript: innerHTML, document.write, alert, and console.log, and learn when to use each for dynamic pages.
Master the basics of JavaScript by exploring statements, semi-colons, whitespace, and comments, then learn how code blocks and curly brackets organize web pages.
Learn how variables act as containers in JavaScript and are declared with var using camel case. Understand case sensitivity, quotes for strings, and how numbers differ from strings.
Explore how javascript handles numbers, differentiates integers and floats, uses math operators—plus, minus, multiply, divide, exponent, modulus—follows order of operations, and demonstrates pre- and post-increment on variables.
Explore assignment operators that extend the equals sign, using shorthand like plus equals to assign and update variables, writing cleaner code.
Explore how comparison operators power conditional statements by evaluating equality and inequality. Learn how equals, double equals, and triple equals differ, and how booleans true and false appear.
Learn how conditional statements control flow with if, else, and else if. See how comparison operators and case sensitivity decide actions, and how to print results with John and Bob.
Learn how logical operators extend if-else statements by combining conditions with and, or, and not, using comparison operators to control true or false outcomes.
Learn the fundamentals of arrays in JavaScript and PHP, including zero-based indexing, creating and accessing arrays, looping through elements, and preparing for multi-dimensional arrays.
Explore arrays and multidimensional arrays in JavaScript; learn to access nested elements, use length minus 1 to get the last item, and work with pizza toppings and sample data.
Learn how to define and invoke functions in JavaScript, pass arguments, return values, and manage program flow by placing scripts at the page top or in a separate file.
Explore prompt boxes in browser JavaScript, capturing user input with prompt and showing results via a function. Note why such popups are discouraged.
Explore how to generate random integers in JavaScript using Math.random and Math.floor, from 0-10 and 1-100 ranges, with practical examples.
Learn to create web forms with JavaScript by using on click to read input value via document.getElementById and display output on the page without reloading.
Create a quick math flashcard app that generates two random numbers, shows an operation, accepts input, checks correctness, and toggles between addition, subtraction, and multiplication with reset.
Define the correct answer for the math flashcards, validate input as a number, and use a conditional to compare the user's answer, showing correct or incorrect feedback.
Learn to implement a dynamic new card button for math flashcards by writing a new card function that resets the output and input fields via document.getElementById.
Create a simple JavaScript flashcard app and extend it to subtraction, multiplication, and division by adjusting the correct answer logic. It reinforces basic JavaScript concepts.
Install XAMPP to run PHP locally, including Apache and MariaDB. Download XAMPP from Apache Friends, choose components, start the control panel, and set up Sublime Text for coding.
Install Sublime Text from sublime text dot com, create a project in the HT docs directory, save as index.php, and run on a local host with Apache.
Learn the basics of PHP structure and syntax, including opening tags, semicolons, comments, and how PHP code interacts with HTML and Bootstrap to build dynamic web pages.
learn basic math operators in php and javascript from this bundle, including plus, minus, multiply, divide, modulus, and exponents, using variables and echoing results, and increment and decrement.
Master string concatenation in PHP by using the period operator to join strings, such as first and last name with a space, outputting on one line.
Explore how PHP comparison operators evaluate two values to booleans, using double equals for comparison, not single equals, covering greater than, less than, and their inclusive forms, noting case sensitivity.
Master escape characters in PHP to print quotes using backslashes, echo strings correctly, and choose between single and double quotes to avoid errors.
Learn to use if else statements to make decisions with comparison operators, test equality and inequality for strings and numbers, and manage true/false branches.
Understand else if statements by testing multiple conditions within if, else, and else if branches, and learn how each test guides program flow.
Learn how numeric arrays work, including zero-based indexing and accessing items with brackets. Build arrays of strings, numbers, or variables, and explore multi-dimensional arrays before moving to associative arrays.
Explore associative arrays, aka hashes in Ruby, where keys are non-numeric and map to values using the hash rocket syntax, illustrated by John, Steve, and Mary's favorite pizzas.
Explore for loops and compare them to while loops, noting how for loops define and increment a counter with semicolon-separated clauses, and why some programmers prefer while loops.
Learn how foreach loops iterate over numeric arrays and print each item, using value as the current element and echoing it to the screen.
Discover how to generate random numbers with rand and empty_rand, constrain ranges (0–100), pick random items from arrays, and build simple interactive examples like a guessing game.
Learn to template a basic website using bootstrap and PHP includes, creating a reusable nav bar with include statements, variables, and a shared header/footer for scalable pages.
Template a site with a reusable footer using PHP includes, set up a header and nav, and demonstrate bootstrap container and a jumbotron in a WordPress context.
Push code online using the free Heroku hosting and practice version control with Git Bash on Windows or the mac/linux terminal. Create an SSH key for secure interactions.
Initialize git for version control in javascript and php projects, configure global user name and email, then add, commit, and push changes to GitHub.
Set up a GitHub account, create a repository, and push your code using ssh keys and git commands for employers to review your public or private work.
Install the Heroku toolbelt on Mac, Windows, or Linux, add it to your path, restart the terminal, and verify the installation; then use the free tier to push your code.
Build a solid PHP and JavaScript foundation from beginner to advanced, learn functions and website templating, and explore related topics like Ruby on Rails and Python within the bundle.
Set up a development environment for PHP using XAMPP, install Apache and a database component, start the server, and create a test PHP page in htdocs with an index page.
Learn to set up a Cloud9 cloud development environment, create a workspace, run a PHP project with Apache, and note Cloud9's changes and alternatives.
Master version control with Git, configure your identity, initialize repositories, and commit changes with clear messages. Push code to GitHub or Bitbucket and manage SSH key for secure access.
Learn to host and deploy PHP apps on Heroku, a scalable web hosting platform with a free tier, using git and GitHub to push code and manage apps.
Learn to create and name PHP variables with a dollar sign, distinguish strings and numbers, and use period-based concatenation to build and display dynamic output.
Explore arithmetic operators in javascript and php, including addition, subtraction, multiplication, division, and modulus for remainders. Learn incrementing and decrementing with ++ and --, and see how they power loops.
Explore comparison operators, including equal to, not equal to, greater than, less than, greater than or equal to, and less than or equal to, and use them in if-else statements.
Learn to use escape characters in PHP strings, placing backslashes before quotes to avoid errors, and distinguish single from double quotes for multi-line strings.
Explore PHP arrays, including numeric and associative arrays, as key-value containers you can index from zero, with examples for shopping carts and user management.
Learn how loops work across languages by using while and for loops with condition checks and increments. Practice iterating arrays, accessing array length, and printing results with echo.
Learn how to generate random numbers in PHP using built-in functions like rand and the empty_rand alternative, with bounds, and apply this to randomly selecting an item from an array.
Learn how to template a multi-page site using a variables file and include function, so updates to site title and links propagate automatically across all pages.
Download a start bootstrap template and upload it to your development environment, then customize the site title. Make the year dynamic with a date function and explore bootstrap templating basics.
Welcome to my Javascript and PHP Programming Bundle! This is a bundle of two of my popular courses; "Javascript Programming For Everyone" and "PHP Programming for Web Development".
In this bundle we'll learn the Javascript and PHP programming languages from an absolute Beginner level all the way to Advanced in no time at all!
This course is aimed at the absolute beginner, you don't need any coding experience at all!
We'll start out by setting downloading and installing the Sublime Text Editor - for free. That's the only tool you'll need to start writing and running Javascript code.
Then, we'll dive into very basic computer science concepts. Things like:
After that, we'll move into more intermediate topics like:
Finally we'll finish up with more advanced topics like:
After that we'll learn web development things like
Towards the end of the course we'll put everything we've learned together and build a fun little math flashcard web app. You'll be surprised at how quick and easy this will actually be!
We'll learn those things for Javascript in the first half of the course, then learn them with PHP in the second half of the course. Learning these same concepts for two different programming languages will REALLY cement it into your brain!
Javascript and PHP are two of the greatest programming languages to learn, and learning has never been this easy!
I'll see you on the inside!
-John Elder