Skip to main content

Obama codes! President kicks off ‘Hour of Code’ by writing some JavaScript

History was made in the U.S. on Tuesday when Barack Obama became the first president to crank out a line of code.

But don’t be mistaken, this wasn’t the American leader flirting with the idea of a post-presidential career in programming, nor was it a man tinkering with the White House’s IT system for a bit of lunchtime fun. This was the U.S. president doing his bit to inspire kids to get involved in computer science.

Coder-in-chief

Obama’s stab at programming came on Monday as he launched Code.org‘s annual Computer Science Education Week, a global event aimed at expanding involvement in coding and related fields by increasing accessibility in schools.

At a special gathering at the White House, 20 students from a middle school in Newark, NJ joined the president for an Hour of Code workshop, similar to the ones being held around the world by a host of tech firms and other groups on December 11.

According to Code.org co-founder Hadi Partovi, who was also at the White House to help launch the event, the president completed a tutorial involving the writing of “a few lines of JavaScript” that moved an animation character across the screen.

Mission accomplished, Obama spent some time mingling with the students to see how they were getting on with their own coding exercises.

Encouragement

Speaking in a video posted on YouTube over the weekend, Obama encouraged kids to get involved in Computer Science Education Week.

The president said that “while no one is born a computer scientist, becoming a computer scientist isn’t as scary as it sounds. With hard work, and a little math and science, anyone can do it.”

He went on, “Don’t just consume things, create things. Take an hour to learn more about the technology that touches every part of our lives. That’s how you can prepare yourself with the skills you need for your future. And that’s how you can help prepare our country for the future as well.”

Obama urged both boys and girls to go along to one of the many coding events happening across the country this week, reminding them that the nation is “counting on America’s young people to keep us on the cutting edge.”

[Source: Wired, Code.org]

Trevor Mogg
Contributing Editor
Not so many moons ago, Trevor moved from one tea-loving island nation that drives on the left (Britain) to another (Japan)…
Best Dell laptop deals: Cheap laptops starting at $280
The Dell XPS 13 9315 on a table against a window.

Dell is one of the best laptop brands, and it has just recently updated a lot of its models, so now is the perfect time to pick up a new laptop. It has one of the widest selections of laptops too and includes some of the best laptops overall, as well as some of the best gaming laptops on the market as well. Not only that but the Dell XPS is made to compete with the likes of the MacBook Air, although if you're more interested in budget laptops, Dell has a lot of those, too.
Of course, having so many options can be a bit overwhelming for somebody who isn't familiar with Dell or the laptop market, which is why we scoured the Dell website for our favorite picks and listed them below. This list has a lot of crossover with the best Dell XPS deals, student laptop deals and gaming laptop deals, so make sure to check out some of those other great laptop deals as well.

Dell Inspiron 15 -- $300, was $330

Read more
Lenovo gaming laptops are up to $700 off post-Memorial Day
The Lenovo Legion Pro 7 Gen 8 on a white background.

For great gaming laptop deals, check out the offers going on at Lenovo. There’s a huge sale on many great gaming laptops, meaning some of the best laptop deals available today. If you’re looking to buy a new gaming laptop, we’ve picked out two great models. That includes a great budget-friendly option and a premium choice. We’ve taken a look at both so you know what to expect.
Lenovo LOQ 15-inch gaming laptop -- $931, was $1,400

Lenovo is one of the best gaming laptop brands you can buy from so even its budget offerings are worth checking out. With the Lenovo LOQ 15-inch gaming laptop, you get a 13th-generation Intel Core i7-13700H processor, 16GB of memory, and 512GB of SSD storage. It also has an Nvidia GeForce RTX 4050 graphics card for all your gaming needs. That’s paired with a 15.6-inch full HD screen with 1920 x 1080 resolution. It has 45% NTSC with 350 nits of brightness and a 144Hz refresh rate so it can handle fast moving action with no risk of motion blur. Running suitably quietly, the Lenovo LOQ 15-inch gaming laptop is a good bet for mid-range gaming if you don’t mind tweaking some settings.

Read more
An OLED gaming handheld rises up to challenge the Steam Deck
Woman playing Steam Deck OLED.

In an unexpected turn of events, computing hardware manufacturer Zotac has announced it will unveil a new OLED gaming handheld next week at Computex 2024. All we know so far is that it's called the Zone and it has a 7-inch AMOLED touchscreen and two-stage adjustable triggers.

The announcement promises "high-performance," "quality controls," and "top-end specs" for the device -- but we'll have to wait until next week to see if the numbers warrant these descriptions.

Read more