Categories
CSS HTML

The Eatery Menu 2020: Step by Step Instructions pt 2

(…continued from part one of this exercise…) Now we’ll build the additional layouts the site requires. Header Area If we resize the screen quite wide, the site logo will get absurdly big. We’ll limit that by using our space more economically. First resize the browser window to determine at what size to change the header […]

Categories
CSS HTML

The Eatery Menu 2020: Step by Step Instructions

This is a step-by-step run-though of the layout in this exercise. First, please first download these files and open them up as a new project in your editor of choice. The index file has most of the content for the page. We’ll add a bit more HTML as we go through it. Note: there will […]

Categories
CSS

SASS Settings For LiveSASSCompile VSC Extension

In order to get the LiveSASSCompile Visual Studio Code extension to save its compiled CSS files in the root level of a project, edit your VSC Settings. On Mac, you can do that by going to Code > Preferences > Settings. Once there, type in SASS in the field at the top. In the left […]

Categories
WordPress Templates

Multiple Loops in WordPress 2020

About Custom Loops This will be one of the more complex topic we cover in this class, but knowing how to make multiple loops in a single template file gives you some amazing abilities. The default loop gives you posts in order of most recent to least recent. However, with custom loops, we can select from […]

Categories
WordPress Templates

Icon Fonts with WP_Nav_Menu()

HIDING THE LINK TEXT:With wp_nav_menu, you can specify content to go before and after each link in the menu. Here “link_before” and “link_after” are being used to wrap the link text in a span that hides it while still remaining accessible. INSERTING THE ICONS:Then we can use CSS BEFORE pseudo-class selectors in order to inject […]

Categories
Langara Outlines

WMDD 4835 + 4840 Combined Final Assignment

The due date of the combined 4835 + 4840 final assignment is the day of your team presentation. The project will be a website promoting or supporting your PWA project. On the same day that you present your PWA, your team will also present this website.   Here is a discussion of some outstanding previous student […]

Categories
CSS HTML

DTN Mag Layout Lab Exercise 2020

First download these files: DTN Magazine Layout If inside the downloaded folder is a file called Instructions, delete it. It was for an older version of the exercise. Your Task Inside the downloaded content is a folder of screenshots.  Your job here is to make the page look as close as possible to the layouts […]

Categories
CSS HTML

Layout Exercise: Pretendco

What To Do NOTE: if this is a regular weekly exercise, the mark is out of 1, as usual. Consider the questions identified as “bonus” to be part of the exercise (and not for bonus marks). The marks listed below are for if this is an exam. Video Demonstration Please ignore the video in the […]

Categories
CSS HTML

Layout Exercise: Metonymy 2020

Please download the starter files and set them up as a new project in the editor of your choice. In this exercise, you will make a single-page responsive design. You can definitely use the Internet or your notes. If this is a test, you may not talk to anyone other than me or the Instructional […]

Categories
WordPress WordPress Templates

WordPress Menu Exercise 2020 pt 3: Enqueuing Scripts

Enqueuing for Scripts Enqueueing scripts (or local stylesheets), it is a bit more complicated, but it’s learnable. Underneath the last wp_enqueue_style function, type wp_enqueue and select wp_enqueue_script from the menu that shows up (thank you, WordPress Snippets extension). The following helpful boilerplate is output, showing us what arguments are expected by the function: The values […]