Coding Challenge  #47 - Build Your Own Chrome Extension

Coding Challenge #47 - Build Your Own Chrome Extension

Coding Challenge #47

This challenge is to build your own Chrome extension. Chrome extensions are a software programs that extends the functionality of the Google Chrome web browser. They are typically written in HTML, CSS, and JavaScript, and they modify or enhance the browser’s functionality in some way.

Chrome extensions can add new features, customise the appearance of websites, improve productivity, block ads, manage passwords, and much more. You can install and manage Chrome extensions through the Chrome Web Store.

If You Enjoy Coding Challenges Here Are Four Ways You Can Help Support It

  1. Refer a friend or colleague to the newsletter. ??
  2. Sign up for a paid subscription - think of it as buying me a coffee ?? twice a month, with the bonus that you also get 20% off any of my courses.
  3. Buy one of my courses that walk you through a Coding Challenge.
  4. If you work for a company that sells to software engineers, encourage them to sponsor the newsletter. ??

The Challenge - Building A Chrome Extension

For this Coding Challenge you’re going to build a Chrome extension that will customise the look and functionality of each new tab you open in Chrome. It’s drawing on inspiration from the popular extension Bonjourr and the more complicated Momentum.

If you’ve never built a Chrome extension before the Chrome for Developer website has a section on getting started building Chrome extensions.


This Coding Challenge is Sponsored by Alloy Automation:

Stop wasting your time building integrations. Alloy Automation is an integration development platform used by engineering teams at Amazon, Gorgias, Postscript, & others to get rid of the headaches of handling OAuth, API field mappings, and continuously having to add new endpoint support to existing integrations. Founded in 2019, the company is backed by a16z, Bain Capital Ventures, & Y Combinator. Learn more and try out their Unified API today.


Step Zero

Before we begin, please set up your IDE etc. as you like it. This challenge is one you’ll be tackling in JavaScript or TypeScript along with HTML and CSS.

Step 1

In this step your goal is to create the Coding Challenges equivalent to ‘Hello, World’ for Chrome extensions. That is create an extension that:

  1. You can install locally
  2. Sets the background colour of the new tab to Coding Challenges Blue (that’s #04295B)
  3. Displays the text Coding Challenges>_ in the centre of the new tab. Bonus points for matching the Coding Challenges branding! ??

When you create a new tab, the tab should then look like this:

Continued...

You can find Step 2 and beyond on the Coding Challenges website as build your own Chrome extension..

Or if you'd rather get the whole challenge delivered to you inbox every week, you can subscribe on the Coding Challenges Substack.


2 Other Ways I Can Help You:


  1. I write another FREE newsletter Developing Skills that helps you level up the other skills you need to be a great software developer.
  2. I have some courses available: Build Your Own Redis Server (Python Edition) which guides you through solving the Redis Coding Challenge in Python. Build Your Own Shell (Go Edition) which guides you through solving the Shell Coding Challenge in Go.


Aqib Bhat

Software Engineer | ex-Amazon

1 年

John Crickett Thank you for the inspiration! I made this Chrome extension for having a Code Review Guidelines checklist: https://chromewebstore.google.com/detail/code-review-guidelines/ddlkabbmlogedjneafbkaaljclbaaiej with the code at https://github.com/aqib-bhat/code-review-guidelines Learned or refreshed skills related to DOM, Chrome browser local storage, JavaScript, CSS, and overall browser plugin development. For new or experienced software engineers, this browser extension can prove to be a handy set of guidelines when reviewing code. The items are grouped into categories and each items has a checkbox to mark as done for the current review. You can also copy an item's text for use in your CR/PR comments. The selections are not lost as the data is stored in the local browser storage. A button is provided to clear all the selections. I will try to publish this to the Microsoft Edge Add-On store as well.

Eric Roby

Software Engineer | Python Enthusiast | AI Nerd | Good Person to Know

1 年

I think being able to build your own plugin / extension to many different platforms is underrated. Slack, Discord, Chrome? The list continues.

Ali Krema

SWE @ Aydi | CS @ UPenn

1 年

Omg you actually made one for chrome extensions!! This made my day, will definitely give it a try this weekend!

要查看或添加评论,请登录

John Crickett的更多文章

  • Coding Challenge #85 - Time Zone Converter

    Coding Challenge #85 - Time Zone Converter

    Coding Challenge #85 - Time Zone Converter This challenge is to build your own Time Zone Converter. That is a tool to…

    12 条评论
  • From The Challenges - IRC Client

    From The Challenges - IRC Client

    Welcome To Coding Challenges - From The Challenges! In this Coding Challenges “from the challenges” newsletter I’m…

    5 条评论
  • Coding Challenge #84 - Mandelbrot Set Explorer

    Coding Challenge #84 - Mandelbrot Set Explorer

    This challenge is to build your own Mandelbrot set explorer. The Mandelbrot set is a set of fractals that exhibit great…

    4 条评论
  • From The Challenges - Cat

    From The Challenges - Cat

    Welcome To Coding Challenges - From The Challenges! In this Coding Challenges “from the challenges” newsletter I’m…

    7 条评论
  • Coding Challenge #83 - Markdown Presentation Tool

    Coding Challenge #83 - Markdown Presentation Tool

    Coding Challenge #83 - Markdown Presentation Tool This challenge is to build your own version of Go’s Present or…

    3 条评论
  • From The Challenges - Shell

    From The Challenges - Shell

    Welcome To Coding Challenges - From The Challenges! In this Coding Challenges “from the challenges” newsletter I’m…

    3 条评论
  • Coding Challenge #82 - Markdown To PDF Editor

    Coding Challenge #82 - Markdown To PDF Editor

    Coding Challenge #82 - Markdown To PDF Editor This challenge is to build your own tool to convert markdown to PDF. It…

    14 条评论
  • From The Challenges - Diff

    From The Challenges - Diff

    Welcome To Coding Challenges - From The Challenges! In this Coding Challenges “from the challenges” newsletter I’m…

    7 条评论
  • Coding Challenge #81 - Brainf*ck Interpreter

    Coding Challenge #81 - Brainf*ck Interpreter

    This challenge is to build your own Brainf*ck Interpreter. Just in case you’re wondering, yes the * should be a u, but…

    34 条评论
  • From The Challenges - URL Shortener

    From The Challenges - URL Shortener

    Welcome To Coding Challenges - From The Challenges! In this Coding Challenges “from the challenges” newsletter I’m…

    13 条评论

社区洞察

其他会员也浏览了