
Explore JavaScript in the browser with Chrome and Atom, learn variables, numbers, strings, and for loops, and use the console, prompts, and document.write to build a simple high/low guessing game.
Learn to print to the console with console.log, use a for loop to print the name ten times, and manage variables in JavaScript while debugging with common errors.
Practice using JavaScript to store variables, prompt for a name and a number of times, and output the name that many times with document.write inside a for loop.
Create a random number guessing game in JavaScript by using Math.random to generate 1 to 100, prompt the user for a guess, and loop with conditions until correct.
Create a number guessing game that uses a while loop to repeatedly prompt for guesses, show too high or too low feedback, and stop when correct.
Build an interactive browser guessing game using random numbers, prompts, alerts, and a while loop. Add a for loop to celebrate by printing the player's name after a win.
Build a browser guessing game in JavaScript by prompting for the player's name, looping to celebrate wins, and writing the name to the page 500 times.
Learn to inspect and edit HTML in the browser, using inspect, view source, and design mode to edit a local page; build interactive HTML pages that run JavaScript.
Learn how to make HTML web pages interactive with JavaScript by creating functions, wiring up on click events to draw output like a cat using document.write, and using script tags.
Review HTML basics, including h1, h3, p, and script tags, and practice interactive JavaScript with functions, prompts, and button-driven events through name and guessing game challenges.
Learn to turn simple JavaScript into standalone web pages by copying code, renaming functions, and using HTML forms to create interactive 'say my name' and 'guessing game' programs.
Connect an HTML form to JavaScript by wiring the button to a checkGuess function, read user input by id, compare it to a number, and display high, low, or win.
Learn to draw on an HTML canvas using random hex colors and alpha transparency, with on click and mouse move events. Tackle challenges to vary circle size as you draw.
Grow and shrink circle radii with a grow flag to create pulsing visuals as you drag, and share your work on JSFiddle.
Learn to debug a savings calculator in the browser using the inspect tool and console, identify errors like missing semicolons, quotes, or mis-capitalized getElementById, and fix them.
Transform a savings calculator into an investment calculator by drawing a bar chart on a canvas that shows yearly totals, using an array, a graph function, and clear rectangle.
Create an HTML investment calculator with a table-based form and a canvas bar chart, using JavaScript to parse numbers, compute yearly totals, and visualize progress with an outline and labels.
Turn a fully functional investment calculator into a portfolio showcase by adding bar chart outlines and labeled values at 10, 20, 30, and 40 years, improving readability and presentation.
Build a bouncing ball app with JavaScript using a Ball class, a constructor, and a draw method. Create new Ball on click to animate on a canvas.
Explore turning a simple drawing app into an object oriented, HTML and JavaScript project with separate files and animated balls with random sizes and a configurable background color.
adds a clear button and prevents balls from getting stuck at edges by adjusting positions, checking for zero velocity, and refreshing the canvas in a JavaScript object-oriented program.
Discover a bonus memory card game built with JavaScript, HTML, and CSS, and learn to modify an existing program, customize colors and polygons, and add a timer and high scores.
Customize and experiment with a JavaScript snake game by adjusting score, speed, block size, colors, and fonts; learn by editing existing code, testing changes, and reverting when needed.
Join over 60,000 students from 163 countries learning to code from Dr. Bryson Payne!
Brand new course for 2021! Teach yourself to code fun, colorful apps and games in JavaScript, the powerful programming language that's included in every web browser and mobile device. Learn coding step-by-step from Computer Science Professor Dr. Bryson Payne, author of the Amazon #1 New Release and Top 10 Best Seller, Teach Your Kids to Code: A Parent-Friendly Guide to Python Programming (No Starch Press). Filmed in collaboration with Bund Media/Zhidao Education Technology, with subtitles in English and Chinese.
Update: Pre-order Dr. Payne's new book, "Go Hack Yourself" on Amazon now!
Gives Children a Huge Advantage in a High-Tech World
Quickly master new problem-solving skills in JavaScript with colorful, fun examples
Program apps using HTML5 Canvas graphics, web-based forms, even animated video games
Build your own playable games and create beautiful graphics right in your browser using a simple text editor
Learn the basics of coding, from variables to loops, functions, and classes with interactive, engaging apps
Great for college and scholarship application portfolios
This is the kind of course you can enjoy at any age!
Packed with fun examples, colorful graphics, and easy-to-follow plain English instruction, JavaScript for All is the course parents and teachers can enjoy, as they build one of the top job skills of the 21st century! JavaScript is a great first language for beginners, but it's powerful enough to be used in companies from Apple to Amazon and Google to IBM.
I designed this programming course to be easily understood by absolute beginners, with example code I used with my own students all the way through the apps I teach to college freshmen.
Quick, hands-on lessons will get you coding your own web apps and games from scratch in minutes. Over 40 video lectures and six hours of content in short, 2-to-8-minute videos will give you the practice you need to master the powerful new skill of coding.
Everything you need to get started right away
Complete with working code downloads and high-definition videos, you'll be able to work alongside a professor with 22 years' teaching experience and over 30 years of programming knowledge. You'll also receive a Certificate of Completion upon finishing the course.
No Risk: Preview videos from Sections 1, 2, and 4 now for FREE, and enjoy a 30-day money-back guarantee when you enroll - zero risk, unlimited payoff! And, we've made this course easy to afford so parents and students can get started now!
Enroll in JavaScript for All and get started coding today!
* Two bonus sections added with advanced video game apps you can customize and share with your friends! *
Praise for Dr. Payne's books and online courses:
"Inspired" - This is an inspiring course taught by an inspired teacher. The examples are well-chosen -- demonstrating principles through engaging, colorful projects... — Kent Osband, Udemy student
"Excellent path into coding" Not just for kids...use this course as the perfect primer. Clear examples, that build quickly into programs, leading to learning challenges. Bryson's delivery is well paced and good fun. — Sean Jon Darcy, Udemy student
"Dr. Bryson Payne is a computer scientist and professor of the highest caliber, and he brings the power of computers within easy reach for learners young and old."—Dr. Antonio Sanz Montemayor, Informatics Professor, Universidad Rey Juan Carlos, Spain
“Dr. Payne set us on the path that led us to our dream jobs! ...He's providing parents and teachers everywhere the chance to do the same for the next generation of creative problem-solvers."—Shah Rahman, Blizzard Games and Susan Rahman, Facebook