HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
type or paste code here<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Documentation Page</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<nav id="navbar">
<header>Printed Circuit Board (PCB) Documntation</header>
<a class="nav-link" href="#Introduction">Introduction</a>
<a class="nav-link" href="#How_to_design">How to design</a>
<a class="nav-link" href="#Free_software">Free software</a>
<a class="nav-link" href="#Opensource_software">Opensource software</a>
<a class="nav-link" href="#Actual_design">Actual design</a>
<a class="nav-link" href="#Manufacturing">Manufacturing</a>
</nav>
<Main id="main-doc">
<section id="Introduction" class="main-section">
<header class="sechead" >Introduction</header>
<p>
Printed circuit board is an electronic circuit that relies on DC current. </p>
<p>Components on this board are not connected by wire but by lines of copper stretched across a fiber board.</p>
<p>Such board is manufactured of fiber covered with a layer of copper.</p>
<p> A design for connection lines in the circuit is printed on this layer then then the copper is removed except where the lines of design exist.</p>
<p> These lines are used as the atcual copper connections.</p>
</section>
<section id="How_to_design" class="main-section">
<header
class="sechead">How to design</header>
<p>To design a PCB you need some kind of software. In this regard the available software can be divided into categories.</p>
<ul>
<li>For beginners and hobbyists, there is relatively simple software. One of the best is <code>Express PCB</code>. </li>
<li> More advanced software may differ in many terms. A main difference is related to the number of layers that can be included in a design in a design.</li>
<li>Highly advanced software may integrate PCB design with other industrial designs and manufacturing operations. An example is <code>Eagle</code>.</li>
</ul>
<p>Note that the number of layers in a design refers to an integrated circuit that is very small and is installed not on fiber but on a silicon wafer. </p>
</section>
<section id="Free_software" class="main-section">
<header class="sechead">Free software</header>
<p>Free software as the title suggests can be used for free. This category includes a variety of software.</p>
<ul>
<li> Some are relatively simple and are intended to be used for training by students and beginner professionals. An example is the previously mentioned <code>Express PCB</code>.</li>
<li> All you need for downloading this software is to register your email while applying for a download. Its developers recover their cost by providing optional paid services for users.</li>
<li> Developers of other software that are more sophisticated cannot recover their costs by selling paid services. An example is the previously mentioned <code>Eagle</code>, which is used in return of subscriptions, remaining to be free for hobbyists and students. </li>
</ul>
</section>
<section id="Opensource_software" class="main-section">
<header class="sechead"> Opensource software</header>
<p>There are similarities between free and opensource software. Important features are:</p>
<ul>
<li>Open-source software is generally released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software as well as its source code to anyone and for any purpose. </li>
<li> Opensource software allows any capable user to participate in development, making the number of possible contributors indefinite. In the meantime, the ability to examine the code facilitates public trust in the software. </li>
<li> Open source code can be used for studying and allows capable end users to adapt it to their personal needs in a similar way <code>User Scripts</code> and <code>Custom Style Sheets</code> allow for web sites. This results in savings for consumers</li>
</ul>
<p>These features apply to opensource PCB design software. I should refer to Wikipedia as the main source of this and of more information about this type of software. </p>
</section>
<section id="Actual_design" class="main-section">
<header class="sechead"> Actual design</header>
<p> Actual PCB design may begin by doing a Schematic design as a guide for a Layout. </p>
<ul>
<li>The schematic is a plan for the circuit that includes selecting the components and specifying their electrical connectivity.</li>
<li>The Layout is the process in which this plan is applied. In this process components are placed on the board and their actual connections are specified as on the physical board.</li>
<li>You will use your problem-solving skills to place the components and specify their lines of connections within the tightly constrained space of the board.</li>
<li>Before you are finished you have to check for mistakes of electrical connectivity. The schematic is the reference, and the software normally connects the layout to the schematic, doing the checking and telling you about the mistakes. </li>
</ul>
</section>
<section id="Manufacturing"
class="main-section">
<header class="sechead" >Manufacturing</header>
<p>Steps for manufacturing include:</p>
<ul>
<li>Printing the board. It is not to be printed on paper but on fiber material.
</li>
<li>If silk screen is used, the board will be treated in an acidic solution to erase the redundant copper that is outside the lines of connectivity.
</li>
<li>The ink is then removed and the placement holes are drilled in preparation for installing the components.
</li>
<li>Advanced methods don’t use silk screen, and the lines of connection are directly made by mechanically scratching the copper guided by the software. </li>
<li>Finally, the components are soldered at points of connection. For a small number of boards this can be done manually. For large quantities soldering is carried out by mechanically throwing molten tin on the boards while passing over a conveyer belt.</li>
</ul>
</section>
</main>
</body>
</html>
Also see: Tab Triggers