Marie Claire UK Marie Claire UK
  • Fashion Fashion
      • Fashion
        • View all Fashion
        • Fashion Trends
        • Shopping
        • Watches and Jewellery
        • Fashion News
  • Beauty Beauty
      • Beauty
        • View all Beauty
        • Fragrance
        • Hair
        • Make Up
        • Skincare
        • Nails
        • Marie Claire Beauty Awards
  • Health Health
      • Health
        • View all Health
        • Fitness
        • Nutrition
        • Female Health
        • Wellbeing
  • Life Life
      • Life
        • View all Life
        • Opinions
        • Travel
        • Sustainability
        • Weddings
        • Money & Work
        • Competitions
  • Culture Culture
      • Culture
        • View all Culture
        • TV and Film
        • Celebrity News
        • Books
        • Royal News
  • Vouchers Vouchers
      • Clothing
        • View all Vouchers
        • Mint Velvet
        • Karen Millen
        • H&M
        • nobody's child
        • ASOS
        • ARKET
        • MANGO
      • Designer Clothing
        • View all Vouchers
        • Reiss
        • THE OUTNET
        • SSENSE
        • Mytheresa
        • Liberty London
        • Selfridges
        • Farfetch
      • Accessories
        • View all Vouchers
        • AllSaints
        • Aspinal of London
        • Charles & Keith
        • River Island
        • FitFlop
        • Kate Spade
        • Vagabond
      • Jewellery
        • View all Vouchers
        • Pandora
        • Abbott Lyon
        • Goldsmiths
        • Beaverbrooks
        • Astrid & Miyu
        • Swarovski
        • Angara Jewellery
      • Beauty
        • View all Vouchers
        • Sephora
        • Cult Beauty
        • Space NK
        • Dyson
        • Clarins
        • Look Fantastic
        • Clinique
      • Activewear
        • View all Vouchers
        • Lululemon
        • Gymshark
        • Sweaty Betty
        • Nike
        • adidas
        • New Balance
        • Helly Hansen
  • NEWSLETTER Signup to our newsletter
  • logoCreated with Sketch.
    Marie Claire Newsletter

    Celebrity news, beauty, fashion advice, and fascinating features, delivered straight to your inbox!


    By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

    You are now subscribed

    Your newsletter sign-up was successful


    An account already exists for this email address, please log in.
    Trending
    • Women in Sport 2026
    • Marie Claire Masters
    • Spring Summer 2026
    • Nail Trends 2026
    • Best Investment Bags
    • Best Perfumes
    • Digital Issues
    • Women Who Win
    1. Life
    2. Money and Work

    Learn To Code, Right Here, Right Now

    Forget French – these days languages are all about computers. Amali de Alwis from Code First: Girls teaches us the basics…

    By Marie Claire
    Published 2 October 2015 In Features

    When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

    • Facebook
    • X
    • Pinterest
    Share this article
    Join the conversation
    Follow us
    Add us as a preferred source on Google
    Subscribe to our newsletter

    Forget French – these days languages are all about computers. Amali de Alwis from Code First: Girls teaches us the basics…

    What is coding? Code is a set of instructions that computers can understand; it might be helpful to think of code as a recipe. People write code, code then powers computers, and computers power everyday objects, such as phones, watches, microwaves and cars. In fact, almost anything powered by electricity uses code. Learning to code is like learning a new language, which involves learning to construct sentences. Is there just one? Nope. Computers run on binary code – written in 1s and 0s – which is very difficult for humans to work with. But just as people can learn French and German, so computers can understand different languages (such as Python, C, C++, Perl, Visual Basic, Java, JavaScript, Ruby and PHP), which translate our instructions into binary.

    OK, Which one do I learn? There are ‘low-level’ and ‘high-level’ coding languages. Lower-level languages resemble binary code; higher-level languages are easier to code in, because they are closer to the actual language that we use.

    C is a low-level programming language that is good for graphics-heavy applications, like games for instance. JavaScript is a high-level programming language for the web. Perl is sometimes known as the Swiss army knife of programming languages because of its multifuctionality.

    So how do I build a webpage? Well, a webpage is just a set of files that your web browser knows how to display. There are three types of files they could be: HTML, CSS and JavaScript. Most web pages will be a mixture of all three.

    You may like
    • Woman wearing football jersey and fishnet skirt leaning on blue metal door ASOS discount codes
    • Entrepreneur Krissy Cela at a school giving a Project Power workshop, encouraging young girls into movement Krissy Cela Wants Every Girl to Feel Strong. Here's Where That Starts
    • A gua sha, a breakfast tray, and a woman in her pajamas in bed I Tried 3 Science-Backed, Expert-Approved Screen-Time Resets—and the Effect on My Focus and Sleep Was Remarkable

    HTML (Hyper Text Markup Language) is a way of writing information so that it can be interpreted by a web browser. It is not a programming language – you can’t do calculations in it – it’s a markup language.

    CSS is also a markup language. Back in the early days of the web, HTML would both store the information and tell the browser how to display it. But making a small change such as changing the colour of a heading would require edits all other the page, which made sites hard to maintain, so HTML is now used just to display the information that is stored in the page, such as the text or images. CSS is then used to tell the browser how to display the information.

    Marie Claire Newsletter

    Celebrity news, beauty, fashion advice, and fascinating features, delivered straight to your inbox!

    By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

    HACK THE BEEB - LEGALLY!

    Here's how to make the news in just a few simple clicks...

    1. Open a BBC page in Google Chrome

    What to read next
    • Lexi Minetree in Elle, the Legally Blonde prequel Legally Blonde's Prequel Elle Captures the Lost Joy of Analogue Adolescence
    • model wears Jigsaw new-in workwear dress The Results are in: Jigsaw has the Best Workwear on the High Street Right Now
    • Jodie Kidd Jodie Kidd on Fashion, Fast Cars and Finding a Second Career in Motorsport

    2. View the page source by doing one of the following: ‘View > Developer > View Source’ or ‘Tools > View Source’

    3. Click on one of the following: ‘View > Developer > Developer Tools’ or ‘More Tools > Developer Tools’

    4. Use the magnifying glass on the bottom left to hover over bits of the page and find the related HTML.

    5. Hover over the HTML code in the toolbox and watch as different parts of the page are highlighted.

    6. Try changing some of the CSS on the right hand side. To undo any changes just refresh the page.

    7. Have a look on the Resources tab and see if you can find the image files.

    8. Visit a few of your favourite websites and repeat this process! Want to learn more about coding? Go to codefirstgirls.org.uk or visit them in person at their 'intro to coding and the web' evening class - the next one is in London and starts on the 4th November.

    And it gets better: Marie Claire readers can get 10% off here.

    Marie Claire
    Social Links Navigation

    The leading destination for fashion, beauty, shopping and finger-on-the-pulse views on the latest issues. Marie Claire's travel content helps you delight in discovering new destinations around the globe, offering a unique – and sometimes unchartered – travel experience. From new hotel openings to the destinations tipped to take over our travel calendars, this iconic name has it covered.

    Read more
    Woman wearing football jersey and fishnet skirt leaning on blue metal door
    ASOS discount codes
    Entrepreneur Krissy Cela at a school giving a Project Power workshop, encouraging young girls into movement
    Fitness Krissy Cela Wants Every Girl to Feel Strong. Here's Where That Starts
     
     
    A gua sha, a breakfast tray, and a woman in her pajamas in bed
    Wellbeing I Tried 3 Science-Backed, Expert-Approved Screen-Time Resets—and the Effect on My Focus and Sleep Was Remarkable
    Lexi Minetree in Elle, the Legally Blonde prequel
    Culture Legally Blonde's Prequel Elle Captures the Lost Joy of Analogue Adolescence
     
     
    Latest in Money and Work
    Analog Times - Wine and cards game night on luxurious burgundy fabric - TVS
    Money and Work The Gambling Industry's Newest Bet? Women
    Well-dressed businesswoman walking on the street of Manhattan, New York and talking on the phone while heading to work during one autumn day.
    Money and Work Is Gen Z Really Lazy at Work, or Just Done with Burnout Culture?
     
     
    Milan, Italy - 20 February 2020: Stylish persons are posing for photographers before Max Mara fashion show on Milan Woman's Fashion Week F/W2020-2021, street style - stock photo
    Money and Work Women Are Delaying This Financial Step, But It Could Be Easier Than You Think.
     Student Loan
    Money and Work I Can’t Keep Up With My Student Loan — Millions of British Graduates Can’t Either
     
     
    Latest in Features
    Fenty Beauty Pro Filtr Fluid Flex Foundation Review
    Make Up Fenty Beauty Just Replaced Its Most Iconic Foundation—3 Editors Put Its “Flexible” Full Coverage to the Test
    Charlotte Mensah Afro Hair
    Hair Charlotte Mensah Has Spent 40 Years Changing the Conversation Around Afro Hair—Now, Her Legacy Is Going on Display
     
     
    Dangers of sharing photos of children online
    Life I Used to Share Photos of My Daughter Online. Horrifying New AI Data Has Made Me Stop
    Aesthetics Safety
    Beauty "What Did She Expect?"—The Sexism and Classism Behind The UK’s Aesthetics Safety Crisis
     
     
    logoCreated with Sketch.
    • Site Archive
    • Contact Future's experts
    • Contact us
    • Terms and conditions
    • Advertise with us
    • Privacy policy
    • Cookies policy
    • About us
    Add as a preferred source on Google Add as a preferred source on Google

    Marie Claire UK is part of Future plc, an international media group and leading digital publisher. Visit our corporate site.

    © Future Publishing Limited Quay House, The Ambury, Bath BA1 1UA. All rights reserved. England and Wales company registration number 2008885.