The Perfect Weekend Project
If you are a beginner web developer trying to build your portfolio, you probably have a half-finished weather app, a broken to-do list, and a generic calculator. These are great for learning, but they don't impress recruiters.
If you want to stand out, build a Chrome Extension.
Building an extension sounds intimidating, but here is the secret: A Chrome extension is just HTML, CSS, and JavaScript. If you can build a basic webpage, you can build a Chrome extension.
Why Extensions Make Great Portfolio Pieces
- They Solve Real Problems: Extensions naturally lend themselves to solving small, annoying daily problems. If you hate how a specific website looks, you can write an extension to inject custom CSS and fix it.
- They Are Easy to Share: You can publish it to the Chrome Web Store, allowing anyone in the world to download and use your code with one click. "I have 500 active users on my extension" is an incredible line on a resume.
- They Prove Advanced Knowledge: Building an extension forces you to learn about APIs, permissions, and background scripts, which proves to employers that you understand how the broader web works.
The Anatomy of an Extension
A basic Chrome extension only requires two files to get started:
1. manifest.json (The ID Card)
This is the most important file. It tells the browser the name of your extension, what version it is, what permissions it needs (like accessing active tabs), and where the HTML files are located.
2. popup.html (The User Interface)
When you click the little extension icon next to your URL bar, a small box drops down. That box is just an HTML file! You can style it with CSS and add logic with JavaScript, exactly like a normal website.
3 Ideas for Your First Extension
Don't overcomplicate it. Start small:
- The Hex Extractor: An extension that displays the hex code of a color when you click on a pixel on the screen.
- The Focused Reader: An extension that injects CSS to hide the sidebars, comments, and ads on a news website so you can just read the article.
- The Pomodoro Timer: A simple timer that lives in the popup and sends a browser notification when it's time to take a break.
How to Test It
You don't need to publish it to test it.
- Open Chrome and go to
chrome://extensions/. - Turn on "Developer mode" in the top right.
- Click "Load unpacked" and select the folder on your computer that contains your
manifest.jsonfile. Your extension will instantly appear in your browser!
Conclusion
Chrome extensions are the ultimate playground for web developers. They are fast to build, highly impactful, and look fantastic on a resume. Open your text editor and start building your first manifest.json today.