Membuat Website Portfolio Sederhana dengan HTML

Halo teman-teman!

Selamat! Kita sudah sampai di bagian proyek besar: membuat website portfolio pertama. Website ini adalah tempat di mana kamu bisa memamerkan hasil kerja dan proyek coding yang sudah kamu buat. Siap? Yuk kita mulai langkah-langkahnya!


Apa Itu Website Portfolio?

Website portfolio adalah halaman yang menunjukkan karya atau proyek yang sudah kamu buat. Bagi seorang web developer, memiliki portfolio adalah cara terbaik untuk menunjukkan keahlianmu kepada orang lain, seperti teman, keluarga, atau bahkan calon pemberi kerja.

Pada proyek kali ini, kita akan membuat website portfolio sederhana hanya dengan HTML.


Struktur Website Portfolio

Nantinya, website kita akan memiliki:

  1. Judul dan Subjudul: Untuk memperkenalkan website.
  2. Daftar Proyek: Berisi link dan gambar dari proyek yang pernah kamu buat, seperti:
    • Proyek Movie Ranking (dari pelajaran sebelumnya).
    • Proyek Undangan Ulang Tahun.
  3. Halaman About Me dan Contact Me: Untuk menceritakan tentang dirimu dan cara orang menghubungimu.

Langkah-Langkah Membuat Website Portfolio

1. Siapkan HTML Boilerplate

Mulailah dengan HTML boilerplate seperti yang sudah kita pelajari:

<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Portfolio Saya</title>
</head>
<body>
  <h1>Selamat Datang di Portfolio Saya</h1>
  <h2>Proyek Saya</h2>
  <hr>
</body>
</html>

2. Tambahkan Proyek-Anda

Setiap proyek akan memiliki:

  • Judul Proyek.
  • Gambar (screenshot).
  • Link ke proyek.

Berikut contoh menambahkan proyek:

<h3>Movie Ranking Project</h3>
<a href="./public/movie-ranking.html">
  <img src="./assets/images/movie-ranking.png" alt="Movie Ranking Project" height="200">
</a>
<hr>
<h3>Birthday Invite Project</h3>
<a href="./public/birthday-invite.html">
  <img src="./assets/images/birthday-invite.png" alt="Birthday Invite Project" height="200">
</a>

3. Tambahkan Halaman About Me dan Contact Me

Di bagian bawah portfolio, tambahkan link untuk halaman tambahan:

<hr>
<h2>Halaman Lain</h2>
<a href="./public/about.html">About Me</a> | 
<a href="./public/contact.html">Contact Me</a>

Cara Menambahkan Screenshot Proyek

  1. Ambil Screenshot Proyek:

    • Gunakan tombol Print Screen (Windows) atau Command + Shift + 4 (Mac).
    • Simpan gambar di folder assets/images/.
  2. Tambahkan Gambar ke HTML: Gunakan tag <img> dengan atribut src:

    <img src="./assets/images/movie-ranking.png" alt="Movie Ranking Project" height="200">
    

Tips:

  • Gunakan atribut height="200" agar gambar tidak terlalu besar.
  • Beri nama file gambar yang jelas, misalnya: movie-ranking.png.

Contoh Kode Lengkap

Berikut adalah kode lengkap untuk website portfolio sederhana:

<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Portfolio Saya</title>
</head>
<body>
  <h1>Selamat Datang di Portfolio Saya</h1>
  <h2>Proyek Saya</h2>
  <hr>

  <h3>Movie Ranking Project</h3>
  <a href="./public/movie-ranking.html">
    <img src="./assets/images/movie-ranking.png" alt="Movie Ranking Project" height="200">
  </a>
  <hr>

  <h3>Birthday Invite Project</h3>
  <a href="./public/birthday-invite.html">
    <img src="./assets/images/birthday-invite.png" alt="Birthday Invite Project" height="200">
  </a>
  <hr>

  <h2>Halaman Lain</h2>
  <a href="./public/about.html">About Me</a> | 
  <a href="./public/contact.html">Contact Me</a>
</body>
</html>

Tantangan: Buat Portfolio Versimu!

  • Kustomisasi judul, gambar, dan proyek.
  • Tambahkan halaman "About Me" dengan cerita tentang dirimu.
  • Tambahkan halaman "Contact Me" dengan cara orang bisa menghubungimu (email, media sosial, dll).

Kesimpulan

Selamat! Kamu baru saja membuat website portfolio pertama. Website ini adalah awal yang bagus untuk menunjukkan keahlianmu. Nantinya, kita akan belajar cara mempercantik website ini dengan CSS.

Jangan lupa bagikan website portfolio-mu kepada teman atau keluargamu. Sampai jumpa di pelajaran berikutnya, ya! 

Comments

Postingan Populer

Image

Superingan is a Blogger template designed with simplicity and functionality in mind, offering a clean and user-friendly platform for professional websites. This theme is perfect for various website types, including personal blogs, online magazines, news websites, and portfolios. Features: Responsive Design: Your website will look its best across all devices, from desktops and laptops to tablets and smartphones. Customizable Colors: Easily change the template's colors to match your branding or preferences. Custom Headers: Upload your own header image to add a personal touch to your website. Custom Menus: Create and manage your website's navigation menus with ease. Widget Areas: Add widgets to display additional content and features on your website's sidebar. Clean HTML & CSS Code: The template is built with clean and well-structured code, making it easy to learn and customize further. Superingan is an ideal choice for those seeking a professional website with a sim...

Image

Calculate Business Loan Payments, Interest, and Total Cost Easily and Accurately Loan Amount (USD) Annual Interest Rate (%) Loan Term (Years) Extra Monthly Payment (USD) Reset Calculate Hi everyone! If you're looking for extra capital to launch a startup or expand your existing business, it's important to know how much you'll need to repay—monthly and overall. Don’t commit to a loan without understanding the full picture. That’s where our Online Business Loan Calculator comes in handy. This tool is designed for business owners, entrepreneurs, or anyone seeking a full breakdown of a loan. It helps you calculate monthly payments, total interest, repayment period, and overall cost automatically with just a few simple inputs. How to Use the Business Loan Calculator Fill in the following fields based on your situation: Loan Amount (USD): Ent...

Hi everyone! Let’s explore CSS Grid together—a powerful feature that helps us build two-dimensional layouts on the web. In this guide, we’ll start from the basics and work our way up to controlling the size and position of elements with more flexibility. If you're already familiar with Flexbox, Grid will feel like a fun and useful complement! CSS Grid is perfect for building complex layouts like dashboards, photo galleries, or any page that requires a clean structure both horizontally and vertically. Let’s dive in! What is Grid? By adding display: grid to an element, we turn it into a grid container . While Flexbox works in one direction (horizontal or vertical), Grid works in both—columns and rows simultaneously. Grid was introduced to solve layout challenges that couldn’t easily be handled by Flexbox or older techniques like float . Think of Grid as a two-dimensional layout system that gives you full control over element placement and sizing. Why Use Grid? Great for la...