
Learn how cascading style sheets replace inline styles and table-based layouts with reusable CSS rules, linking a single stylesheet across pages for efficient, flexible design.
Explore the parts of a CSS rule: selector, property, and value, and see how to apply styles like background color and font family to multiple selectors, including body and headings.
Learn the types of css rules—internal, inline, and external style sheets—and how to create and link an internal style sheet, convert it to external, and why inline rules are discouraged.
Learn rgb color blending, color names, hex values, and rgb codes in css across h1, h2, and h3, with red, light blue, and light purple.
Explore creating and applying CSS classes in a style sheet, including blue bold text, large green text, and underline, and apply them to elements with span tags.
Discover how divs organize web content with the div tag, offering advanced formatting and pixel-level positioning beyond table cells, including rounded corners, transparency, and layering.
Discover how CSS IDs uniquely style divs with a # selector to set width to 80 percent, a 3-pixel border, yellow background, and blue text, unlike reusable classes.
Experiment with CSS margins to control spacing around a div, starting at 10px on all sides, then increasing to 30px, and using the shorthand for top, right, bottom, and left.
Learn how to apply padding to div elements to create space between text and the element's perimeter, with examples for all-sides padding and targeted top, left, right, and bottom values.
Apply css text properties to style color, color codes, letter and word spacing, alignment, decoration, and transformation, by using classes on paragraphs and previewing changes in the browser.
Explore the CSS font property to set font family, size, style, and line height, and apply a text style class to a paragraph.
Explore adding borders with a custom class, set pixel thickness, apply borders to specific sides or all sides, and use color and dashed styles to preview in the browser.
Learn to apply backgrounds to elements using the background property, including setting background color or a background image, controlling repeat with repeat, repeat-x, repeat-y or no-repeat, and positioning with background-position.
Define image transparency with the opacity declaration, set 40% initially, 90% for contrast, and add a hover to 100% using a style sheet and div tags.
Explore CSS width and height by building nested divs to place a semi-transparent text box over a background image, with padding, opacity, and a white text style.
Learn to use the CSS display property to control visibility and positioning, turning stacked divs into a horizontal row with inline-block and hiding a div with none.
Explore the position property in CSS, including static, relative, absolute, and fixed positioning, and learn that static is the default in normal flow with no change when declared.
Explore how relative positioning adds top and left coordinates to an element and moves it relative to its parent container, including nested divs with offset examples.
Learn how absolute positioning keeps an element in the exact position defined by its style, ignoring page flow and resize, with a parent div and nested divs.
Explore how fixed positioning in css keeps elements in place while the page scrolls, contrasting it with absolute positioning and its movement with content.
Create a basic HTML page structure and apply a CSS float rule to wrap text around the image. Use float right or left and a 10px margin to control spacing.
Learn how the CSS clear property controls floating elements, using a clear declaration to prevent content below a floated blue div from wrapping and stopping the yellow div from floating.
Discover how the z-index property controls the stacking order of overlapping elements. See blue and yellow divs demonstrate that a higher z-index places a div on top.
Style links with four css states—unvisited, visited, hover, and active—using the a selector, applying color changes, underline, and hover background color.
Learn how CSS tables enhance styling and responsiveness of tables, using table elements (tr, th, td) and a style sheet with borders, left alignment, border-collapse, padding, and row hover effects.
Create responsive CSS-based page with a four-link navigation in a header featuring a black background, hover effects and an active link, followed by a collapsible three-column layout and a footer.
Create a basic css rules page that builds a fluid three-column layout with fixed left and right columns and a center content area, plus header and footer styling.
Create a horizontal navigation bar by styling an unordered list with no bullets, zero margins and zero padding, and left-floating items; apply block links with hover and blue active link.
Define responsive CSS rules with a max-width of 840px to stack the right column under the main content, then at 600px stack left and right columns beneath the center content.
Create a structured web page by building a container, header with navigation, a three-column content area with left and right columns, and a footer, using inner text divs for padding.
Explore the document object model, a browser tree of elements from root, head, and body; update elements, attributes, and CSS with JavaScript or jQuery via tag name, id, or class.
Explore how to manipulate the document object model with a basic JavaScript example that changes the h1 text from 'click here' to 'new text' when clicked.
Learn JavaScript, a client-side language that enables web page interactivity by communicating with the browser. See examples like character counting, form validation, required fields, and a tic tac toe game.
Learn how to place JavaScript in the head tag and call functions from the body, avoid loading errors, and trigger a dog-years calculation with a click event.
Create external JavaScript files and call them with a script tag using the src attribute in the head; benefits include easier maintenance, cached files, and faster page loads.
Explore how JavaScript outputs data with document.write by displaying a simple calculation on the page. Compare window.alert, a pop-up output, and note updates when you save changes.
Learn how to use innerHTML and getElementById to display JavaScript results in an HTML element, as a simple 6 plus 3 calculation outputs 9 in the page.
Discover how single-line and multi-line comments in JavaScript explain code, prevent execution, and aid teammates, with examples using // above a function and /* */ for blocks.
Define JavaScript constants as fixed values, shown with 5 and 6 in a paragraph with id math; constants can be numbers or strings, and update on reload after changes.
Explore how JavaScript variables act as named containers that store numbers and strings, using an x, y, z example to demonstrate addition and output in a browser.
Explore how the equals sign functions as an assignment operator in JavaScript, enabling values to be assigned across data types; see how numbers and strings combine in practice.
Learn JavaScript arithmetic operations using constants and variables to add, multiply, and subtract numbers, with practical examples like x, a, b, and c and their outputs.
Learn how to use JavaScript arithmetic operators, including division, increment, and decrement, by declaring and updating variables and displaying outputs in the browser.
Discover how operator precedence directs the order of arithmetic operations, from brackets to exponents, division, multiplication, and addition and subtraction, illustrated by 50 plus 200 in brackets multiplied by three.
Explore JavaScript data types by examining numbers, strings, arrays, and objects, and learn how variables store values and properties as part of the data model.
Explore JavaScript objects by modeling a car with properties like type, model, and color, and output values with getElementById using car.type and car.model.
Show how to output multiple object properties in one line by using a person object with first name, last name, age, and eye color, then display the sentence in the browser.
Explore how JavaScript strings store characters and use single or double quotes, with examples of first and last names and quotes inside strings, output via the break tag.
Determine a string’s length using the built-in length property, with a variable t x t containing all 26 letters, and output the length via innerHTML to show 26 in browser.
Learn how to handle quotes inside JavaScript strings by using the backslash escape character, ensuring correct output with quotations and apostrophes in a browser preview.
Generate a random number in JavaScript with Math.random, which returns a value between 0 and 1. Output the result to the page using getElementById and preview in the browser.
Learn how to use JavaScript Math.min and Math.max to find the lowest and highest values in a list, e.g., -150 as min and 600 as max.
Round decimals to the nearest integer in JavaScript using Math.round, and compare Math.floor and Math.ceil to control rounding up or down.
Learn how JavaScript arrays store multiple values in a single variable using a fruits array, access items with zero-based indexes, and use the length property to count items.
Learn to output array values using the string methods toString and join, and customize the separator with an asterisk—plus spaces around it—then save and preview in the browser.
Learn how to manipulate arrays in JavaScript using pop, shift, push, and unshift to remove and add elements, demonstrated with mango, apple, and cherry.
change array elements by index in JavaScript, turning the first item from Apple to Kiwi and learning how to delete elements by index to leave empty space in the list.
Use the splice method to add multiple items to an array and set the insertion index; for example, insert lemon and banana after orange at index 2 with 0 removals.
Sort an array alphabetically with the sort method, using a cars array of Volvo, Acura, Honda, and Lexus, then reverse it with the reverse method to view in a browser.
Join the girls and boys arrays with the concat method, store the result in a combined variable, and verify output using getElementById in the browser.
Explore JavaScript conditional statements by building a score-to-letter grade calculator using if, else if, and else, handling 0–100 grading ranges and an out-of-range error.
Explore JavaScript comparison operators and how equality tests yield true or false in a test script, comparing a variable to values like 6 and 8.
discover how javascript booleans determine whether a value is true, showing that numbers and strings evaluate to true while zero evaluates to false through a seven-variable example and browser output.
Learn how for loops execute a code block repeatedly, outputting sequential values from 0 to 10 (or a starting point) using document.write and incremental steps to a maximum.
Use the for-in loop to iterate over an object's properties, demonstrated with a Person object containing first name, last name, and age, outputting values like John Smith 30.
Learn how the JavaScript while loop iterates a code block while a condition holds, printing values from 0 up to a chosen maximum (20 or 39) by incrementing i.
Explore the do while loop in JavaScript, which executes the code block once before testing the condition and then repeats while it remains true, demonstrated via a button click example.
Explore how JavaScript break and continue statements control loop flow: break exits a loop when a condition is met, while continue skips an iteration and resumes at the next cycle.
Learn how JavaScript functions encapsulate code blocks, accept parameters and arguments, and return results, enabling reusable calculations like 8 times 2 equals 16 and 6 times 5 equals 30.
Explore JavaScript events in HTML, including click, hover, and mouse out, and see how a button can display the current date and time via event-driven functions.
Learn to build a simple JavaScript project that changes the page background color on each refresh by selecting a random hex color from an array and applying it via document.body.style.backgroundColor.
Welcome to the CSS & JavaScript – Certification Course for Beginners
This two part series provides a detailed overview of the fundamentals of coding using CSS and JavaScript. Students will learn how to create responsive web pages using project based learning. The CSS section explores almost every aspect of CSS development. This includes:
Working with IDs, Classes, and Divisions.
CSS Text Properties, Borders and Backgrounds
Styling Images and Links
CSS Display Properties
Element Positioning Techniques for fully Responsive layouts
Navigation Rules
Page Elements
Much More…
In Section two, students learn to integrate JavaScript components into their web pages for dynamic client-side functionality. We start by exploring basic concepts such as JavaScript placement and Output. From there we move into Variables, Arithmetic Operators, Objects, and Data Types. The course includes many other important topics, such as:
JS Min, Max Functions
Special Characters
Math Functions
Arrays
Changing and Deleting Elements
Conditional Statements
Comparisons
Booleans
Loops (For, For-In, While, Do-While)
Events
Functions
What you'll learn - Overview
Parts of a CSS Rule
Types of CSS Rules
CSS Classes, Spans, IDs, Divisions
CSS Margins, Padding, Text Properties, Font Properties, Borders
CSS Backgrounds, Transparency
CSS Positioning - Static, Relative, Absolute, Fixed, Float, Clear
CSS Link Styling, Z-Index, Tables
Responsive Web Page Design using CSS
JavaScript Placement
JavaScript Variables, Constants, Arithmetic Operators
Operator Precedence, Data Types, Objects
JavaScript Functions, Arrays, Array Attributes
JavaScript Loops (For, For-In, While, Do-While)
Students will also have an opportunity to solidify their learning through exciting hands-on projects.
So, don’t wait another second. Enrol in this exciting new course today!