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 esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM 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.
<center><h1> Respiratory, Circulatory System, Lab and Plants Test</h1></center>
<h2> 1. Gas exchange in the respiratory system occurs at the: </h2>
<input type="radio">pharynx</input>
<input type="radio">trachea</input>
<input type="radio">bronchioles</input>
<input id="a" type="radio">alveoli</input>
<h2> 2. The following are parts that belong to the neuron:</h2>
<input id="b" type="radio"> axon </input>
<input type="radio">nodes of Ranvier </input>
<input type="radio">myelin sheath </input>
<input type="radio"> all of the above </input>
<h2> 3. The following are part of the central nervous system: </h2>
<input type="radio"> brain </input>
<input type="radio"> spinal cord </input> <input id="c" type="radio"> both the brain and the spinal cord</input>
<input type="radio"> none of the above </input>
<h2> 4. The human circulatory system consists of: </h2>
<input type="radio"> the pulmonary circuit </input>
<input type="radio"> the systemic circuit</input>
<input id="d" type="radio"> both a and b</input>
<input type="radio"> none of the above </input>
<h2> 5. The heart has the main chambers:</h2>
<input type="radio">right ventricle </input> <input type="radio">left ventricle </input>
<input type="radio"> right atrium </input>
<input type="radio"> left atrium</input>
<input id="e"type="radio"> all of the above</input>
<h2> 6. Plant tissues consist of:</h2>
<input type="radio"> dermal tissue </input><input type="radio"> ground tissue</input>
<input type="radio"> vascular tissue</input>
<input id="f" type="radio"> all of the above</input>
<h2> 7. Phloem is considered:</h2>
<input type="radio"> ground tissue</input>
<input type="radio">vascular tissue </input>
<input type="radio"> dermal tissue</input>
<input id="g" type="radio"> none of the above </input>
<h2>8. The purpose of the stomata and guard cells: </h2>
<input id="h"type="radio"> </input>to allow gases to enter plant
<input type="radio"></input>to allow water to enter plant
<input type="radio"> </input> a and b
<input type="radio"> </input>none of the above
<h2> 9. The epidermal and periderm are considered:</h2>
<input type="radio">ground tissue </input>
<input type="radio">vascular tissue </input>
<input id="i" type="radio">dermal tissue </input>
<input type="radio"> all of the above</input>
<h2>10. The somatic nervous system controls:
</h2>
<input id="j" type="radio">voluntary movement</input>
<input type="radio"> involuntary</input>
<input type="radio"> a and b</input>
<input type="radio"> none of the above</input>
<h2>11. The following were observed under the microscope during the lab:</h2>
<input id="k"type="radio">cell membrane</input>
<input type="radio">nucleus </input>
<input type="radio">cell wall </input>
<input type="radio">all of the above </input>
<h2> 12. If the magnification of the objective lens is 40x, then the magnification power must be:</h2>
<input type="radio">400x </input>
<input type="radio">40x </input>
<input type="radio">4x </input>
<input id="l" type="radio">4000x</input>
<h2> 13. Which of the following is a blood vessel in the human body? </h2>
<input type="radio">Arteries </input>
<input type="radio">Veins</input>
<input type="radio">Capillaries </input>
<input id="m" type="radio">all of the above
</input>
<h2>14. what is your Sympathetic Division?</h2>
<input id="n" type="radio">emergency system: "fight or flight!"
</input>
<input type="radio">"rest or digest!"
</input>
<input type="radio"> your spinal cord
</input>
<h2> 15. Read the description of the following plant tissue. Which one is it:</h2>
<h3>-they are specialized cells with transport of water, hormone and minerals throughout the plant.</h3>
<h3>-they are located in the veins of the leaves.</h3>
<h3>-the primary components are xylem and phloem.</h3>
<input type="radio">ground tissue
</input>
<input id="o"type="radio">vascular tissue
</input>
<input type="radio">dermal tissue
</input>
<h2>16. Where is a lateral meristem located in a plant? </h2>
<input id="p"type="radio">in the vascular and cork cambia</input>
<input type="radio">located at root and shoot tips</input>
<input type="radio">in the leaves</input>
<h2>17. Which is not a factor of photosynthesis? </h2>
<input type="radio">Temperature</input>
<input type="radio">Carbon dioxide concentration</input>
<input type="radio">Light intensity</input>
<input id="q"type="radio">Oxygen</input>
<h2>18. Which is not a part of the leaf?</h2>
<input type="radio">cuticle</input>
<input type="radio">vein</input>
<input type="radio">epidermis</input>
<input id="r"type="radio">none of the above</input>
<h2>19. What did we use in the cheek cell lab? </h2>
<input type="radio">iodine</input>
<input type="radio">bromo blue</input>
<input id="s"type="radio">all of the above</input>
<button onclick="myFunction()">
submit</button>
var one=document.getElementById("a")
var two=document.getElementById("b")
var ni=document.getElementById("c")
var three=document.getElementById("d")
var four=document.getElementById("e")
var five=document.getElementById("f")
var six=document.getElementById("g")
var seven=document.getElementById("h")
var eight=document.getElementById("i")
var nine=document.getElementById("j")
var ten=document.getElementById("k")
var el=document.getElementById("l")
var tw=document.getElementById("m")
var th=document.getElementById("n")
var fo=document.getElementById("o")
var fi=document.getElementById("p")
var si=document.getElementById("q")
var se=document.getElementById("r")
var ei=document.getElementById("s")
function myFunction(){
var score=0;
if(one.checked==true){
score=score+1
}
if(two.checked==true){
score=score+1
}
if(ni.checked==true){
score=score+1
}
if(four.checked==true){
score=score+1
}
if(five.checked==true){
score=score+1
}
if(six.checked==true){
score=score+1
}
if(seven.checked==true){
score=score+1
}
if(eight.checked==true){
score=score+1
}
if(nine.checked==true){
score=score+1
}
if(ten.checked==true){
score=score+1
}
if(el.checked==true){
score=score+1}
if(tw.checked==true){
score=score+1}
if(th.checked==true){
score=score+1}
if(fo.checked==true){
score=score+1}
if(fi.checked==true){
score=score+1}
if(si.checked==true){
score=score+1}
if(se.checked==true){
score=score+1}
if(ei.checked==true){
score=score+1}
if(three.checked==true){
score=score+1}
alert("your score is:" + " " + score)
}
Also see: Tab Triggers