In this assignment, you will use JQuery to program the buttons in the table below with the adjoining behavior. You will also complete the response in the adjoining column for each behavior. Download the JQuery library here. Download an archive of this webpage sourcefile here.
Based on JQuery Novice to Ninja Chapters 1 & 2.
Have fun, and remember to wash your hands often!
|How many paragraphs are on this page?||There are xxxxx paragraphs.|
|How many paragraphs are between the second and third H2 headlines?||There are 3 paragraphs.|
|Change all the H2 headlines on the page to center text alignment and color #39F.||I changed xxxxx H2 headlines.|
|Alternatively hide and display the summary div element on this page over a timeframe of 2 seconds. Change the button label accordingly with each change by using an anonymous callback function.||The summary is xxxxx.|
|Using a CSS class, update the paragraph text to have padding of 30px in all paragraphs on the page except for the first paragraph (in the summary).||I changed xxxxx paragraphs.|
|Add a CSS3 drop shadow to every image on the page.||I updated xxxxx images.|
all content courtesy of www.webmd.com
Worried about catching the flu? Want to learn some ways to prevent flu? Then read on to learn more about flu -- what flu is, how flu is spread, and who's at greatest risk for getting flu. Knowledge is power when it comes to preventing flu -- and we want you and your family members to stay well!
Influenza, commonly shortened to "flu," is an extremely contagious respiratory illness caused by influenza A or B viruses. Flu appears most frequently in winter and early spring. The flu virus attacks the body by spreading through the upper and/or lower respiratory tract.
The common cold and flu are both contagious viral infections of the respiratory tract. Although the symptoms can be similar, flu is much worse. A cold may drag you down a bit, but the flu can make you shudder at the very thought of getting out of bed.
Congestion, sore throat, and sneezing are common with colds. Both cold and flu bring coughing, headache, and chest discomfort. With the flu, though, you are likely to run a high fever for several days and have headache, myalgia, fatigue, and weakness. Usually, complications from colds are relatively minor, but a severe case of flu can lead to a life-threatening illness such as pneumonia.
More than 100 types of cold viruses are known, and new strains of flu evolve every few years. Since both diseases are viral, antibiotics cannot conquer cold or flu. Remember: Antibiotics only treat bacterial infections.
A few antiviral medications are available to treat flu. But there are no medications that specifically defeat the common cold. Antibiotics may be helpful if there is a secondary bacterial infection.
For in-depth information, see WebMD's Flu Treatment.
"Stomach flu" is a popular term but not a true medical diagnosis. It's not uncommon to mistake gastroenteritis, which is what stomach flu is, for the viral infection we commonly call "flu." Gastroenteritis refers to inflammation of the gastrointestinal tract (stomach and intestines). Viruses are the most common cause of stomach flu. With gastroenteritis, you may have symptoms such as abdominal cramps, nausea, vomiting, and diarrhea.
Symptoms of flu are similar to a cold except flu symptoms are much worse with fatigue, fever, headache, and respiratory congestion. Flu symptoms come on so abruptly that you may know the exact time you first came down with flu.
For more about gastrointestinal flu, read WebMD's Stomach Flu or Influenza?
The flu virus is spread from person to person through respiratory secretions and typically sweeps through large groups of people who spend time in close contact, such as in daycare facilities, school classrooms, college dormitories, military barracks, offices, and nursing homes.
Flu is spread when you inhale droplets in the air that contain the flu virus, make direct contact with respiratory secretions through sharing drinks or utensils, or handle items contaminated by an infected person. In the latter case, the flu virus on your skin can infect you when you touch or rub your eyes, nose, or mouth. That's why frequent and thorough hand washing is a key way to limit the spread of influenza. Flu symptoms start to develop from one to four days after infection with the virus.
While anyone can get flu, infants, the elderly, and people with chronic ailments such as diabetes, heart disease, lung disease, and HIV are at highest risk for flu complications. Despite advances in flu prevention and treatment, the CDC estimates that deaths related to influenza range from 3,000 to 49,000 deaths in the United States each year.
Specific strains of flu can be prevented by a flu vaccine, either a flu shot or nasal spray flu vaccine. In addition, antiviral medications are available to prevent flu. These medications may help reduce the severity and the duration of flu and are best used within the first 48 hours of flu symptoms.
For in-depth information, see WebMD's Flu Complications.
The first challenge is determining if you have the flu. If you have these symptoms, give your doctor a call. Common symptoms of the flu include:
In addition, if you've had the flu for a few days and then get worse, call your doctor immediately. These symptoms may indicate a secondary or bacterial infection with flu. Call your doctor if:
If you have a chronic medical condition such as heart disease, asthma, COPD, diabetes, or HIV/AIDS, it's important to call your doctor when the first flu symptoms appear as flu might increase the risk of serious problems associated with your chronic condition. For instance, if you have asthma and flu, you may need to boost your asthma medications and asthma inhalers to prevent an asthma attack. Your doctor can instruct you.
Also, seek emergency medical help if you or a loved one is extremely short of breath or has a severe headache or stiff neck.
Most of the time, a flu diagnosis is made by the person's symptoms. In some cases, your doctor may also run flu tests to make an accurate flu diagnosis. These tests usually involve taking a swab from your mouth and culturing this to identify the flu virus. Rapid flu tests may give your doctor results in about five to 30 minutes. Your doctor may prefer to use a rapid flu test before prescribing flu drugs, which must be taken within 48 hours of the first flu symptoms.
According to the CDC, two flu antiviral drugs are recommended for use in the United States. These antiviral drugs are Tamiflu and Relenza.
Tamiflu and Relenza must be given within 48 hours of the onset of flu symptoms. These flu drugs can decrease the duration of the flu by one day if used within this early time period. They are usually given for about five days.
Your doctor will determine if you can take antiviral drugs with a flu diagnosis, but you need to call your doctor as soon as you have flu symptoms for these drugs to provide a benefit.
According to the CDC, up to 20% of Americans get the flu each year. More than 200,000 people in the U.S. are hospitalized each year, and about 3,000 to 49,000 deaths are flu-related. These statistics would decrease if more people took advantage of the opportunity to prevent flu with an influenza vaccine or flu shot.
Because flu season may begin as early as October and run through May, the best time to get a flu shot is in October or November. It takes about two weeks for the flu shot to be effective. You can still get an influenza vaccine in December or later, but earlier is more beneficial for preventing flu.
There are two types of flu shots or influenza vaccines available for children and adults.
The first kind is the traditional flu shot. The flu shot is an inactivated virus and cannot cause the flu. This influenza vaccine is given with a needle.
The other kind is a nasal influenza vaccine called FluMist. This influenza vaccine contains weakened viruses, which is unlikely to cause flu symptoms but sometimes can cause runny nose, congestion, and fatigue. The nasal influenza vaccine is recommended only for non pregnant, healthy people, ages 2 years to 49 years.
For in-depth information on flu prevention, see WebMD's What is FluMist?
Both the flu shot and the nasal flu vaccine work by causing antibodies to develop in your body. These antibodies provide protection against infection from the flu virus. This antibody reaction may cause fatigue and muscle aches in some people. But remember that the flu shot cannot cause the flu and the nasal flu vaccine is unlikely to do so.
Each year, the flu vaccine contains several different kinds of the virus. The strains chosen are the ones that researchers say are most likely to show up that year.
An annual flu shot is recommended for anyone who wants to reduce his or her chances of getting the flu. The flu shot is highly recommended for certain high-risk individuals who are more prone to flu complications, such as pneumonia. Those at risk for complications include:
Researchers divide flu viruses into three general categories: types A, B and C. All three types can mutate, or change into new strains, and type A influenza mutates often, yielding new strains of the virus every few years. This means that you can never develop a permanent immunity to influenza. Even if you develop antibodies against a flu virus one year, those antibodies are unlikely to protect you against a new strain of the flu virus the next year.
Type A mutations are responsible for major flu epidemics every few years. Type B is less common and generally results in milder cases of flu. However, major flu epidemics can occur with type B every three to five years.
Type C causes infection but does not cause typical flu symptoms. Both influenza A and B have been linked to the development of Reye's syndrome, a potentially fatal complication that usually affects children and teens under 18. Widespread outbreaks of Reye's syndrome have occurred with influenza type B and also with chickenpox, but other viruses have been implicated. The risk of Reye's syndrome is increased when taking aspirin, so children should not take aspirin.
Most influenza viruses that infect humans seem to originate in parts of Asia, where close contact between livestock and people creates a hospitable environment for mutation and transmission of viruses. Swine, or pigs, can catch both avian (meaning from birds, such as poultry) and human forms of a virus and act as hosts for these different viral strains to meet and mutate into new forms. The swine then transmit the new form of the virus to people in the same way in which people infect each other -- by transmitting viruses through droplets in the air that people breathe in.
For in-depth information, see WebMD's Types of Flu.
Bird flu, or avian influenza, is an infectious disease of birds caused by type A strains of the influenza virus. Bird flu epidemics have occurred worldwide. The recent spread of bird flu has been localized to certain parts of Asia.
Bird flu is a leading contender to be the next pandemic flu bug because it has caused an unprecedented epidemic in poultry and wild birds across Asia and Eastern Europe. Still, no one knows for sure whether this will cause the next human flu pandemic.
For in-depth information, see WebMD's Understanding Avian or Bird Flu.