This is an audio online podcast thing for the beginner coder. HTML, CSS, WordPress and other topics will be discussed as well as video tutorials and live feeds. Maybe even some interviews.
Session 10 – Captain Butterskull Himself
In this session Aronan, Elli and Alphonse defend Butterskull Ranch from several Orcs and a White Dragon.
Character creation tool: https://dndbeyond.comAronan: Character SheetTwitter: https://twitter.com/2nerds1questWebsite: SchaffenCreative.com/2-nerds-1-quest/
Eps 36: Document Object Model (DOM)
Document Object Model (DOM)
Taken from w3schools.com – The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document.”
The W3C DOM standard is separated into 3 different parts:
Core DOM – standard model for all document types
XML DOM – standard model for XML documents
HTML DOM – standard model for HTML documents
The HTML DOM is a standard object model and programming interface for HTML. It defines:
The HTML elements as objects
The properties of all HTML elements
The methods to access all HTML elements
The events for all HTML elements
In other words: The HTML DOM is a standard for how to get, change, add, or delete HTML elements.
Viewed as a hierarchical tree – image is in the w3schools link attached above
Eps 35: Fixed Position Footer
What is a fixed position footer?
The concept of taking a footer that more than likely doesn’t sit at the bottom of a screen comfortably and forcing it to stay put at the bottom of the screen.
This is ideal if you have information there that you would like people to have a constant view on. Ie, social links, navigation links, contact information
Content goes here.
Flexbox – via CSS Tricks by Chris Coyier
Eps 34: Website SEO in 2018
Write your code correctly
H1, h2, h3, p, table, use alt tag on images – 2 for 1 also impacts adaptability standards (screen readers and assistance devices
Biggest push and newest standards are trending towards (or in most cases already implemented) creating a mobile friendly and responsive website
Tougher to do using wordpress vs frameworks like Bootstrap, but always test your mobile views before clicking publish
DO NOT USE m. for your mobile site, make your site responsive (scalable)
Find ways to get other websites to link to your site. If you are building websites for others the easiest way would be to add a “Designed and developed by” statement in the bottom corner of the site with a link back to you
Write guest blog posts for other sites
Have good content
Put enough on your page to get your point across.
A few sentences isn’t going to cut it
Make sure the content is worthwhile
Images, videos, graphs etc
Use a security certificate
Google emphasizing that now
Get one from your hosting service
Could be free like dreamhost or 30$ like ipage for a basic certificate.
If you do any type of money collection on your page ie taking credit card numbers etc then splurge on the appropriate version. More expensive but gives peace of mind
Not necessary if you are being a portal to services like PayPal
Make people want to stay on your site
The faster someone clicks off your site the more it will affect your SEO
The Definitive Guide To SEO in 2018
Search Engine Optimization (SEO) Starter Guide
SEO ranking factors in 2018
Eps 33: Testing Sites
Importance of a testing site
You never want to put your code out on an active website if it hasn’t been tested first.
Most importantly – Can break any or all aspects of what is already out
May not show up
Content may not be ready to go live, but you still want to see what it’s going to look like or stage it for release
A couple different ways
Use a subdomain as your testing site ideal for hand-coded websites as well as wordpress sites (hand-coded sites is easier to transfer via ftp vs redoing the work for wordpress sites)
Schaffencreative.com would have a subdomain of testing.schaffencreative.com
Do everything on the testing site while using a “coming soon” page or plugin on the real domain
Use GitHub to manage hand-coded work (useful links below)
Using GIT to Manage a Live Website
What is GITHub And Why Should Your Digital Team Use It.
Use a WordPress Plugin
I’ve never explored this option
Use your local machine (computer) to create and test your site
Should be for more experienced developers only
Labor intensive to set up and get running
Set up a local server
How to create a local WordPress site using XAMPP
Other excellent resource: How to Create a WordPress Staging Site for All Your WordPress Testing Needs
To sum up: ALWAYS TEST YOUR CODE FIRST
Eps 32: Custom WordPress Homepage
1.) Login via FTP
2.) Find the main index page of your theme
3.) Download via FTP
SAVE THE ORIGINAL COPY AS A SEPARATE FILE SO YOU CAN EASILY REPLACE ANY CHANGES/ERRORS
4.) Edit page accordingly. For example:
* Remove sidebar code
* Remove main page code
* Add new sections using html – basic HTML, Bootstrap or any other framework compatible with WordPress
* Test your changes, experiment with removing different sections
* Search online for tutorials on how to utilize WordPress code to its fullest extent
5.) Save document as front-page.php
* Wordpress looks for front-page.php if it exists and uses that as home
6.) Upload new front-page document to the root of your wordpress site where index.php lives
7.) Login to wordpress
8.) Go to pages
* Create a new page
* Call it whatever you want
9.) Go to your settings section.
* In settings there is an option to select a specific home page and a specific blog page.
10.) Select whatever page you created as your specific home page
11.) DON’T FORGET TO SAVE YOUR SETTINGS
12.) You are now ready to go to your created page and add content.
Next week I’ll discuss how to add multiple editable sections to your page editor so you can work around custom content, or simply just have separate chunks of content/code.