Need help with user story#2

I am running into an error with user story # 2 if you could please take a look at my code and tell me what im doing wrong please and TIA

    <SCRIPT LANGUAGE="JavaScript">
<!--Beginning of JavaScript -
 function MsgBox (textstring) {
// - End of JavaScript - -->

    <header id="title">
      <h1>MVAC Training</h1>
      <nav id="navbar">
          <a class="nav-link" href="#refrigerants_and_their_impact_on_health_and_the_environment" rel="internal">
            <li>Refrigerants and Their Impact on Health and the Environment</li>
          <a class="nav-link" href="#epa_regulations" rel="internal">
            <li>EPA Regulations</li>
          <a class="nav-link" href="#alternative_refrigerants" rel="internal">
          <li>Alternative Refrigerants</li>
          <a class="nav-link" href="#responsible_refrigerant_management" rel="internal">
            <li>Responsible Refrigerant Management</li>
          <a class="nav-link" href="#terms_and_acronyms" rel="internal">
            <li>Terms and Acronyms</li>
    <main id="main-doc">
      <section class="main-section" id="refrigerants_and_their_impact_on_health_and_the_environment">
          <h2>Refrigerants and Their Impact on Health and the Environment</h2>
          <p><b>R-12 From Miracle to Menace</b> When CFC-12, ir R-12( also referred to by its brand name, Freon) made its debut in 1930, the industry hailed it as a miracle chemical. It was non-poisonous, easy and cheap to manufacture, and stable. The first in a family of chloroflurocarbons (CFCs) yet to come, R-12's stability and low cost made air conditoning the creature comfort of the 20th century.</p>            
            <p>Unfortunatley, scientists believe that CFCs like R-12, have contributed to depletion of the Earth's protective ozone layer located in the stratosphere. Located about 10 to 30 miles above the Earth's surface, this precious layer filters out most of the sun's harmful ultraviolet radiation. While ozone is bad near Earth's surface, in the stratosphere it's essential to our survival. The ozone layer acts as a sunscreen, protecting human, plants and animals from the harmful effects of excessive ultraviolet radiation. The stability of CFCs, the quality which proved so beneficial to mankind, also makes them a threat to the ozone layer. Once CFC's are released into the atmosphere, they travel high into the stratosphere through chemical reaction. Scientific concern about the ozone layer escalated during the 1970s, but it wasn't until 1985 that scientists confirmed their suspicions withsolid data. This was when the infamous ozone hole over Antartica first appeared, prompting international agreement for action on ozone-depleting chemicals. This formal agreement became known as the Montreal Protocol and was signed in 1987.</p>
           <p> <b>Risks and Effects of Excess UV Radiation</b> The EPA assesed and detailed some of the key risks associated with excess UV radiation. These include increased reports of skin cancer, negative effects on the body's immune system, an increase in the number of eye cataracts, damage to vegetation, adverse effects on sea life, and an increase in ground-level ozone ( a contributor to higher smog levels). Research indicates that vegetation, particularly crops, can also be adversely affected by increased UV radiation. Combined with a bad growing season such as a drought, severe crop reductions could have a devastating effect on the world's food and bio-fuel supply.
            In the sea, plankton (floating or weakly swimming animal and plant life) and some species' larvae may be killed off or reduced by increased UV radiation. Plankton and larvae are near the bottom of the food chain and many other marine animals feed on these life forms. Loss of these food sources could have an imapct on the food chain, all the way up to humans.
            Ozone is a chemical compound consisting of three oxygen atoms. However, the oxygen molecules that sustain our lives contain two oxygen atoms, whereas the ozone molecules that poison the atmosphere contain three oxygen atoms. Under the influence of sunlight, a chlorine atom is released from a CFC molecule and reacts with one of the oxygen atoms in the ozone to produce chlorine monoxide and free oxygen. Neither of those can filter out the sun's ultraviolet radiation the way ozone can. For each one percent of ozone reduction,1-1/2 to 2 percent more UV radiation reaches the Earth's surface. The EPA mandated the phase-out of R-12 because of its ozone-depleting characteristics. By the 1994 model year, manufactures had completed their transition away from R-12 and to its successor HFC-134a, commonly known as R-134a. Nonetheless, CFCs like R-12 pose a lingering threat to the ozone layer due to their long atmospheric lifespan. The good news is that the unified efforts to ban CFCs have paid off. NASA estimates that the ozone layer will likely return to its early 1980s state around 2065.</p>
           <p> <b>R-1234yf</b> Carries a GWP rating of 4 and shows great promise as an alternative to R-134a for a couple of reasons. First, R-1234yf's pressure/temperature relationship closely resembles that of R-134a, This may reduce manufacturing conversion costs, because key system components need less redisign. Second, although R-1234yf has a higher GWP than other lo-GWP alternatives, it takes less fuel to power an MVAC system charged with R-1234yf. The end result is less CO2 emitted from the engine. R-1234yf does possess mild flammability traits, which can be offset through proper system design and service. The EPA lists R-1234yf as an acceptable alternative refrigerant, provided that it's used only in new A/C systems according to specific criteria, along with dedicated fittings and labeling. R-1234yf is not to be used for retrofitting systems that were originally filled with another refrigerent.</p><b>R-152a</b> has a GWP of 124, roughly 90% lower than R-134a and has been used for some time in various manufacturing processes. The advantages of R-152a include a proven history of performance, low cost, and pressure/temperature relationship similar to R-134a. On the downside, R-152a has flammability traits that surpass R-1234yf. EPA lists R-152a as an acceptable alternative refrigerant, provided that it's used only in new A/C systems according to specific criteria, along with dedicated fittings and labeling.<br><br><b>R-744</b> (Carbon Dioxide, or CO2) has a GWP of 1, which is the lowest direct GWP rating of any availiable refrigerant, and serves as the baseline for the GWP rating system. R-744 was used in some of the earliest refrigeration systems, so its performance characteristics are well understood. The advantages of R-744 MVAC systems include using a naturally occuring refrigerant with the lowest GWP rating. This will require different service procedures, as R-744 systems operate at much higher pressures than other alternatives. Although R-744 does not have flammable characteristics, it does displace oxygen. This presents a potential suffocation risk to vehicle passengers that must be addressed for vehicles using this refrigerant. German auto manufactures favor R-744 systems, but it's inclear whether vehicles with these systems will appear in the U.S. marketplace. EPA classifies R-744 as an acceptable alternative refrigerant, provided that it's used onlyin new A/C systems according to specific criteria, along with dedicated fittings and labeling. R-744 is not to be used for retrofitting systems using a different refrigerant.
    <section class="main-section" id="epa_regulations">
        <h2>EPA Regulations</h2>
      <p><b>Section 609 of the Clean Air Act Amendments of 1990</b> The most important parts of the amendments to Section 609 of the Federal Clean Air Act have to do with servicing MVAsystems. These regulations are detailed in 40 CFR Part 82: Protection of Stratospheric Ozone. In Subpart B, Servicing of Motor Vehicle Air Conditioners, specific sections lay groundwork for responsible refrigerant management practices during system service.<br><br><b>Section 82.34-Prohibitions and required practices</b> This section requires that anyone repairing or servicing MVAC systems for hire must be properly trained and certified by an EPA-approved organization and the equipment used must also be EPA-approved. Also, this section prohibits the sale of Class 1 Refrigerants in containers smaller than 20 pounds to anyone other than trained and certified personnel. Restrictions and requirements on refrigerant removed prior to motor vehicle disposal are also covered. finally, refrigerant handling equipment can't be sold unless it meets specific requirments.<br><br><b>Section 82.36-Approved refrigerant handling equipment</b> In this section, the EPA incorporates numerous standards from the Society of Automotive Engineers (SAE) that apply to the recovery and recycling of refrigerant. Standards that apply specifically to R-12 refrigerant handling equipment manufactured or imported after December 31, 2007. SAE standards J1990 (for R-12) and J2788 (for R-134a) and J2843 (for R-1234yf) establish requirments for recovery and recycling equipment. This includes hardware-related items, compliance with related SAE standards, and performance criteria. The EPA requires refrigerant recovery/recycling equipment to be tested by an approved independent standards testing organization. Among other things, these test confirm that the equipment meets the specifications in the applicable SAE standard. SAE purity standards for R-12, R-134a, and R-1234yf ensure that recycled refrigerants meet industry specifications:<br><br><b>J1991</b> is a purity standard for recycled R-12 and specifies a limit, in parts per million(ppm) by weight, for three different contaminants:<b>1)</b>Moisture-15ppm by weight; <b>2)</b>refrigerant oil-4,000ppm by weight, and<b>3)</b>non-condensable gases(air)-330ppm by weight.<br><br><b>J2099</b> is also a purity standard that sets limits for contaminants in recycled R-134a  and R-1234yf:<b>1)</b>moisture-50ppm by weight,<b>2)</b>lubricant-500ppm by weight, and <b>3)</b>non-condensable gases(air)-1.5% by volume. SAE standard J2209 specifies the requirements of equipment used for R-12 recovery-only. SAE standard J2810 states the requirments for equipment used for R-134a recovery only. Recovery-only equipment can't recycle refrigerant or recharge a system, but may be beneficial to some operations such as automotive salvage yards or service or service businesses with multiple outlets. SAE standard J2851 applies to recovery-only equipment for extracting a contaminated refrigerant from a system originally filled with R-1234yf. Originally intended to be the standard for R-1234yf recovery-only equipment, this standard was broadened out of concern over recovering any contaminated refrigerant from R-1234yf MVAC system. Specifics include performance requirements for the recovery process, compliance with related SAE J-standards and certification that requirements have been met through an independent testing organization. The EPA allows the use of recovery-only equipment as long as the recovery refrigerant is sent an off-site facility where the refrigerant is reclaimed, not recycled. Reclaimed refrigerant must meet a more stringent, like-new purity standard detailed in AHRI Standard 700, "Specifications for Flourocarbon Refrigerants," published by the Air-Conditiong, Heating, and Refrigeration Institute(AHRI). Under Section 609, refrigerant removed from a system using recovery-only equipment can be transferred to recovery/recycling equipment, recycled and then reused in an MVAC or MVAC-like system. Or, it can be sent to a reclaimer. (Contaminated R-1234yf will always need to be reclaimed because J2843 requires 98% purity before it will recover and recycle.)<br><br><b>Section 82.42-Certification, Recordkeeping and public notification requirements</b> This section establishes the requirement that anyone servicing MVAC systems for hire needs to be properly trained and certified by an EPA-approved organization. In addition, credentialed personnel must use recovery, recovery/recycle, or recover/recycle/recharge equipment that has met EPA approval and details about this equipment certification form availiable from the EPA website at: Other reuirements in this section relate to recordkeeping: <b>1)</b>The name and address of any facility where refrigerant may be sent  <b>2)</b>Any person who sells Class 1 refrigerants in a container less than 20lbs. must verify that the purchaser is properly trained and certified. All records must be kept for three years. <b>3)</b>Upon request, EPA personnel are to be allowed on the premises for access to records related to certification and recordkeeping.<b>4)</b>Any person who sells Class 1 refrigerants in containers less than 20lbs. must post a sign in a prominant place stating, "It is a violation of federal law to sell containers of Class 1 refrigerant of less than 20lbs. of such refrigerant to anyone who is not properly trained and certified to operate approved refrigerant recycling equipment."<br><br><b>Section 608 Programs-Differences and Overlap</b> Under a seperate section of the Clean Air Act, EPA enacted regulations related to the training and certification of technicians that service stationary refrigeration and air conditioning systems. The EPA defines four types of certification under section 608, relative to the specific type of air conditioning or refrigeration system:<b>1)</b>Type 1 for servicing small appliances.<b>2)</b>Type 2 for servicing or disposing of high- or very-high-pressure appliances except small appliances and MVACs.<b>3)</b>Type 3 for servicing or disposing of low-pressure appliances.<b>4)</b>Universal for servicing all types of equipment.
    <section class="main-section" id="alternative_refrigerants">
        <h2>Alternative Refrigerants</h2>
      <p><b>Refrigerant Sales Restrictions</b> The sale of any size container of ozone-depleting refrigerant, including refrigerant blends, is retricted to technicians who have been properly trained and certified through a section 609 program. The sale of R-12 in containers less than 20lbs, however, is exclusivly restricted to technicians who have been properly trained and certified through a Section 609 program. In the Fall of 2016, the EPA published a final rule that also imposed a sales restriction onto HFOs such as R-134a, effective January 1, 2018. Cans of refrigerant under 2 pounds with self-sealing valves that are intended for MVAC service are exempt from this restriction. A list of Alternative Refrigerants are as follows:<b>1)</b>Evaporative Cooling<b>2)</b>Free Zone<b>3)</b>Freeze 12<b>4)</b>GHG-HP<b>5)</b>GHG-X5<b>6)</b>HFC-134a<b>7)</b>HFC-152a<b>8)</b>HFO-1234yf.</p>
   <section class="main=section" id="responsible_refrigerant_management">
       <h2>Responsible Refrigerant Management</h2>
     <p><b>Safety First</b> As an MVAC technician, check your state and local regulations to see if your state requires compliance with SAE J639, "Safety Standards for Motor Vehicle Refrigerant Vapor Compression Systems." This standard covers all aspects of MVAC design, implementation and service.<br><br> Whenever you service air conditioning systems or operate service equipment. Folow these guidelines:<b>1)</b>Always wear safety goggles with side shields and insulated gloves to avoid direct contact with refrigerant.<b>2)</b>Work in a well-ventilated area to avoid asphyxiation from refrigerant and follow common shop safety practices.<b>3)</b>Obtain and keep readily availiable the Safety Data Sheet(SDS) for eachrefrigerant serviced. Familiarize yourself with specifics of each SDS information is availiable from your supplier.<b>4)</b>Follow all manufactures' instructions for equipment operation.<b>5)</b>Exposure to refrigerant may cause frostbite. Rub the affected area with luke warm water and consult a physician immediately.<b>6)</b>Consult a physician immediately should exposure to high refrigerant concentrations cause labored breathing, breathlessness, headache, accelerated pulse, or dizziness.<b>7)</b>Avoid breathing A/C refrigerant lubricant vapor or mist. To remove refrigerant from the A/C system, use service equipment designed for recovery of that refrigerant which is certified to meet the requirements of the appropriate SAE standards.</p>
 <section class="main-section" id="terms_and_acronyms">
     <h2>Terms and Acronyms</h2>
   <p><b>Terms and Acronyms Used In This Training Material</b><b>Class 1 Substance:</b>Ozone-depleting chemical with an ozone-depletion potential greater than 0.2(i.e. CFCs)<b>Class 2 Substance:</b>Ozone-depleting chemical with an ozone-depleting potential less than 0.2(i.e.HCFCs)<b>CFCs:</b>Chlorofluorocarbons such as CFC-12(R-12)<b>HCFCs:</b>Hydrochlorofluorocarbons such as HCFC-22(R-22)<b>HFCs:</b>Hydrochlorofluorocarbons such as HFC-134a(R-134a)<b>HFOs:</b>Hydrofluoroolefins such as HFO-1234yf(R-1234yf)<b>MVAC:</b>Motor Vehicle Air Conditioning<b>MVAC-like appliance:</b>A system used on a vehicle substantially identical to an MVAC. This Type of system uses a mechanical vapor compression, open-drive compressor to cool the driver's or passenger's compartment of a non-road vehicle, including agriculture and construction vehicles.<b>ODS:</b>Ozone-depleting substance</p>

It’s so much easier if you provide a link to your pen

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).


im sorry i am very forgetful
Technical Documentation Page FCC (

i appreciate all the help you have given me! thank you fro taking time out of your day to help!

Remember that when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The failing test says

Within the #main-doc ( <main> ) element, I can see several <section> elements, each with a class of "main-section". There should be a minimum of 5.
There are not at least 5 elements with the class of "main-section" : expected 4 to be at least 5
AssertionError: There are not at least 5 elements with the class of "main-section" : expected 4 to be at least 5

Do you understand what the test is telling you?

i dont understand what AssertionError means. did i miss one? is that what its telling me?

im not understanding your response . could you please show a reference?

That’s correct.

Both the second line and the third line say the same thing “expected 4 to be 5”

How can you check?

  1. Click in the html editor
  2. press CMD + F (CTRL +F in Windows)
  3. type in main-section in the box and hit the enter key
  4. press CMD + G (CTRL +G in Windows) to go to the next one
  5. keep track of the line number and you’ll see there are only four .main-section entries

Edit: Btw, an assertion error is thrown to indicate that an assertion has failed.
In this case the test is asserting that there are five .main-section and since there is not…

1 Like

My apologies, I think you may be working on a different project. Will you specify exactly which class and project you need help with? Thanks.

that helped me see a syntax error. thank you!

It is Resposive Web Design Technical Documentation Page

Can i do this same method with other stories?

I’m not sure what you’re asking.

If you mean can you use CMD+F to find things, yes. That is just a shortcut for Find.

The definition for assertionError is also universal.

At the bottom of codepen’s iframe you’ll see “keys”. Press that and it will show you shortcuts you can use.

so i just type in what im looking for?

Yes, it’s a basic editor function.

I’m having an issue with user story# 6 on the Technical Documentation Page with implementing the code tag and im not sure how to progress without further advice. Any help would be greatly appreciated! TIA.

On a side note, if you look at my code where my is located it is highlighted as if there is an error…could you please look at that and tell me or give me an idea of where im missing the error and what the error is? TIA
Technical Documentation Page FCC (

Hi @William8

I notice your technical documentation project is not on a programming related topic yet the test expects code elements in your project. I would recommend enclosing words such as R-134a in a code tag like:


Having at least 5 of them in your project should get the test to pass. And don’t forget to include li elements as required for test 7.

1 Like

Thank you for the help. I didn’t realize it was specifically on a programming related topic.

@William8, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The failing message says

The .main-section elements should contain at least 5 <code> elements total (not each).
There are not at least 5 <code> elements throughout all of the elements with the class of 'main-section' : expected 0 to be at least 5
AssertionError: There are not at least 5 <code> elements throughout all of the elements with the class of 'main-section' : expected 0 to be at least 5

Do you understand what the test is looking for?
Have you searched to see what a code element is and how to implement it?

1 Like