.splice()
: change the value in the middle of an array, it takes in at least 2 arguments in the following order .splice(item you wnt removed, number of total items to be removed)
, additional items can be attached after the first 2 items by name
git branch
see what branch I am atgit checkout -b <branch name>
: create and move to new branchalt
is used as a alternate text to be displaed when the image cannot be properly displayed (ex. misspelled filename). One real world application is for screen readers or browsers that don’t support images.<figcaption>
, or adding titles (as a title
attribute inside the <img>
element)<figure>
should be used as semantic element to contain figures, and <figcaption>
is telling the browser the texts entered are captions for the figure embedded.gif
is an animated image, and a svg
is an image casted using math, so when compressed or enlarged, no pixelated “dots” appearsPNG
should be used since it can better reproduce the original image, especially when there’s texts present. Since a screenshot is likely a smaller version of the original imagefont-size
changes the size of the text, font-weight
changes how much the text to be bolded, and font-style
allows the style such as bold, italic, etc.<h1>
element can have extra spce by changing the line height
to the font properties, or by changing the padding/margin of the entire elementhttps://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML ↩
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types ↩
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Applying_color ↩
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Applying_color ↩