Migratory birds at Chilika face avian flu threat

first_imgLakhs of migratory birds which have congregated at the Chilika lake are facing a threat to their lives following the detection of avian influenza virus barely a few kilometres away from the Nalabana Bird Sanctuary.Some crows and chickens were found dead inside poultry farms in Krushnaprasad block last week. Subsequently, samples were sent to the National Institute of High Security Animal Diseases, Bhopal, for testing.The State government informed that the samples have tested positive for H5N1 virus and a massive culling operation would be undertaken from Friday inside private poultry farms in the affected villages, including Sana Sahi, Maluda and Patharganj.The Puri district administration would cull birds within one km radius of the place where the carcasses were found. Besides, officers of animal husbandry department have been asked to intensify surveillance in 10 km-radius area.As a precautionary measure, the State government has withdrawn eggs from the menu of midday meals being served in Puri district. Transportation of birds from affected areas has also been prohibited. Sale of eggs and chicken has also been banned in the district.“There is threat to migratory birds as avian flu was detected barely 5 km from the sanctuary limit. Bar-headed goose birds are most susceptible to H5N1 virus, which is very contagious,” said Susanta Nanda, Chief Executive of Chilika Development Authority.“No preventive action can be taken as it is difficult to sanitise such a large area of the Nalabana Bird Sanctuary. The Chilika Wildlife Division is prepared to face any emergency situation,” he added.“There is an existing guideline how to dispose of affected birds. The dead birds have to be buried deep beneath the soil. One needs to send whole sample for testing without opening it,” he elaborated.According to Mr. Nanda, more than seven lakh migratory birds have arrived at the Chilika lake this year.last_img read more

admin

Durham wants no letup from No. 1 Bolts heading into playoffs

first_imgPingris wants showdown with Ginebra in playoffs Kammuri turning to super typhoon less likely but possible — Pagasa Brace for potentially devastating typhoon approaching PH – NDRRMC E.T. returns to earth, reunites with grown-up Elliott in new ad  Read Next LATEST STORIES PBA IMAGESTopping the eliminations is not a cause for celebration for Allen Durham.Meralco claimed the top seed in the 2017 PBA Governors’ Cup with a 9-2 card but the reigning Best Import said that his team shouldn’t rest on its laurels going forward.ADVERTISEMENT MOST READ Don’t miss out on the latest news and information. BSP sees higher prices in November, but expects stronger peso, low rice costs to put up fightcenter_img Fire hits houses in Mandaluyong City Frontrow holds fun run to raise funds for young cancer patients  Nonong Araneta re-elected as PFF president LOOK: Loisa Andalio, Ronnie Alonte unwind in Amanpulo for 3rd anniversary Trending Articles PLAY LIST 00:50Trending Articles00:50Trending Articles01:38‘Bato’ to be ‘most effective’ CHR head? It’s for public to decide – Gascon01:37Protesters burn down Iran consulate in Najaf01:47Panelo casts doubts on Robredo’s drug war ‘discoveries’01:29Police teams find crossbows, bows in HK university01:35Panelo suggests discounted SEA Games tickets for students02:49Robredo: True leaders perform well despite having ‘uninspiring’ boss02:42PH underwater hockey team aims to make waves in SEA Games “We got to keep doing work and we have a number one goal in mind and that’s to be champs. We got to get back to work tomorrow,” he said. “If you wanna be a champion at anything, it’s not gonna be easy. It’s going to be games like this in the playoffs and we just got to play defense and keep going.”Meralco faces Blackwater on Wednesday in the quarterfinals. “It feels good, but they don’t give you trophies for being number one in the regular season,” he said after the Bolts’ 104-101 victory over San Miguel Beer on Sunday.Durham said Meralco’s performance against the Grand Slam-seeking Beermen was a good gauge to see how far last year’s runner-up can go in the playoffs, especially after trailing by 18 points midway through the third quarter before eking out the victory.FEATURED STORIESSPORTSWATCH: Drones light up sky in final leg of SEA Games torch runSPORTSSEA Games: Philippines picks up 1st win in men’s water poloSPORTSMalditas save PH from shutout“We knew that if we wanted any chance to win, we’re gonna have to play all 48 minutes. That’s what we did tonight. We started slow but we just stayed with it and kept grinding, that’s just the type of team that we are,” he said.Durham fired 35 points, 13 rebounds, eight assists, and two blocks in the victory and the 29-year-old big man feels it would take more from him and the rest of his teammates if they want to win the franchise’s first-ever PBA title. View commentslast_img read more

admin

San Miguel aims for All-Filipino Cup history after failed Grand Slam bid

first_imgFire hits houses in Mandaluyong City The Beermen now have their sights set on a fourth consecutive PBA Philippine Cup championship, a feat that has never been done before.“We just have to move on. We’re going to bounce back next conference. We can still make history with four straight All-Filipino titles,” said June Mar Fajardo in Filipino after SMB got blown out by Barangay Ginebra in the 2017 Governors’ Cup quarterfinals.FEATURED STORIESSPORTSWATCH: Drones light up sky in final leg of SEA Games torch runSPORTSSEA Games: Philippines picks up 1st win in men’s water poloSPORTSMalditas save PH from shutoutREAD: Ginebra thwarts San Miguel’s grand slam bid, enters semisIt was a painful exit for the Beermen, who suffered their worst loss of the season. “We are the defending champions of the All-Filipino the last three years, we’ve been the best team in the PBA for the last three or four years” he said.“Just cause we fell short today doesn’t mean we’re still not the best team. I think a lot of people think that we’re still the best team in the PBA regardless of our shortcomings this conference.”The 32-year-old Ross, who was the Finals MVP in the 2017 Philippine Cup, said the team can’t wait to be back on the court.“We’re eager to get going in the All-Filipino, we want to take a rest and rest our bodies because it’s a long year and we played more games by far than any team in the PBA so we need to rest our bodies, come back and defend our crown.” LOOK: Loisa Andalio, Ronnie Alonte unwind in Amanpulo for 3rd anniversary Nonong Araneta re-elected as PFF president Fire hits houses in Mandaluyong City It’s done: Wade makes it official, signs with Cleveland LATEST STORIES As its quest for a Grand Slam ended on Wednesday night, San Miguel Beer quickly shifted its focus on a different shot at history.ADVERTISEMENT Frontrow holds fun run to raise funds for young cancer patients  BSP sees higher prices in November, but expects stronger peso, low rice costs to put up fight MOST READ Don’t miss out on the latest news and information. Filipino athletes get grand send-off ahead of SEA Games PLAY LIST 01:27Filipino athletes get grand send-off ahead of SEA Games01:33Leo Austria, SMB wary of ‘more experienced’ Hotshots ahead of PBA Finals rematch00:50Trending Articles01:37Protesters burn down Iran consulate in Najaf01:47Panelo casts doubts on Robredo’s drug war ‘discoveries’01:29Police teams find crossbows, bows in HK university01:35Panelo suggests discounted SEA Games tickets for students02:49Robredo: True leaders perform well despite having ‘uninspiring’ boss02:42PH underwater hockey team aims to make waves in SEA Games Brace for potentially devastating typhoon approaching PH – NDRRMC The setback, however, also put things in perspective for San Miguel.“Just cause we don’t win the grand slam doesn’t mean we didn’t have a great year,” guard Chris Ross said. “We had a great year, we won two conferences, five out of nine championships, it’s not a failure.”“Sometimes you fall short in life, sometimes it’s how you bounce back from shortcomings so I’m sure it will hurt, it hurts all of us in the locker room but there’s some smiles over there and we got something to play for in the All-Filipino is to win that conference four straight.”READ: San Miguel ends Ginebra’s 7-game run Ross believes the title of being the best team in the PBA still belongs to the Beermen despite their early exit.ADVERTISEMENT View comments Read Next Typhoon Kammuri accelerates, gains strength en route to PHlast_img read more

admin

FIH rejects interim settlement between HI-IHF

first_imgSports Minister Ajay Maken.The International Hockey Federation (FIH) on Friday dealt a major blow to Sports Ministry’s effort of reconciliation between Hockey India and Indian Hockey Federation by rejecting the interim “working relationship” between the two warring bodies.The FIH said that it was “surprised and disappointed” to learn about the temporary arrangement and threatened to take away the hosting rights of men’s Champions Trophy (in December) and next year’s Olympic Qualifiers from India if the situation remains the same.The world body also made it clear that it recognises only HI as the sole governing body for hockey in India.”The FIH has expressed to the Indian Sports Minister its grave concern about the ‘settlement’ recently announced between Hockey India (HI) and the Indian Hockey Federation (IHF), without prior consultation with the FIH.”It is a fundamental and non-negotiable requirement of the Olympic Charter and the FIH Statutes (and indeed of the Indian Government’s own guidelines and draft sports bill) that there can only be one governing body for a sport in each country with exclusive authority and responsibility to govern, organise national competitions and to enter national teams in international competitions,” FIH said in a statement.”The FIH recognises HI as the governing body for hockey in India. The FIH does not recognise IHF and has not done so since 2000. The FIH is therefore surprised and disappointed to learn that the proposal now is simply, as a temporary fix, to transfer governance authority in India from HI to a new ‘joint executive committee’ controlled jointly by HI and the IHF and ‘co-chaired’ by the HI and IHF presidents,” it said.-With PTI inputs advertisementlast_img read more

admin

TFA 2018/19 Annual General Meeting

first_imgIn accordance with the Touch Football Australia Limited Constitution (TFA Constitution), written notice is hereby given that the TFA Board has scheduled the TFA Annual General Meeting for the 2018/19 financial period to be held on 16th November 2019.Date: Saturday, 16th November 2019Time: 11:00am AEDSTLocation: Rugby League Central, 44 Driver Ave, Moore Park, Sydney NSWNote: Teleconference facilities are available for those unable to be physically present at the Annual General Meeting as prescribed in clause 23 of the TFA Constitution. Teleconference details are noted on page 1 of the 2019 Notice of Annual General Meeting form, below.Please find documents relating to this meeting here:2019 Notice of Annual General Meeting with Director Nominations2018 AGM MinutesTouch Football Australia 2018/19 Annual ReportTouch Football Australia 2018/19 Financial Reportlast_img read more

admin

The Elders Conclude Fruitful First Visit To Iran

first_imgConcluding a full three-day visit to Tehran, The Elders offered their support to the people of Iran during this period of renewed openness and dialogue.Kofi Annan, Chair of The Elders, speaks with President Hassan Rouhani during the Elders’ visit to TehranCredit/Copyright: Morteza Nikoubazl/The EldersWhile visiting Tehran, The Elders met with various leaders including President Hassan Rouhani; former President Akbar Hashemi Rafsanjani; Speaker of the Majlis, Ali Larijani; Foreign Minister Javad Zarif; Secretary of the Supreme National Security Council General Ali Shamkhani; Head of the Centre for Strategic Research, Ali Akbar Velayati; and Seyyed Ali Khomeini, grandson of the late Ayatollah Rouhollah Khomeini. They also met members of the diplomatic community.After concluding talks Kofi Annan, Chair of The Elders, said: “We are very encouraged by the frankness of our conversations with our hosts. We are convinced that Iran can be a key factor for stability and opportunity in the region, thanks to its historical role and capacity to influence others.”Among the issues discussed during the visit were: easing of regional tensions; the spread of extremist violence internationally; human rights; and the Syrian crisis. The Elders welcomed and supported the progress being made in the international negotiations over Iran’s nuclear programme.Mr Annan added: “We share with our Iranian hosts a deep concern about the tragic situation in Syria. We must do everything we can to end the nightmare that Syrian men, women and children are going through. We believe Iran should be part of the solution to the Syrian crisis.”Commenting on the interim nuclear agreement signed in Geneva last November, Martti Ahtisaari, former President of Finland, said: “This is an exciting development in the world today. Efforts must be sustained so that a final agreement can be signed by all parties. If the world fails in this, it will not only be the Iranian people who suffer, the stability of the region will suffer as well.”The Elders also addressed how new economic opportunities could open to Iran and its citizens. Former President of Mexico Ernesto Zedillo, who led profound social and economic reforms while in office, said: “Iran is at a crossroads. It has well educated and cultured citizens, including many young people, who are ready to seize enormous opportunities and take advantage of the global economy. The world needs to engage with Iran and help realise its potential. Because then, everyone will benefit.”Honorary Elder Archbishop Desmond Tutu, who joined the delegation at the express invitation of the Iranian authorities, emphasised his concern for the people of the region: “We believe firmly that it is possible for all of God’s children to live harmoniously together. Our founder Nelson Mandela, who sadly passed last year, taught us this. And he told us to speak up for those people downtrodden and without a voice.”The Elders were encouraged by their visit and will now consider their next steps and hope to continue their work to strengthen regional cooperation and an easing of tensions.last_img read more

admin

Husky taking steps to resume SeaRose operations two months after oil spill

first_imgST. JOHN’S, N.L. — A Canadian oil and gas company says it’s working to reassure regulators that they can resume safe operations, two months after a massive oil spill at one of their offshore oil production sites.Work at the site of Husky Energy’s SeaRose production vessel has been halted since an estimated 250,000 litres of oil spilled into the ocean on Nov. 16 at the White Rose oilfield, about 350 kilometres off the coast of St. John’s, N.L.In a release on Friday, Husky says the company could begin flushing and leak testing of the central drill centre as early as this weekend, weather depending.Husky says it’s working with the coast guard, the Canada-Newfoundland and Labrador Offshore Petroleum Board, and other bodies to finalize a plan to recover the platform’s flowline connector and plug the flowline.The company submitted a preliminary report to the board in December, saying the initial release of oil occurred over 20 minutes when crews were troubleshooting a drop in flowline pressure, and a retest led to a second release lasting about 15 minutes.The spill, considered the largest in Newfoundland and Labrador’s history, has renewed calls for the government to take a fresh look at how the province regulates the offshore industry.The Canadian Presslast_img read more

admin

Cairo sees first snow in years as cold snap hits Egypt

first_imgCAIRO – A regional cold snap spread to Egypt on Friday, with some Cairo suburbs seeing snowfall for the first time in years, a weather official said. The Middle East has been hit by a fierce winter storm, with temperatures in Egypt plummeting over the past two days as torrential rain also lashed parts of the country.“It is the first time in very many years” that it has snowed in the suburbs of Cairo, said Ali Abdelazim, an official at the meteorological centre. “The whole garden was white,” Karim Kheirat told AFP by telephone from the new town of Medinati northeast of the capital.“It’s the first time in my life that I have seen it like this.”Other suburbs of the capital also saw light snow showers, residents said.In the Sinai Peninsula, the storm deposited a blanket of snow several centimetres (inches) thick in the mountainous area around Saint Catherine’s monastery for the first time in decades.Mokhtar Hussein, who lives in the area, said he had not left his house since Thursday because of the weather.“We aren’t leaving the house at all because the whole town is covered in snow,” he said.On the Mediterranean coast, gardens, streets and houses in the town of Ras al-Bar were covered by a layer of white after heavy snow, resident Rania al-Mubashir said.The northern coastal city of Alexandria only received light snowfall, but authorities shut the port for the third consecutive day because of the bad weather and strong winds.last_img read more

admin

Ohio State womens soccer bound for NCAA tourney

When the 64-team field for the 2011 NCAA women’s soccer tournament was announced Monday, the Ohio State women’s soccer team was included, giving the Buckeyes a chance to follow up last season’s run to the national semifinals. The unseeded Buckeyes (10-8-2, 5-5-1) will take on regional No. 4 seed Tennessee at 2 p.m. Nov. 12 in a first-round matchup hosted by the Volunteers (15-6-0). OSU’s postseason hopes seemed to be in some doubt after the team suffered a first-round loss to Illinois in the Big Ten Tournament on Thursday. Coming in as the No. 7 seed, the Buckeyes lost, 4-2, on penalty kicks after regulation and two overtime periods resulted in a tie, 1-1. The second-seeded Fighting Illini eventually went on to win the tournament. The Buckeyes concluded the regular season 10-8-1, with a 5-5-1 mark within the conference. A couple of program milestones highlighted the season. The team recorded the 200th victory in program history on Sept. 23 with a 2-1 win against Illinois at Jesse Owens Memorial Stadium. That mark was eclipsed on the team’s alumni weekend. “I’m really happy with where the program is and what we’ve been able to do over the years,” coach Lori Walker, who was at the helm of 164 of the 200 wins to that point, said at the time. “It’s nice to recognize this milestone because it includes everyone who has been a part of it.” The 2011 senior class won its 49th game with a 3-0 triumph against Indiana on Senior Day at Jesse Owens. The victory moved that class into a tie with the 2006 class for the second-most wins for a four-year group in program history. “From top to bottom I think they’re just some of the nicest people I’ve ever worked with,” Walker said. “Anytime you can have nine seniors go from the beginning to the end together, it’s a testament to their strength.” Senior forward Caitlyn Martin, who tallied a goal in the victory, spoke about the close-knit relationships within the team. “We have a great senior group and we’re really close, so it was really special to go out on our last day in the Jesse and get a win and play for each other,” Martin said. “It was a great team effort.” The low point of the season was a stretch from Sept. 29 to Oct. 23, in which the team lost five of seven games, prompting Walker to say the offense was “in the crapper” following an Oct. 16 loss to Nebraska. It was during this slide that the Buckeyes let their postseason hopes almost slip away. In the end, the Buckeyes made the national tournament for the third straight season while several OSU players garnered postseason honors. Senior defender Danielle Scoliere followed up last week’s first-team All-Big Ten honors by being named to the conference’s all-tournament team last Sunday, while sophomore midfielder Danica Wu was named to the second-team All-Big Ten. Senior defender Liz Sullivan was OSU’s Big Ten sportsmanship honoree and also joined senior goalie Katie Baumgardner on the all-district academic third team, announced Monday. The winner between OSU and Tennessee will go on to the second round to play the winner between Illinois State and Milwaukee. read more

admin

Ozil incident wont affect hosting bid

first_imgReinhard Grindel, the president of the German Football Association (DFB), believes the Mesut Ozil incident will not derail the Country’s Euro 2024 bid.The Arsenal playmaker retired from the national team over issues “racism and disrespect” after a disastrous World Cup campaignOzil took aim at Grindel in a statement announcing his retirement, saying that “in the eyes of Grindel and his supporters, I am German when we win, but I am an immigrant when we lose.”Grindel, however, brushed aside the accusations in the wake of his country’s bidHe said: “Everyone in the DFB and in UEFA knows me very well. I have profound trust that they can put this into perspective, so I think there will be no influence on the bidding process.”Jadon SanchoMerson believes Arsenal should sign Sancho Manuel R. Medina – September 14, 2019 Borussia Dortmund winger Jadon Sancho might be the perfect player to play for the Gunners, according to former England international Paul Merson.“In the end, it has nothing to do with whether a player of ours has a migration background or not,” he said.“If a German player would, in an election campaign, make a photo with, let’s say, a far right-wing politician in Germany, we would have the same debate, and we in the DFB would react in the same way.“We stand at the DFB for values: respect, tolerance, fair play, freedom of speech and freedom of press. This picture with Erdogan upset our fans because their President Erdogan doesn’t stand for those values.”UEFA will announce the host nation for Euro 2024 on September 27.last_img read more

admin

BAHAMAS RBDF Supports Inagua Community

first_imgFacebook Twitter Google+LinkedInPinterestWhatsApp Release: RBDF Facebook Twitter Google+LinkedInPinterestWhatsApp#Bahamas, February 28, 2018 – Inagua – Royal Bahamas Defence Force personnel attached to the Southern Command showed their support during various activities that highlighted a local hero.  The community honored Mrs. Willamae Malcom Bridgewater, former educator and the school’s principal for many years. Under the theme “A Lady Worthy of Praise”, the Officer and Marines at HMBS Matthew Town Inagua, led by Sub Lieutenant Danielle Morley, attended the festivities.They celebrated with the Inagua All Age School, which honored Mrs. Bridgewater during a special assembly at St. Philip’s Anglican Church on February 9, 2018. They also attended a gala ball the next day, and culminated with a church service at the church on Sunday.  Mrs. Bridgewater, a resident of Inagua served a total of 44 years as an educator, of which 8 years was in the office as Principal of the Inagua All Age School. She has since retired.The Defence Force team also played a vital role during the island’s Discovery Club field trip on February 10, 2018.  The program is dedicated to inspire and educate Bahamian youths to become knowledgeable environmental stewards through fun conservation-based classroom lessons, hands on activities and field trips.The field trip entailed a one-mile hike which consisted of twenty-five members of the Discovery Club.  They were divided into two groups called the Explorers and Guardians, whose overall ages ranged from 7-12 years.  Led by Leading Seaman Eric Rolle, some of the youngsters were taught kayaking for the first time.  During the hike, the children were able to recognize different plants and mangroves they had learned in class.The Royal Bahamas Defence Force remains committed to protecting the territorial environment of The Bahamas along with helping to prepare our future leaders.Header: Defence Force marines coordinating the one-mile hike which consisted of twenty-five members of the Discovery Club on the island of Inagua.First insert:Some of the Defence Force personnel attending a church service at St. Philip’s Anglican Church on February 9, 2018.Second insert: Leading Seaman Eric Rolle giving the youngsters a few tips during the island’s Discovery Club field trip on February 10, 2018.Third insert: Leading Seaman Eric Rolle overseeing a participant during the kayaking segment of the island’s Discovery Club field trip on February 10, 2018.(RBDF Photos by Able Mechanic Marcion Willams)(For further information please contact the RBDF Public Relations Department or visit our website: www.rbdf.gov.bs, follow us on Facebook, Twitter and view our Youtube channel) -rbdf#GuardOurHeritagecenter_img Related Items:last_img read more

admin

What Are Town Boards Committees Talking About Week of December 9 2018

first_imgWILMINGTON, MA — According to the Wilmington Town Clerk’s calendar, below are the town and school board, committee and commission meeting scheduled for the week of Sunday, December 9, 2018.Sunday, December 9No MeetingsMonday, December 10The Wilmington Housing Authority meets at 5pm in Deming Way’s Community Hall. Read the agenda HERE.The Wilmington Board of Selectmen meets at 7pm in Town Hall’s Room 9. (Executive Session precedes the meeting at 6:30pm.) Read the agenda HERE.Tuesday, December 11NoneWednesday, December 12The Wilmington Board of Appeals meets at 6:30pm in Town Hall’s Auditorium. The agenda will be posted HERE.The Wilmington School Committee meets at 6:30pm in the High School’s Large Instruction Room. (An Executive Session begins at 6:30pm. Regular session may begin prior to 7pm.) Read the agenda HERE.Thursday, December 13The Wilmington Water & Sewer Commission meets at 5:30pm in Town Hall’s Room 9. Read the agenda HERE.Friday, December 14No MeetingsSaturday, December 15No MeetingsAll meetings are open to the public unless noted.(NOTE: While unlikely, it is possible additional meetings could be added to this week’s calendar on Wednesday, Thursday, or Friday.  It’s best to check the Town Clerk’s calendar mid-week.)Like Wilmington Apple on Facebook. Follow Wilmington Apple on Twitter. Follow Wilmington Apple on Instagram. Subscribe to Wilmington Apple’s daily email newsletter HERE. Got a comment, question, photo, press release, or news tip? Email wilmingtonapple@gmail.com.Thank You To Our Sponsor:Share this:TwitterFacebookLike this:Like Loading… RelatedWhat’s Happening At Town Meetings This Week? (Week of September 8, 2019)In “Government”What Are Town Boards & Committees Talking About? (Week of August 11, 2019)In “Government”What Are Town Boards & Committees Talking About? (Week of June 23, 2019)In “Government”last_img read more

admin

Public Health Museum Offers FREE Camp For WHS Juniors Seniors Interested In

first_img(NOTE: The above announcement is from the Public Health Museum.)Like Wilmington Apple on Facebook. Follow Wilmington Apple on Twitter. Follow Wilmington Apple on Instagram. Subscribe to Wilmington Apple’s daily email newsletter HERE. Got a comment, question, photo, press release, or news tip? Email wilmingtonapple@gmail.com.Share this:TwitterFacebookLike this:Like Loading… Related5 Things To Do In Wilmington On Monday, August 5, 2019In “5 Things To Do Today”Public Health Museum Offers FREE Camp For WHS Juniors & Seniors Interested In Public Health CareersIn “Community”STUDENT SPOTLIGHT: 3 Wilmington Students Named To Dean’s List At Regis CollegeIn “Education” TEWKSBURY, MA — Is your high schooler interested in a career in medicine, infectious disease, or nursing? The Public Health Museum is inviting students to apply to OUTBREAK! 2019.  This week-long summer program is for Massachusetts high school students entering their junior and senior year as of Fall 2019. For the seventh year in a row, the program will be offered for FREE.The program is scheduled for August 5, 2019 to August 9, 2019 at the Public Health Museum in Tewksbury, Massachusetts.OUTBREAK! 2019 is an interactive, challenging program designed to introduce high school students to the history and importance of public health. Students will learn about epidemiology, investigate a simulated disease outbreak, learn about the wide range of public health careers, and more. Field trips include the State Public Health Laboratory in Jamaica Plain and additional other public health facilities.The Public Health Museum is a non-profit educational and cultural museum that strives to preserve records and artifacts from our nation’s public health history, educate the public about the achievements and contributions of public health, and inspire people to build upon the past and continue to advance the future of public health.Applications are available on line from the Museum’s website or by contacting the museum at 978-851-7321 ext. 2606 or phmuseum@gmail.com.last_img read more

admin

AL leader hacked dead

first_imgA leader of Kuwait unit of Awami League was hacked to death by miscreants at Zindabazar, Sylhet on Friday night, reports UNB.The deceased is SM Abdul Ahad, 40, son of Haji Nur Miah of Munshibazar Karimpur Medeni Mahal in Rajnagar upazila of Moulvibazar district and organising secretary of Kuwait unit of Awami League.He came to Sylhet from Moulvibazar on Thursday to attend a party programme.Quoting witnesses, sub-inspector Faruk Ahmed, in-charge of MAG Osmani Medical College Hospital police camp, said a gang of miscreants attacked Ahad in front of City Market around10:30pm and hacked him indiscriminately, leaving him critically injured.He was taken to the hospital where he was declared dead around11:15pm.Mosharraf Hossain, officer-in-charge of Kotwali police station, said a team of police visited the spot and they are investigating the incident.last_img read more

admin

Trump orders end to Dreamer immigration programme

first_imgDemonstrators hold signs during a protest in front of the White House after the Trump administration on Tuesday scrapped the Deferred Action for Childhood Arrivals (DACA), a programme that protects from deportation almost 800,000 young men and women who were brought into the US illegally as children, in Washington, US, 5 September. Photo: Reuters US president Donald Trump on Tuesday scrapped a programme that protects from deportation almost 800,000 young men and women who were brought into the United States illegally as children, ordering a phased-out dismantling that gives a gridlocked Congress six months to decide the immigrants’ fate.Trump’s action, announced by attorney general Jeff Sessions, rescinds a program called Deferred Action for Childhood Arrivals (DACA). The administration presented the move as necessary to show respect for the country’s immigration laws, and said nobody covered by the programme would be affected before 5 March.The programme, created by Democratic former president Barack Obama, is supported by Democrats and many business leaders, and hundreds of people protested outside the White House over Tuesday’s announcement. Democrats and civil liberties advocates blasted Trump.“President Trump’s decision to end DACA is a deeply shameful act of political cowardice and a despicable assault on innocent young people in communities across America,” said Nancy Pelosi, the top Democrat in the House of Representatives.Sessions said the action does not mean the DACA recipients are “bad people.”“To have a lawful system of immigration that serves the national interest, we cannot admit everyone who would like to come here. It’s just that simple. That would be an open-border policy and the American people have rightly rejected that,” Sessions said.In a statement issued by the White House, Trump said, “I do not favour punishing children, most of whom are now adults, for the actions of their parents. But we must also recognize that we are nation of opportunity because we are a nation of laws.”The move to end DACA marked the latest action by Trump that is sure to alienate Hispanic Americans, a growing segment of the US population and an increasingly important voting bloc. Most of the immigrants protected by DACA, dubbed “Dreamers,” came from Mexico and other Latin American countries.Trump’s order, deferring the actual end of the programme, effectively kicks responsibility for the fate of the Dreamers to his fellow Republicans who control Congress.But Congress has been unable since the president took office in January to pass any major legislation and has been bitterly divided over immigration in the past.Obama bypassed Congress and created DACA through an executive order in 2012. Sessions said the Trump administration concluded that Obama exceeded his authority in setting up the program, which has long been the target of conservative hard-liners on the issue of immigration.Elaine Duke, acting head of the Homeland Security Department, issued a memo rescinding DACA. The department will provide a limited window – until Oct. 5 – for some DACA recipients whose work permits expire before 5 March to apply to renew those permits. This would mean that some beneficiaries of DACA could be in the country through 2019.DACA recipients whose work permits expire will be considered to be in the country and eligible for deportation, but will be a low priority for immigration enforcement, administration officials said.Trump appeared determined to pressure U.S. lawmakers to act. “Congress, get ready to do your job – DACA!” the president wrote on Twitter on Tuesday morning before the policy announcement was made.There were some signs that Congress might be willing to act, with a number of senior Republican lawmakers coming forward to express an interest in protecting the Dreamers.The president’s decision may have been forced by nine Republican state attorneys general, led by Texas, who had threatened a legal challenge in federal court if Trump did not act to end DACA. A number of Democratic state attorneys general have threatened legal action to defend the programme.House of Representatives speaker Paul Ryan called on lawmakers to find a long-term solution for the young people affected by the reversal of the program.“At the heart of this issue are young people who came to this country through no fault of their own, and for many of them it’s the only country they know. Their status is one of many immigration issues, such as border security and interior enforcement, which Congress has failed to adequately address over the years,” Ryan said.‘PEOPLE OF LAW’Trump made a crackdown on illegal immigrants a centrepiece of his 2016 election campaign and his administration has stepped up immigration arrests. But business leaders say immigrants make important economic contributions and that ending the DACA program would hit economic growth and tax revenue.There are deep divisions in the United States over the fate of roughly 11 million illegal immigrants, most of them Hispanics. As a presidential candidate Trump promised to deport all of them.He left the DACA announcement to Sessions, with whom the president has had tensions arising from the investigation into potential collusion between his presidential campaign and Russia.“We are people of compassion and we are people of law. But there is nothing compassionate about the failure to enforce immigration law,” Sessions said.DACA was created by Obama after the Republican-led Congress failed to pass comprehensive bipartisan immigration reform legislation that would have created a pathway for citizenship for certain illegal immigrants.The programme protects nearly 800,000 young men and women from deportation and allows them to work in the United States legally. The group is a small fraction of the overall population of illegal immigrants in the United States.DACA supporters argue that the people covered under the program were raised and educated in the United States and were integrated into American society, with scant ties to their countries of origin. Opponents of the program argue against amnesty for illegal immigrants and say that such immigrants take jobs from US citizens.The programme’s demise would mark the latest action by Trump to erase key parts of his Democratic predecessor’s legacy.This includes pulling the United States out of the Paris climate accord, abandoning a 12-nation Pacific trade deal, seeking to dismantle the Obamacare healthcare law, rolling back environmental protections, reversing parts of Obama’s opening to Cuba and removing protections for transgender people.last_img read more

admin

Castro Eyeing 2020 Presidential Run But Isnt Ready To Committ — Just

first_imgGAGE SKIDMORE HTTP://BIT.LY/2H9U6FJ / WIKIMEDIA COMMONSJulian Castro, former secretary for the U.S. Housing and Urban Development for the Obama administration.Julian Castro, former San Antonio mayor and secretary of Housing and Urban Development for the Obama Administration, says he is interested in a 2020 presidential run. But Castro, who is speaking this week in the early presidential primary state of New Hampshire, said he won’t announce his official decision later this year. Castro said he plans on spending a lot of time on the campaign trail throughout 2018, and by that he means campaign trails for other Democrats — not his own, at least for now.Castro said he is interested in a presidential run in 2020, but he’s not ready to make that announcement just yet.“I’m going to spend the bulk of the time between now and November helping candidates who are on the ballot this year get elected. At the same time, after the November election is done, I’m going to make a decision about my own future and whether I’m going to run for president in 2020,” Castro said.Castro will give the keynote address at New Hampshire’s Young Democrats Granite Slate Awards on Thursday.David Crockett, political science professor with Trinity University, said New Hampshire is an early primary state that potential presidential candidates use to determine their level of support beyond their home states.“We know who he is in Texas, but that’s not good enough to win a nomination. He needs to become more of a household name nationwide in the Democratic Party electorate. So the way you do that is to campaign for other officeholders, and you’re making speeches in other areas, and people start talking about you; your name gets out there,” Crocket said.Castro said his decision on whether or not to run for president will be based on a combination of factors over the next year. And one of those factors, Crockett said, will likely be whether Democrats are able to win back a majority of seats in the U.S. House of Representatives this fall.“If they are able to take back the House, which is certainly possible, I think what that does is send a message to a Democratic candidate that the midterms election prophesizes a good year for Democrats in the 2020 election,” Crocket said.Crockett said if that happens, you’ll likely see a crowded field of Democratic presidential candidates, similar to what Republican voters experienced during the 2016 presidential primaries.Ryan Poppe can be reached at rpoppe@tpr.org or on Twitter @RyanPoppe1 Sharelast_img read more

admin

HPD Asks For Help To Solve A 2013 Cold Case

first_imgPhoto: Courtesy of the Johnson family (Provided through the Houston Police Department)Dameon Johnson was found shot to death on March 19th 2013 at the 8200 block of Peachtree Street, northeast of downtown Houston and the Houston Police Department is asking for the public’s help to solve the case.The Houston Police Department (HPD) asked Monday for help from the public to solve the homicide of Dameon Johnson, who was found shot to death on March 19th 2013 at the 8200 block of Peachtree Street, north of downtown Houston.According to the initial HPD news release from 2013, “Dameon Johnson, 36, suffered multiple gunshot wounds and was pronounced dead at the scene.”The news release added that “officers responded to a call regarding a major traffic accident” and then “discovered Mr. Johnson in a ditch along the roadway.” Johnson’s vehicle, a 2008 white Chevrolet 1500 pickup truck, was in a ditch on the opposite side of the street and the truck did not appear to be involved in a traffic accident.Further investigation determined Johnson was on his way to work at the time the shooting occurred.Johnson’s murder has become a cold case and, during a press conference held at HPD’s headquarters, Lieutenant Warren Meeler explained that the lack of witnesses has made the investigation “very hard.” “But I know that somebody out there knows something,” Meeler added.“We have no motive, nothing was stolen, so that’s what makes it so much more difficult to solve,” the HPD lieutenant noted.Members of Johnson’s family were at the press conference and his mother, Linda Johnson, emphasized the request for help from the public. “Just, just call and tell us something please. This is been on our hearts so long and we need some closure, and this… I know this won’t give us closure, but it will let us know that people out there did care about our son, ’cause he cared about so many people, so many,” said Johnson, who was visibly emotional.Johnson’s daughter, Asia Johnson, who was 7 years-old when the crime occurred, was also emotional and said: “We need peace. It is very hard to not have an amazing father and I only had one word to say when this happened and my one word was: “Why?””“I feel that, whoever this evil person is should confess and pay for it,” the victim’s daughter added.Anyone with information in this case is urged to contact the HPD Homicide Division at 713-308-3600 or Crime Stoppers at 713-308-3600.LIVE on #Periscope https://t.co/UiP9svvQJV— Houston Police (@houstonpolice) March 19, 2018 LIVE on #Periscope: HPD investigators & family make plea for information on March 2013 fatal shooting at 8200 Peach… https://t.co/Ewsj2MH684— Houston Police (@houstonpolice) March 19, 2018 Sharelast_img read more

admin

No 5 Louisville Hosts Michigan in NCAA Second Round

first_imgABOUT THE WOLVERINESMichigan is making their second consecutive tournament appearance after finishing fourth in the Big Ten. The Wolverines have 10 victories in their last 12 outings, including an 84-54 win over Kansas State in the first round of the NCAA Tournament.While in the Big Ten semifinals, the Wolverines led late in a 73-72 loss against No. 3 seed Maryland. Michigan tallied five victories against tournament teams, including Iowa, Missouri and Rutgers.Seventh-year head coach Kim Barnes Arico’s team is led by First Team All-Big Ten freshman forward Naz Hillman, who averages 13.4 points per game and placed second in the league in field goal percentage (.633). Hillmon was also named the conference’s Sixth Player of the Year. First Team All-Big Ten senior center Hallie Thome (12.0 points per game) and Third Team guard Nicole Munger (10.3 points per game) also average double-figures in scoring.The Wolverines rank fifth in the league in scoring, averaging 72.3 points per game, while allowing 63.4 points per game from their opponents. The team ranks third in field goal percentage (.452) and in team rebounds per game (39.7). Sam Fuehring led the way for Louisville in their 69-34 win over Robert Morris with 19 points and 11 rebounds. It marked her seventh double-double of the season and the 11th in her career. She also finished a perfect 9-9 from the floor. Louisville allowed just four points in the first quarter vs. Robert Morris, which marked the fewest points in a quarter ever allowed by the Cardinals in an NCAA Tournament game. Durr/Fuehring Pregame Quotes For the latest on Louisville women’s basketball, visit GoCards.com, follow the team’s Twitter account at @UofLWBB or on Facebook at facebook.com/UofLWBB.Print Friendly Version $21 lower level adult $14 lower level youth/senior/college student $40 Family 4 Pack (end zone seats only) $10 group tickets, minimum of 10 tickets (end zone seats only) It also marked UofL’s first double-double in the NCAA Tournament since Fuehring had 14 points and 11 rebounds and Kylee Shook had 14 points and 10 rebounds vs. Boise State in the NCAA opener last season. LOUISVILLE, Ky. – University of Louisville women’s basketball (30-3, 14-2) hosts Michigan (22-11, 11-7) in the second round of the NCAA Tournament on Sunday at 12 p.m. ET.The Cardinals are seeking their third consecutive trip to the Sweet 16 and seventh in the last nine years.Louisville is making its 22nd NCAA Tournament appearance and 11th in 12 seasons under head coach Jeff Walz. The Cardinals are marking their ninth straight NCAA Tournament and 14th in the last 15 years. Louisville is 32-21 all-time. They were 4-11 in their first 11 appearances and are 28-10 in their 10 appearances with Walz. They have moved on to the Sweet 16 eight times and advanced to the NCAA Final Four three times (2009, 2013, 2018). With three Final Fours in the last 10 years, UofL ranks fourth in the country behind UConn (10), Stanford (6) and Notre Dame (5). Tickets Walz Pregame Quotes Series History: Louisville is 3-1 all-time against Michigan. Last year, they beat Michigan 74-49 at the KFC Yum! Center in the Preseason WNIT semifinals. Prior to last season, the two teams had not squared off since Dec. 13, 1980 when Louisville won 89-80 at Freedom Hall. Louisville lost 89-86 in overtime at Michigan on Jan. 29, 1980 and won 76-69 on Dec. 6, 1978 at Freedom Hall.Date: Sunday, March 24Time: 12 p.m. ETSite: KFC Yum! Center, Louisville, Ky. (22,000)Radio: WKRD 790 AM, Nick Curran, play-by-play; Adrienne Johnson, analystVideo: ESPN2, Beth Mowins, play-by-play, Nell Fortner, analystLast Meeting: W, 74-49 (Nov. 16, 2017 at KFC Yum! Center)Series History: 3-1 (3-0 Home, 0-1 Away, 0-0 Neutral)UofL National Ranking: 5th Associated Press, 5th USA TodayClick here to purchase tickets or visit GoCards.com/NCAAWBB for more information.Single-Session Tickets UofL led 5-4 against Robert Morris with 8:20 to go in the first quarter. The Cardinals then went on a 27-0 run to lead 32-4 with less than four minutes to go in the half. Overall, the Colonials went 14:43 without a point. Story Linkslast_img read more

admin

Award for exposing poor quality food

first_imgKolkata: Determined to put a leash on the sale of inferior and adulterated food by a section of unscrupulous businessmen, the South Dum Dum Municipality has decided to award people who would come up with evidence of such unfair practices in the area of the municipality, thereby helping the civic body to take action against them.”We have been conducting regular drives against bad quality food to ensure that it is not compromised by any means. However, we have to admit that it is impossible for the municipality alone to keep an eye on every nook and corner of the 35 wards. Hence, we want to involve the citizens in this social cause. People, who will lodge complaints of such unfair practices with the municipality with evidence, will be awarded by us,” Debasish Banerjee, Chairman-in-Council (public health) said. Complaints can be lodged through calls, text messages or WhatsApp messages on 9831221665. It may be mentioned that a team from the municipality led by its chairman Panchu Gopal Roy raided a prawn processing unit at ward 21 on Friday and found that some sort of reddish colour was being added to prawns. The team from the municipality also conducted a drive at a multi-shopping complex which has a food court. Also Read – Heavy rain hits traffic, flightsSamples were collected from as many as 12 restaurants and the officials have come across several irregularities in the way they deal with the food. French fries were found stored in refrigerators.The meat at some of the restaurants emitted a foul smell. Leftover food, stored in the refrigerator, was sent for tests. The hotel authorities, when asked about these irregularities, failed to provide any satisfactory answer. “We are sure that most of these businessmen associated with food business are using inferior quality food, posing serious health hazards to the consumers. We are waiting for the test reports of the samples that we have collected. They have been sent for examination at the state food laboratory in Entally. We will take strong action against the offenders as per law,” a senior municipality official said.last_img read more

admin

Applying Modern CSS to Create React App Projects Tutorial

first_img {this.props.description} Mark as Critical Mark as Done ); } We’re not quite done yet, although we’re at least 90% of the way there. We’ll also want to go back to src/Todo/Todo.module.css and add a new block for the critical class name, and we’ll use our composable property as well: .critical { composes: todo; border: 4px dashed red;} To use composition, all you need to do is add a new CSS property called composes and give it a class name (or multiple class names) that you want it to compose. Compose, in this case, is a fancy way of saying that it inherits the behavior of the other class names and allows you to override others. In the previous case, we’re saying critical is a CSS module class that is composed of a todo model as the base, and adds a border component of a big red dashed line since, well, we’ll just say that this means it is critical. Save and reload, as always, and you should be able to mark items as Mark as Done, Mark as Critical, or both, or remove them by clicking Remove Me, as in the following screenshot: And that about covers it for our brief introduction to CSS Modules! Before you move on, you’ll also want to quickly update your snapshots for your tests by hitting U in the yarn test screen. Introducing SASS to our project SASS is essentially CSS with extended feature support. When I say extended feature support here, though, I mean it! SASS supports the following feature set, which is missing in CSS: Variables Nesting Partial CSS files Import support Mixins Extensions and inheritance Operators and calculations Installing and configuring SASS The good news is that getting SASS support working in a Create React App project is incredibly simple. We first need to install it via yarn, or npm. $ yarn add node-sass We’ll see a ton of output from it, but assuming there are no errors and everything goes well, we should be able to restart our development server and get started with some SASS. Let’s create a more general utility SASS file that will be responsible for storing standardized colors that we’ll want to use throughout our application, and something to store that neat gradient hr pattern in case we want to use it elsewhere. We’ll also change some of the colors that we’re using so that there is some red, green, and blue, depending on whether the item is critical, done, or neither, respectively. In addition, we’ll need to change up our project a little bit and add a new file to have a concept of some shared styles and colors. So, let’s begin: Create a new file, src/shared.scss, in our project and give it the following body: $todo-critical: #f5a5a5;$todo-normal: #a5a5f5;$todo-complete: #a5f5a5;$fancy-gradient: linear-gradient( to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); Next, hop over to src/Divider/Divider.css and rename the file to src/Divider/Divider.scss. Next, we’ll change the reference to Divider.css in src/Divider/Divider.js, as follows: import “./Divider.scss”; Now we’ll need to change up the code in Divider.scss to import in our shared variables file and use a variable as part of it: @import “../shared”;hr {border: 0;height: 1px;background-image: $fancy-gradient;} So, we import in our new shared SASS file in src/, and then the background-image value just references the $fancy-gradient variable that we created, which means we can now recreate that fancy gradient whenever we need to without having to rewrite it over and over. Save and reload, and you should see that nothing major has changed. Mixing SASS and CSS Modules The good news is that it’s basically no more complicated to introduce SASS to CSS Modules in Create React App. In fact, the steps are borderline identical! So, if we want to start mixing the two, all we need to do is rename some files and change how our imports are handled. Let’s see this in action: First, head back to our src/Todo/Todo.module.css file and make a very minor modification. Specifically, let’s rename it src/Todo/Todo.module.scss. Next, we need to change our import statement in src/Todo/Todo.js, otherwise the whole thing will fall apart: import styles from “./Todo.module.scss”; Now, we should have our SASS working for CSS Modules with the Todo component, so let’s start taking advantage of it. Again, we’ll need to import our shared file into this SASS file as well. Note the following back in src/Todo/Todo.module.scss: @import ‘../shared’; Next, we’ll need to start changing the references to our various background colors. We’ll change the background for regular Todos to $todo-normal. Then, we’ll change the finished Todo background to $todo-complete. Finally, we’ll want to change the critical items to $todo-critical: .todo { border: 2px solid black; text-align: center; background: $todo-normal; color: #333; margin: 20px; padding: 20px;} .done {background: $todo-complete;}.hr {border: 2px solid red;}.critical {composes: todo;background: $todo-critical;} Save and reload our project, and let’s make sure the new color scheme is being respected: Now, we have CSS Modules and SASS  integrated nicely in our Create React App project without having to install a single new dependency. We have them playing nicely together even, which is an even greater achievement! If you found this post useful, do check out the book, Create React App 2 Quick Start Guide. In addition to getting familiar with Create React App 2, you will also build modern, React projects with, SASS, and progressive web applications. Read Next React Native 0.59 is now out with React Hooks, updated JavaScriptCore, and more! React Native Vs Ionic: Which one is the better mobile app development framework? How to create a native mobile app with React Native [Tutorial]center_img Previously with Create React App, you actually didn’t have a lot of options to be able to clean things up visually. You were frequently at the whims and mercy of random Cascading Style Sheets (CSS) project maintainers, and trying to get other libraries, frameworks, or preprocessors involved in the project compilation process was frequently a nightmare. A preprocessor in the context of Create React App is basically one of the steps in the build process. In this case, we’re talking about something that takes some of the style code (CSS or another format), compiles it down to basic CSS, and adds it to the output of the build process. This article is taken from the book Create React App 2 Quick Start Guide by Brandon Richey. This book is intended for those who want to get intimately familiar with the Create React App tool. It covers all the commands in Create React App and all of the new additions in version 2.  To follow along with the examples implemented in this article, you can download the code from the book’s GitHub repository. Over the span of this article, we’ll be covering materials that span the gamut of style-related functionality and highlighting what is, in my mind, one of the best new features in Create React App: support for CSS Modules and SASS. Introducing CSS Modules CSS Modules give you the ability to modularize any CSS code that you import in a way that prevents introducing global, overlapping namespaces, despite the fact that the end result is still just one giant CSS file. Better project organization Let’s start off by cleaning up our directory structure in our project a little bit better. What we’re going to do is just separate out each component that has CSS and JavaScript code into their own folders. Let’s first create NewTodo, Todo, App, TodoList, and Divider folders and place all of their related code in each of those. We’ll also need to create a new file in each of these directories called index.js, which will be responsible for only importing and exporting the appropriate component. For example, the App index file (src/App/index.js) will look like this: import App from “./App”;export default App; The new index file of Todo (src/Todo/index.js) will look like this: import Todo from “./Todo”;export default Todo; You can probably guess what the index files NewTodo, TodoList, and Divider will look like as well, based on this pattern. Next, we’ll need to change each place that these files are referenced to make it easier to import all of them. This will unfortunately be a little bit of grunt work, but we’ll need to do it all the same to make sure we don’t break anything in the process. First, in src/App/App.js, change the TodoList import component to the following: import TodoList from “../TodoList”; There’s nothing we need to do for Divider since it is a component with no imports. NewTodo and Todo are of a similar type, so we can skip them as well. src/TodoList/TodoList.js, on the other hand, has a lot we need to deal with, since it’s one of our highest-level components and imports a lot: import Todo from “../Todo”;import NewTodo from “../NewTodo”;import Divider from “../Divider”; But that’s not all. Our test file, src/TodoList/TodoList.test.js, also needs to be modified to include these new paths for our files or else our tests will fail! We’ll need nearly the same list of imports as earlier: import TodoList from “./TodoList”;import NewTodo from “../NewTodo”;import Todo from “../Todo”; Now, when you reload your application, your code should still be working just fine, your tests should all pass, and everything should be cleanly separated out! Our full project structure should now look like this: src/ App/ App.css App.js App.test.js index.js Divider/ Divider.css Divider.js index.js NewTodo/ NewTodo.css NewTodo.js NewTodo.test.js index.js Todo/ Todo.css Todo.js Todo.test.js index.js TodoList/ TodoList.css TodoList.js TodoList.test.js index.js index.css index.js setupTests.js … etc … Introducing CSS Modules to our application If we want to use CSS Modules, there are a few simple guidelines that we need to follow. The first is that we need to name our files [whatever].module.css, instead of [whatever].css. The next thing we need to do is to make sure that our styles are named simply and are easy to reference. Let’s start off by following these conventions and by renaming our CSS file for Todo as src/Todo/Todo.module.css, and then we’ll change the contents a tiny bit: .todo { border: 2px solid black; text-align: center; background: #f5f5f5; color: #333; margin: 20px; padding: 20px;}.done {background: #f5a5a5;} Next, we’ll open up src/Todo/Todo.js to take advantage of CSS Modules instead. We created a helper function in our Todo component called cssClasses(), which returns the styles we should be using in our component, and there’s not much we need to change to make this all work exactly the same as earlier. We’ll need to change our import statement at the top as well, since we renamed the file and are changing how our CSS is getting loaded into our code! Take a look at the following: import styles from “./Todo.module.css”; This enables our code to take advantage of any class names defined in Todo.module.css by referencing them as styles.[className]. For example, in the previous file, we defined two CSS class names: todo and done, so we can now reference them in our component via styles.Todo and styles.done. We’ll need to change the cssClasses() function to use this, so let’s make those exact changes now. In src/Todo/Todo.js, our cssClasses() function should now read as follows: cssClasses() { let classes = [styles.todo]; if (this.state.done) { classes = […classes, styles.done]; } return classes.join(‘ ‘); } Save and reload, and our application should be back to normal! Next, let’s change the hr tags inside of the todo components to have their own styles and effects. Head back into src/Todo/Todo.module.css and add the following block for our hr tag, which we’ll give a new class of redDivider: .redDivider { border: 2px solid red;} And finally, return back to our render() function in src/Todo/Todo.js, and change our render() function’s hr tag inclusion to the following: Save and reload, and now we should have fully compartmentalized CSS code without worrying about collisions and global namespaces! Here’s how the output looks like: Composability with CSS Modules That’s not all that CSS Modules give us, although it’s certainly one of the great parts of CSS Modules that we get immediately and with no fuss. We also get CSS composability, which is the ability to inherit CSS classes off of other classes, whether they’re in the main file or not. This can be incredibly useful when you’re setting up more complicated nested components that all need to handle slightly different style sheets, but are not wildly different from each other. Let’s say we want to have the ability to mark some components as critical instead of just regular Todos. We don’t want to change too much about the component; we want it to inherit the same basic rules as all of the other Todos. We’ll need to set up some code to make this happen. Back in src/Todo/Todo.js, we’re going to make some modifications to allow a new state property named critical. We’ll start off in the constructor component, where we’ll add our new state property and a bind tag for a function: constructor(props) { super(props); this.state = { done: false, critical: false }; this.markAsDone = this.markAsDone.bind(this);this.removeTodo = this.removeTodo.bind(this);this.markCritical = this.markCritical.bind(this);} We add a new critical property in our state property and set it to a default value of false. Then we also reference a function (which we haven’t written yet) called markCritical, and we bind this, since we’ll be using it in an event handler later. Next, we’ll tackle the markCritical() function: markCritical() { this.setState({ critical: true }); } We’ll also need to modify our cssClasses() function so that it can react to this new state property. To demonstrate the composability function of CSS Modules, we’ll set it so that classes is originally an empty array, and then the first item either becomes critical or todo, depending on whether or not the item is marked as critical: cssClasses() { let classes = []; if (this.state.critical) { classes = [styles.critical]; } else { classes = [styles.todo]; } if (this.state.done) { classes = […classes, styles.done]; } return classes.join(‘ ‘); } And finally, in our render function, we’ll create the button tag to mark items as critical: render() { return ( Remove Melast_img read more

admin