
Discover JavaScript as a powerful client-side language that adds web page interactivity through features like character counting, form validation, alerts, and simple games, in contrast to server-side PHP.
Explore how to place JavaScript in the head, trigger functions with onclick events, and convert an input age to dog years by multiplying by seven.
Use an external JavaScript file by creating a separate script and calling it with a script tag src attribute. External files simplify maintenance, enable caching, and speed up page loads.
Explore JavaScript output methods by displaying calculation results with document.write and by showing messages in a window.alert pop-up.
Demonstrates using JavaScript to output calculation results with innerHTML by updating an HTML element via getElementById. Shows 6 plus 3 equals 9 and how changing values updates the displayed result.
Learn how to add clear JavaScript comments to explain code, using single-line // and multi-line /* */ styles, to improve readability and collaboration.
Discover how JavaScript constants fix values like 5 and 6, whether numbers or strings, and display their sum in a paragraph with the id math.
Explore JavaScript variables as named containers that store numbers and strings, learn how identifiers work, and see x, y, and z compute 25 and display in a browser.
Understand how the equals sign functions as the assignment operator in JavaScript, linking values between numbers and strings, with a code example showing 30 attached to a string.
Explore JavaScript arithmetic operations by using constants and variables to perform addition, subtraction, and multiplication, and display results in the web page via DOM elements.
Explore JavaScript arithmetic operations, including division of 100 by 50, and practice incrementing and decrementing values with variables like x, z, h, and k to update browser output.
Explore how operator precedence dictates the order of operations, following the sequence brackets, exponents, division, multiplication, and addition and subtraction, with an example that yields 750.
JavaScript data types by examining variables: age as a number, last name as a string, cars as an array of strings, and person as an object with properties.
Explore JavaScript objects by modeling a car with properties like name, model, weight, and color, then access them with dot notation such as car.type and car.model.
Learn to output multiple object properties in JavaScript by building a sentence from a person object with first name and eye color, and test it in the browser.
Learn how JavaScript strings store text with single or double quotes for names like John Smith and Roy Martin. See how nesting quotes with opposite types displays outputs on lines.
Use the built-in length property to determine a string's length, demonstrated with a variable containing all 26 letters, and output the length to the browser (shows 26).
Learn how to handle quotes inside strings in JavaScript by using the backslash escape character, enabling correct display of quotations like player's in the browser.
Generate random numbers in JavaScript using Math.random, which outputs values between 0 and 1, and display them on the page with getElementById to see different results on each refresh.
Use the math.min and math.max functions to find the lowest and highest values in a list of numbers and output the results.
Learn how to round decimals in JavaScript with Math.round, Math.floor, and Math.ceil, using examples like 15.4 to 15 and 15.6 to 16.
Explore how JavaScript arrays store multiple values in a single variable, using a fruits array to show indexing from zero and the length property to count items.
Output array values using string methods and preview the results in the browser. Use the join method to customize separators, for example placing an asterisk with surrounding spaces.
Learn how to manipulate arrays using pop, shift, push, and unshift to remove the last or first element and add new items to the end or beginning.
Change array elements by index numbers: replace the first element with kiwi and index 3's grape with kiwi; delete the element at index 2 (pear) to create an empty slot.
Learn how to use the splice method to insert multiple items into an array at a chosen index, without removing elements, demonstrated by adding lemon and banana after orange.
Sort an array alphabetically using JavaScript sort method on a cars array (Volvo, Acura, Honda, Lexus), then reverse the order with the reverse method, and preview results in a browser.
Join two arrays with the concat method in JavaScript, combining the girls and boys arrays into a combined output, then preview results in the browser.
Learn to use JavaScript conditional statements including if, else if, and else to convert a numeric score into a letter grade, outputting results with document.write and validating scores under 100.
Explore how JavaScript comparison operators determine equality and difference between variables, using values like 6, 8, and 10, and display true or false in the browser.
Apply the boolean function to test variables for truth, showing that numeric and string values are true, while zero evaluates as false, as demonstrated in the script and browser output.
Learn how JavaScript for loops repeat a code block using a count variable from 0 to 10, outputting each value on a new line. Experiment with start values and max.
Demonstrate the JavaScript for-in loop by iterating over a Person object's properties—first name, last name, and age—and output each value in the browser.
Explore how the while loop executes a block of code while a condition holds, outputting i from 0 and incrementing it by 1 up to a maximum such as 20.
Explore the do while loop, a variation of the while loop that runs once before testing the condition and loops while the condition stays true. A JavaScript example triggered by a button click shows initial values and increments, and how starting value affects execution.
Learn how JavaScript break and continue control a for loop, exiting when i equals 3 and skipping the iteration to produce outputs 0, 1, 2, and 4 through 9.
Understand how JavaScript functions define blocks of code that execute on call, with parameters A and B, arguments, and a return statement to output A multiplied by B.
Explore JavaScript events in a document, including click, mouse over, mouse out, key down, and document load, with a button example that displays the current date and time.
Learn to use JavaScript to automatically change a web page background on refresh by selecting a random hex color from an eight-item array and applying it with document.body.style.
Develop a JavaScript driven photo gallery with thumbnails on top and a main preview image that updates on hover, featuring CSS hover borders, background, and layout styling.
Create a centered container with a heading and a main preview image. Build a thumbnails gallery where hovering over each thumbnail swaps the preview image using onmouseover.
Bootstrap speeds web development by providing HTML and CSS templates for typography, forms, buttons, tables, navigation, modals, and image carousels, with optional JavaScript plugins.
Embed Bootstrap by linking its content delivery network on the web page, include jQuery for plugins, and load Bootstrap.js to access built-in CSS and JavaScript components.
Learn how Bootstrap uses HTML5 doctype and CSS to build mobile-first, responsive pages. Create fixed and fluid containers using container and container-fluid, ensuring proper scaling with a viewport meta tag.
Learn how the bootstrap mobile-first grid system uses a 12-column layout to adapt content across devices, with breakpoints like lg, md, and sm demonstrated through two-column examples.
Convert a two-column layout into a three-column Bootstrap grid for laptop and desktop screens. Experiment with equal 4-4-4 columns, then try 2-8-2 or 3-7-2 to see stacking on smaller viewports.
Explore bootstrap typography options, including headings, small secondary text, mark highlights, dotted underlines with tooltips, and code, kbd, and prix elements, plus contextual classes.
Style bootstrap tables with the table class and use thead, tbody, and th for headers. Add borders, a mouse over effect, condensed padding, and contextual classes like success, danger, info.
Discover how Bootstrap styles images using classes like img-rounded, img-circle, and img-thumbnail to achieve rounded corners, circular shapes, and thumbnails, plus img-responsive for responsive scaling.
Create a jumbotron by placing a div with the jumbotron class, using h1 and p for the heading and subtitle, inside or outside the container, and it remains fully responsive.
Explore Bootstrap wells to create headings or emphasize content by applying the well class with small, normal, and large sizes in three example divs.
Bootstrap alerts demonstrate creating predefined messages using alert classes like alert-success, alert-info, alert-warning, and alert-danger, including dismissal with a close button and a fade effect.
Learn to create and style Bootstrap buttons using classes like button default, primary, success, warning, danger, and link; apply sizes and use links or inputs as buttons.
Group buttons into a button group using a div with button group classes, nest each button with button and button primary, and switch to vertical by adding vertical.
Create a full-width Bootstrap button group with the button group justified class inside a div, using anchor tags or buttons labeled home, company, and contact, responsive to browser size.
Learn to use Bootstrap Glyphicons to display icons in text, buttons, and links. See envelope, search, heart, star, and print icons in buttons and links.
Discover how bootstrap badges and labels emphasize links, buttons, and headings by applying badge and label classes with primary, warning, danger, and info styles.
Create and customize Bootstrap progress bars to visually track progress, using divs with classes progress and progress-bar, width styling, optional labels, contextual styles, stripes, and active striped variations.
Explore bootstrap pagination by using a ul with the page nation class to create navigable page numbers, including active, disabled, and size variations such as large, small, and breadcrumb styles.
Learn to implement the bootstrap pager for an unordered list, creating previous and next buttons and aligning them to the container edges using the previous and next classes.
Apply Bootstrap list groups to style lists with list-group and list-group-item, add badges, icons, headings, and text, enable hover effects, and use active, disabled, and contextual classes.
Create Bootstrap panels to contain content using panel body, panel heading, and panel footer, then group panels with panel group and apply contextual colors like primary, warning, and danger.
Build a Bootstrap dropdown menu with a div class dropdown, a button with dropdown toggle and data-toggle, and a ul of options, a divider, a header, and disabled items.
Create Bootstrap collapsibles that show or hide content with a button or link. Use data-toggle and data-target to connect the trigger to the content div by its id.
Learn to create a collapsible Bootstrap panel by clicking the heading to toggle visibility, using panel group, panel, panel heading, and a content area with body and footer.
Learn how to implement a Bootstrap collapsible list group with an unordered list inside a panel, using list-group and list-group-item classes to display three items on demand.
Learn to build a Bootstrap accordion by creating a panel group, assigning an id, and linking headers to collapsible content with data-parent and ex1, ex2, ex3 blocks for multiple panels.
Create a basic bootstrap menu with a ul class list-inline, convert it to a tab menu with nav nav-tabs, set an active tab, and add a dropdown under a tab.
Create Bootstrap pill menus, including inline and vertical versions, using an unordered list with pill classes and an active item, and add a dropdown menu on a list item.
Create dynamic Bootstrap tabs and pills that update content when links are clicked, using nav tabs or pills and matching hrefs to tab panes.
Build a Bootstrap navigation bar that spans full width on large screens and stacks links on small screens, using container or container-fluid options and dropdown menus.
Learn to create a responsive Bootstrap navigation bar that collapses on small screens, using a toggle button, data-target, and collapse wrappers to expand and contract the menu.
Learn to style Bootstrap forms with vertical, horizontal, and inline layouts, featuring a login form with email and password inputs, a remember me checkbox, and basic email validation.
Learn how Bootstrap styles text areas, checkboxes, radio buttons, and select menus using form-group and form-control, with labels and attributes like rows and multiple for accessible forms.
Master Bootstrap form control states in a horizontal form, using grid classes and form-control inputs to implement focus, disabled, success with feedback, warning, and error states with icons.
Explore bootstrap input sizing by applying input-lg and input-sm to inputs and selects, using form-group-lg or form-group-sm in horizontal forms, and varying bootstrap grid layout column widths.
Create a bootstrap carousel that cycles through car images with titles and descriptions, using indicators and left/right controls. The carousel auto-plays on load and adapts to responsive widths.
Create a Bootstrap modal that opens as a dialog on the current page, with header, body, and footer, while fading the background and using data-toggle and data-target attributes for control.
Learn how to implement Bootstrap tooltips by attaching data-toggle and data-placement attributes to elements, customizing the title content, and initializing tooltips with jQuery before the closing body tag.
Learn to implement a Bootstrap popover with a header and content, position it via data-placement, configure data-toggle and data-content, and initialize it with jQuery to control visibility with data-trigger.
Learn Bootstrap Scrollspy to build an on-page navigation with a fixed top bar, linking four content sections with distinct backgrounds and a collapsible menu for mobile.
Explore popular Bootstrap themes and open-source templates, including the Freelancer theme, by downloading and previewing. Build a fluid layout with responsive navigation, modals, and a Bootstrap form with validation.
Explore the Bootstrap project file structure, including CSS and font files, images, JavaScript and jQuery assets, Less extensions, and the main index page.
Learn how this bootstrap theme is developed, from head inclusions and responsive navigation to a grid portfolio with modals, links, and a well-commented structure.
Explore how to structure a Bootstrap-based theme with an about us section, responsive grid layouts, a contact form, a multi-column footer, and portfolio modals, aided by validation scripts.
Learn how PHP, a powerful server-side scripting language, runs on Linux, Windows, and Mac via Apache to process requests and interact with MySQL databases.
Launch lamp or wamp server on your machine to test PHP scripts without a production server. Store scripts in web root in the wamp/lamp directory (www) and use site folders.
Verify your local server configuration and create a php file that outputs hello world with echo, saved as intro.php in the php lessons folder, then view it at localhost/php lessons/intro.php.
Learn PHP syntax by placing code within documents with open and closing tags, using echo and HTML like a horizontal line, and mastering comments, arithmetic, and variable case sensitivity.
Discover how to declare PHP variables with a dollar sign, assign numbers and text, and output values with echo, including combining variables and simple arithmetic.
Explore PHP variable scope by comparing global and local variables, showing how global x yields undefined variable errors outside functions, while local y works only inside functions.
Explore how the PHP global keyword accesses global variables inside a function using x and y, resulting in y being 50, and see that PHP stores globals in an array.
Discover how the PHP static keyword lets local variables retain their value across function calls, incrementing from an initial 10 with each execution and preserving state for reuse.
Compare php echo and print for output, noting echo supports multiple parameters and runs slightly faster, then see echo output with html tags (h1, br, hr) and variables.
Explore PHP data types such as string, integer, float, array, null, and boolean with examples using echo and var dump, and preview next lesson on the object data type.
Learn how PHP objects store data and define behavior by creating a class with properties such as first name, last name, and age, plus a hello method to display values.
Explore PHP strings by using functions such as string word count, string reverse, and string position. Learn to search a string and replace text, with Hello World becoming Hello John.
Explore how PHP constants provide globally accessible, unchangeable values across a script, with names starting with a letter or underscore, optional case sensitivity, and output via echo statements.
Master PHP operators across arithmetic operators, assignment operators, comparison operators, increment and decrement operators, logical operators, string operators, and array operators with practical examples and echoed outputs.
Explore PHP conditional statements, including if, else, else if, and switch, using a variable x to show condition met when x is under 50 and condition not met otherwise.
Explore implementing a PHP else-if chain to map a 0-100 test score to letter grades from F to A plus, using if, else if, and a final else.
Learn how a switch statement compares an expression to predefined cases and executes the matching block. The car example uses Volvo, BMW, and Honda, with a default 'you don't drive'.
Master PHP while and do-while loops by learning conditional execution, incrementing variables, and outputting loop results to understand loop behavior in practice.
Explore for loops and foreach loops in PHP by setting three parameters to output numbers from 0 to 10 and by iterating arrays like cars with echo.
explore php functions, from built-in to custom, learn the syntax, how to define and call functions, pass arguments, and echo outputs like car and color values.
Explore PHP functions with default parameters and return statements, showing a default value of 30 and sums like x and y yielding 3, 7, and 10.
Explore PHP arrays, including indexed, associative, and multi-dimensional arrays. Learn to output values with echo, count lengths, and loop using for and foreach, with named keys.
Create and access multi-dimensional arrays by storing each student's name and two test scores in subarrays, then use indices to output Bob, Sam, and Ted's grades.
Learn to sort PHP arrays using sort and rsort, sort by value with asort/arsort, and by key with ksort/krsort, then output results with a for loop.
Explore PHP superglobals, learn how global variables like Z (X=30, Y=40) yield 70, contrast with local scope, and examine server super global for host name and script locations.
Explore how PHP form processing validates and handles user data, using server-side validation, and compare get and post methods for transmitting key-value form data.
Demonstrate PHP post vs get basics by submitting a form with two inputs to a script, compare $_POST and $_GET, and note the security risks.
Build a PHP form that outputs user input on the page and validates and sanitizes data with trim and stripslashes using a special characters function, posting to the same file.
Learn to add required-field validation to a PHP form using the empty function, with nested if statements and red error messages, and output data only when fields are filled.
Extend PHP input validation with preg_match to enforce names containing only letters and spaces, and verify website formats like www.example.com using else if logic to ensure valid submissions.
Welcome to the JavaScript, Bootstrap, & PHP - Certification Course for Beginners.
This course offers an excellent introduction into three of the most widely used programming languages available for both front-end and back-end development.
Students will start with adding client-side interactivity to web pages using JavaScript. JavaScript is a powerful language that can be used to add numerous functions to web pages, ranging from form validation to animated objects. By using the Document Object Model, students will manipulate individual html and css elements using JS.
The JavaScript section will include a number of key concepts including:
JavaScript output
Variable declarations
Arithmetic operators
Objects
Strings
Math functions
Arrays
Conditional statements
Loops
Functions and events
+ Much More
In addition to JavaScript, students will also learn how to create responsive web page layouts using the popular - Bootstrap library. Bootstrap is widely known as the most popular CSS Framework for developing mobile-first websites. It is a completely open-source framework which contains both CSS and JavaScript based design templates for typography, forms, buttons, navigation and other interface components.
The Bootstrap section of the course will cover the following key concepts:
Typography
Tables
Images
Jumbotrons
Wells
Alerts
Buttons
Glyphicons
Progress Bars
Layouts
Modals
carousels
Popovers
Drop-Down Menus
Forms
+ Much More
Lastly, students will explore adding dynamic server-side functionality to web pages using PHP. PHP is another widely adopted open-source programming language. With PHP, developers can integrated databases into their web development projects and really take their skills to new dimensions.
The PHP section of the course will cover the following key concepts:
Variable Declaration
Data Output
Working with Objects
Conditional Statements
Loops
Functions
Arrays
Form Validation
+ Much More