Rain, No sleep, or Shine #201

Describe one thing you’re learning in class today.

Today I learned about CONDITIONALS. Conditionals are a way we can compare data and return results. To use conditionals we simply put them into a conditional statement like an if/else statement that asks "Is this comparison going to be true or false”.

What is the difference between == and === ?

== in Javascript is used for comparing two variables, but it ignores the datatype of variable. === is used for comparing two variables, but this operator also checks datatype and compares two values. It returns true only if both values and data types are the same for the two variables.

What is the value of foo? var foo = 10 + '20';

foo = ‘1020’; Because it’s a string concat operation.

Describe what a terminal application is.

A terminal application is a computer program that emulates a video terminal within some other display architecture. A terminal window allows the user access to a text terminal and all its applications such as command-line interfaces (CLI) and text user interface (TUI) applications.

What is the ternary operator?

The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is truthy followed by a colon (:), and finally the expression to execute if the condition is falsy. This operator is frequently used as a shortcut for the if statement.

What are some ways to ensure that your website design or web application is accessible and user-friendly?

Make Sure Your Site Is Keyboard-Friendly.

Make Sure All Content Is Easily Accessible.

Add Alt Text to All Images.

Use Headers to Structure Your Content Correctly.

Design Your Forms for Accessibility.

Don’t Use Tables for Anything Except Tabular Data.

Enable Resizable Text That Doesn’t Break Your Site.

What are your favorite features of HTML5, and how have you implemented them in your front-end development projects?

I’d like to start with a couple features i personally have not used yet, but I think the <audio> and <video> feature are pretty sweet. From what I read and remember its pretty easy to use to render awesomeness right into your HTML. Some features I have used though that i’ve found outright absolutely fun are canvas, making forms with placeholders, and making content 3-D.

How do you structure your CSS and JavaScript to make it easier for other developers to work with?

I organize my stylesheets with sections for each site component. Each section has comments throughout the code so other developers can change it.

What’s your process for addressing browser-specific rendering problems? Do you find that a certain browser is more challenging to work with than others?

It is entirely possible for developers to be hindered by an error as minute as not closing a tag. So to ensure my content is rendered and accessible I link all my DOCTYPEs.

Austin Coding Academy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store