Aug 3, 2024
<script>
tag at the bottom of the HTML fileconsole.log()
for outputting valuesconsole.error()
, console.warn()
, etc.var
, let
, const
let
and const
over var
let
: reassignableconst
: constant (not reassignable)typeof
to check data typeslength
, toUpperCase()
, substring()
, split()
, etc.push()
, pop()
, shift()
, unshift()
, indexOf()
, isArray()
, etc.JSON.stringify()
to convert objects to JSON formatfor...of
and high-order array methods: forEach()
, map()
, filter()
this
getElementById()
, querySelector()
, querySelectorAll()
remove()
, textContent
, innerHTML
, changing stylesaddEventListener()