Greem

let str = “The brown fox”

str.slice(3)

// “ brown fox”

str.slice(1, 8)

// “he brow”

str.charAt(4)

//”b”

str.split()

//[“The brown fox”]

str.split(“ “)

//[“The”, “brown”, “fox”]

Math.floor(1.9)

//1

--

--

What is semantic HTML?

Semantic HTML reinforces clear web content rather than vague<div> containers.

<section><article><nav><main><header><footer><aside><summary><details>

Why Semantic markup HTML?

Semantically correct HTML helps search engines, web browsers, developers and crawlers to distinguish between different types of data.

  1. SEO
  2. Accessibility
  3. Maintainability

--

--