I've created a Technical Documentation Page made by using HTML, CSS.
-
I've used a
main
element with a correspondingid="main-doc"
, which contains the page's main content (technical documentation). -
Within the
#main-doc
element, there are severalsection
elements, each with a class ofmain-section
. -
The first element within each
.main-section
is aheader
element which contains text that describes the topic of that section. -
Each
section
element with the class ofmain-section
have an id that corresponds with the text of eachheader
contained within it. -
I've used a
nav
element with a correspondingid="navbar"
. -
In the navbar element I've used one
header
element which contains text that describes the topic of the technical documentation. -
The navbar contains link elements with the class of
nav-link
. There is one for every element with the classmain-section
. -
Each element with the class of
nav-link
contains a text that corresponds to theheader
text within eachsection
. -
By clicking on a navbar element, the page navigate to the corresponding section of the
main-doc
element. -
The elements with
id="navbar"
is hown on the left side of the screen.