Link Search Menu Expand Document

Web development

Here are some tips that may help you get started with web development.

Do not use TextEdit on Mac for editing code

It defaults to rich text format (RTF) instead of the plain text we need. It also doesn’t provide syntax highlighting. If you absolutely must use it, change the default format to plain text (instructions here).

CSS flexbox

CSS can be a bear to use. Here is one resource that might help you to at least learn about the CSS flexbox layout.

JS tutorials

Learning JS can also be challenging. Here is one tutorial series that may help.

JS statements: let vs. var vs. const

To make our code more modular, reusable, and error-free we should limit variable scope to the relevant parts of the code. In part, we do this by using let statements instead of var by default so as to not set global variables. We can also use const to create read-only references.


© 2022 Cody Dunne. Released under the CC BY-SA license