Hatem Riahi Portfolio
Responsive personal portfolio website with a verified contact form
- 100SEO score
- 99Desktop performance
- RTLArabic, right-to-left
- 6Works showcased
- Role
- Freelance Web Developer
- Location
- Tunis
- Timeline
- Oct 2023 — Jan 2024
- HTML
- CSS
- JavaScript
- Sass
- jQuery

Results
Scores out of 100 from Google PageSpeed Insights, tested Nov 13, 2026 · Lighthouse 13.6.0.
Context
Hatem Riahi is a history and geography teacher and a researcher in Tunisian heritage, based in Testour (Béja), with more than 24 years of experience and a certificate of thanks from the Tunisian Minister of Education.
I built his personal website as a freelance web developer: a one-page site in Arabic that presents his profile, his activities and his recent work, and lets students and partners contact him.
What I built
- One-page site in Arabic, laid out right-to-left (lang="ar", dir="rtl"), with a smooth-scrolling menu: Home, Activities, Works, Contact.
- Profile section with his photo, background and contact details.
- "What I do" section: teaching, education and media, and the ministry's recognition.
- Works gallery with 6 projects: the cultural dialogues "Memory of the city of Testour", the town's cultural tourism trail, TV appearances and cultural events.
- Contact form (name, email, subject, message) delivered by email through FormSubmit, plus links to Facebook and email.
Built for an Arabic-speaking audience
The whole page is declared Arabic and right-to-left, with the Cairo font for Arabic text.
Why: Visitors read Arabic from right to left: the layout, the menu and the form follow that direction, and screen readers use the right language.
A meta description in Arabic: "Hatem Riahi, history and geography teacher and researcher in Tunisian heritage — Testour, Béja".
Why: It is what appears under his name in search results, and every SEO check passes: 100 on mobile and desktop.
A single static page with in-page navigation.
Why: A personal profile needs no back end: the page loads fast (99 for desktop performance) and costs nothing to host.
Security decisions
- A hidden honeypot field on the contact form, and FormSubmit's CAPTCHA step left on, to keep spam bots out.
- Name, email and message are required, and the email format is checked by the browser before sending.
- HTTPS enforced with HSTS (including preload) on every response; no accounts and no stored data.

What I'd improve next
Fix the line height of the two-line headings.
On the homepage and the contact section, the second line of the heading overlaps the first.
Fit the whole menu on small phones.
On a narrow screen only three of the four menu items show: "Contact" (اتصل بي) is pushed off the screen.
Raise the text contrast, name the social icons and add a main landmark.
The light grey links in the contact details are too faint, the Facebook and email icons have no accessible name, and the page has no <main> region: the failed checks behind 89 on mobile and 90 on desktop.
Load the images and the fonts sooner on mobile.
On mobile the largest element appears after 5.0 s (1.0 s on desktop): PageSpeed flags image delivery, render-blocking requests (Google Fonts, Font Awesome) and font display.
Screens
Inside pages

Need a platform like this?
Tell me what you're building or what the role needs, and let's see if we're a fit.



