
Understand the document object model as a tree of objects representing the web page, and learn how JavaScript and jQuery can dynamically update elements by tag name, id, or class.
Learn basic dom manipulation with JavaScript by updating text via a changeText function triggered by a click on an h1. Observe text updating to new text in document object model.
Explore JavaScript as a powerful client-side language for interactive web pages, with examples like character counting, form validation, required fields, and a tic-tac-toe game.
Place JavaScript in the head and call it from the body to avoid load-time errors; this uses a dog-years calculator that multiplies age by seven and displays result when clicked.
Place JavaScript in external file and call it from head with a script tag and a src attribute. Improve maintainability, caching, and page load speed with external JavaScript.
Learn how to output data in JavaScript using document.write and window.alert, illustrated with a five plus six calculation that writes to the page and shows a pop up with 13.
Learn how JavaScript uses innerHTML to display calculation results by targeting an element with getElementById, and how updating values shows new results in the browser.
Learn how JavaScript comments explain code and aid collaboration, using single line comments with double slash and multi-line comments with slash-asterisk, to control execution.
Learn how JavaScript constants hold fixed values like 5 and 6, display the result in a web page, and switch one value to a string to see how output changes.
Learn how to declare and use variables in JavaScript, including numeric and string values, with examples of x, y, and z, and how to display results in the browser.
Explore how the equals sign functions as the assignment operator in JavaScript, linking left and right values and combining numbers with strings, as a numeric value attaches to a text string.
This lecture demonstrates JavaScript arithmetic operators on numbers, constants, and variables, showcasing addition, subtraction, and multiplication with real-time outputs using getElementById and updating the web page.
Explore division with arithmetic operators by setting d to 100 divided by 50, then demonstrate incrementing and decrementing with x++, h-- to update the output.
Master operator precedence in JavaScript and the standard order of operations, from brackets to subtraction. The example (50 + 200) multiplied by three equals 750.
Explore JavaScript data types by examining variables that hold numbers, strings, arrays, and objects, such as age, last name, cars, and a person object with first name John.
Explore how JavaScript objects organize data using a car example with properties like type and model. Learn to access values with dot notation and display them using getElementById.
Learn how to output multiple object properties in a single line using a person object with first name, last name, age, and eye color, connected by plus signs.
Learn how JavaScript strings store characters using single or double quotes, including apostrophes inside strings. See browser output and line breaks using the br tag to reinforce string fundamentals.
Learn how to determine a string's length using the length property in JavaScript by checking a variable containing all 26 letters and displaying the result via innerHTML in a browser.
Learn how to handle quotes inside strings in JavaScript by using the backslash escape character to correctly display quotes around the word player's in browser output.
Explore generating random numbers in JavaScript using Math.random(), which produces values between 0 and 1. Learn to output results to a web page and observe different numbers on each refresh.
Use Math.min and Math.max in JavaScript to find the lowest and highest values in a list of numbers, with a browser test showing -150 and 600 outputs.
round decimal numbers to the nearest integer using the Math.round function, compare outcomes with Math.floor and Math.ceil, and verify results in a web browser.
Learn how JavaScript arrays store multiple values in a single variable using a fruits array of six items, with indices starting at 0 (apple at 0) and length showing 6.
Output array values using the toString method and customize separators with join, previewing in the browser to see the updated asterisk separator with spaces around it.
Master array manipulation in JavaScript using pop, shift, push, and unshift. Remove last or first elements, then add new items to the end or beginning.
Learn to change and delete array elements by index in JavaScript, such as turning the first element to kiwi and removing items to create gaps.
Use the splice method to insert multiple items into an array at a specified index, optionally removing elements; learn by adding lemon and banana after orange.
Sort a cars array alphabetically using the sort method, ordering Volvo, Acura, Honda, Lexus from A to Z, then use the reverse method to display the reversed order.
Join two arrays with the concat method to create a combined array from girls and boys, store it in combined, and output the results in the browser.
Develop a JavaScript score-to-letter grade system using if, else if, and else statements to output grades with document write, validate scores under 100, and test values like 65 and 81.
Learn how JavaScript comparison operators work, including the equal to and not equal operators, and see real-world examples that output true or false in the browser.
Explore how the boolean function tests expressions for truth, treating any real value as true and anything without a real value as false. See numeric, string examples and browser results.
Explore how for loops in JavaScript execute a code block repeatedly, outputting values from 0 to 10 (configurable to start at 3 and end at 20) with document.write.
Execute the JavaScript for-in loop to iterate an object's properties, such as first name, last name, and age, and output each item like John Smith in 30.
Learn to use a while loop in JavaScript to output i from zero up to twenty, incrementing by one each pass. See how changing the maximum affects iterations.
Master the JavaScript do-while loop, a variation of while loop, which runs the block at least once before testing the condition and repeats while true, demonstrated by a button-click example.
Learn how JavaScript break and continue statements control loop execution, exiting when i equals 3 or skipping that iteration, with practical examples from 0 to 9.
Learn how to define and call JavaScript functions with parameters and return values to perform tasks, reuse code with different arguments, and produce outputs like 16 and 30.
Explore how HTML events trigger JavaScript, including click, mouseover, mouseout, keydown, and document load. See a button display the date and time on click, hover, or mouse out.
Create a simple JavaScript project that changes the page background color on each refresh. Choose a random color from an eight-hex array and apply it to the document body style.
Explore how jQuery simplifies web development with DOM and CSS manipulation, effects and animations, and Ajax capabilities. Learn through practical examples from a beginner-friendly JavaScript course.
Embed the jQuery library by loading it from Google's content delivery network into the page head, giving your page the latest jQuery version used throughout this section.
Explore jQuery syntax for selecting elements with the $ symbol and applying actions, using a document ready wrapper, plus a button-driven example that hides paragraph text on click.
Use the id selector in jQuery to hide a specific element, like an h2, when a button is clicked by assigning an id and using the #id selector.
Master the jQuery class selector by replacing the id selector with a period, target a class, and hide the heading, achieving the same outcome as the previous exercise.
Discover jQuery other selectors, including the asterisk for elements, the this selector for the current element, and the button selector for buttons; check the downloads folder file for options.
Place jQuery functions in an external file and load it into your HTML document. Save them as jq functions.js, call the script, and preview to verify it works.
Learn how jQuery handles events to trigger actions like hiding text on click or double click, using the document ready function and event targets.
Explore jQuery events mouseenter and mouseleave, and see how entering or leaving an element's proximity triggers alerts, with code using document.ready and an id element.
Learn how jQuery events handle mousedown and mouseup to trigger actions, such as showing an alert when the mouse button is pressed and again when released.
Learn to attach multiple events to an element with jQuery, including mouse enter, mouse leave, and click, within the document ready function, to change a paragraph’s background color.
Harness jQuery to hide and show text with click events, using 1000ms animations on elements with IDs hidden and visible to reveal or conceal paragraph content.
Learn how to toggle a paragraph with a button using jQuery, revealing and hiding text over 1000 milliseconds through a click event.
Learn how to use jQuery to fade in and fade out div elements with staggered timing, by wiring button clicks to sequential intervals and adjusting CSS display properties.
Learn to toggle elements with a single button using jQuery's fadeToggle; add display:none to hide divs on load, switch fade out to fadeToggle, and test by refreshing the browser.
Explore jQuery's fadeTo method to animate divs' opacity, using a one-second duration and target opacity values from 20% to 80% across four blue squares.
Showcases how to use jQuery to slide down a hidden panel when the top bar is clicked, revealing text with a 1000 ms animation.
Apply the jQuery slide up method to slide a panel up on click, remove the display none prop, and keep the panel visible on page load instead of down.
Demonstrates using jQuery slide toggle to switch between slide up and slide down, updating the script and previewing the page to see the panel slide in and out.
Learn to create a custom animation with the jQuery animate method by moving a square from left to right on a start button click, using HTML, CSS, and script.
Add multiple parameters to the estimate method to control opacity and toggle height in jQuery animate, then save and preview in a browser to see opacity and height reach zero.
Use relative width and height in jQuery animate to scale an element from its current size. Add width and height properties to achieve 200 pixels, then preview in the browser.
Learn how jQuery animate queueing enables a div to run a sequence of animations, changing height, width, and opacity with controlled speeds triggered by a button click.
Discover how the jQuery stop method halts an animation before it's finished, for sliding, fading, or custom effects; start begins, stop terminates animation, a square moves to 800px in 300ms.
Understand how jQuery callback functions enforce sequential execution of animations and events, ensuring height animations complete before alerts or subsequent scripts run after a button click.
Learn how jQuery chaining runs multiple commands on the same element, such as sliding a blue square up and down while changing its color to red on a single click.
Create draggable elements using jQuery UI by loading the UI script, building a blue 150px div with id drag, and enabling draggable behavior.
Learn to build an accordion menu with jQuery and jQuery UI by structuring divs for headings and panels, applying the accordion method, and styling with the smoothness theme.
Explore how jQuery text and html methods retrieve content from a paragraph and render it, illustrating DOM manipulation with two buttons that show plain text vs html markup in alerts.
Learn to use a jQuery click event to retrieve the value of an input field with the id name and display it in an alert, using the .val() method.
Demonstrate using the jQuery attr method to get the href attribute, trigger a button click, and display the link content in an alert, using the element with id ya.
Learn to set content with jQuery using text, html, and val. Three buttons update text1, text2 (with bold formatting), and the name input from John Smith to Jane Willis.
Learn how to use the jQuery attribute method to set and update the href attribute of an HTML element, including hover previews and click-driven resets.
Explore jQuery append and prepend methods by adding text to the end of a paragraph and appending a new list item to an ordered list via button clicks.
Explore jQuery's before and after methods to insert content before or after elements, demonstrated with an image, text, and button clicks.
Learn how jQuery's remove and empty methods delete elements and their content from a web page, using a button click to remove a square and to empty its contents.
Learn how to use jQuery's remove method with filters to delete elements by class on a button click, removing paragraphs with rem1 or rem2 classes and illustrating event handling.
Learn how to use jQuery to add class attributes to single or multiple elements with a click, applying red and big styles to headings, paragraphs, and divs.
Learn how to remove a class from any heading (H1, H2) or paragraph elements with jQuery, by replacing add with remove and updating the button label.
toggleClass method lets a single button switch between adding and removing classes, update its label from remove to toggle, and trigger add and remove events on refresh.
Welcome to the JavaScript & jQuery – Certification Course for Beginners
This course offers a comprehensive guide into the fundamentals of coding using JavaScript and jQuery. These powerful languages can be used to add animated, dynamic client-side functionality to any web page.
The JavaScript section of the course takes students on a journey that starts right from the basics. This includes JavaScript placement, and embedding External JavaScript code. From there, we move into variable declaration and operators for performing arithmetic. We also look at the order of operations, and different data types. Students then move into more advanced topics such as:
JavaScript Objects
Arrays, and Array Attributes
Conditional Statements
JavaScript Comparisons and Booleans
JavaScript Loops, Functions, and Events
The second section of the course takes an in-depth look into jQuery. This is where students can take their development skills to the next level, by adding interactivity to static elements. We start with foundational concepts such as embedding jQuery, and various selectors. We then explore jQuery events, Animations, complex functions, and much more.
What you'll learn
JavaScript Placement
JavaScript Output
JavaScript Variables
JavaScript Assignment & Arithmetic Operations
JavaScript Data Types & Objects
JavaScript Math Functions
JavaScript Arrays, Array Attributes, and Array Splicing
Joining & Sorting Arrays
JavaScript Conditional Statements and Comparisons
JavaScript Loops (For-In, While, Do-While, Break & Continue)
JavaScript Functions & Events
jQuery Selectors (ID, Class, Other)
jQuery Events, Multiple Event Handlers, Hiding-Showing, Toggle, Fades, Slides
jQuery Animations
jQuery Stop, Callback Functions, Chaining, Draggables, Accordion Menus
jQuery Get Content, Set Content, Append and Prepend
If you are interested in improving your web development skills, then look no further - Enrol today!