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
    • Latest Issue
    • Marie Claire Masters
    • Autumn Winter 2026
    • Nail Trends 2026
    • Best Investment Bags
    • Best Perfumes
    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
    • Vogue World Robots AI Is Shaping the Future of Fashion—Can Creative Thought Survive?
    • 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
    • Louise O'Neill started dating at 39 -- here's what she learnt I Started Dating Again at 39. Here Are 21 Things I Learned About Men

    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
    • Emilia Clarke Emilia Clarke: “That's my goal for the next decade of my life: to take it lightly. But it requires strength.”
    • Health Writer Grace Lindsay trying the WeGlow app I Tried Stef Williams' Highly Rated WeGLOW App—It Got Me Out of My Fitness Rut In No Time
    • 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

    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
    Vogue World Robots
    Fashion AI Is Shaping the Future of Fashion—Can Creative Thought Survive?
    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
     
     
    Louise O'Neill started dating at 39 -- here's what she learnt
    Relationships I Started Dating Again at 39. Here Are 21 Things I Learned About Men
    Emilia Clarke
    Culture Emilia Clarke: “That's my goal for the next decade of my life: to take it lightly. But it requires strength.”
     
     
    Latest in Money and Work
    bright green sticky note reading “I Quit” on a computer keyboard
    Money and Work Does Anyone Actually Want to Be the Boss Anymore?
    Woman organizing documents in cluttered office workspace
    Money and Work Why Are Successful Women Staying in Jobs That Make Us Miserable?
     
     
    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?
     
     
    Latest in Features
    Halloween nail art by Betina Goldstein
    Nails There is a Way to Make Halloween Nails Ultra Chic—And Fashion’s Favourite Nail Artist Betina Goldstein Can Prove It
    The end of signature scent
    Fragrance You Can Stop Searching For a Signature Scent—Why Fragrance Monogamy Is Falling Out of Fashion
     
     
    Why We Hold Onto Things From Our Past: A Collection of Sentimental Keepsakes, Old Photographs and Letters
    Relationships Why Is It So Hard to Throw Away Things From Our Past?
    Dakota Johnson brown cords listing
    Fashion Dakota Johnson’s Easy Brown Cord and Ballet Flats Look Is One I’m Bookmarking for Autumn
     
     
    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.