Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How I Built Malik News: A Fast, Zero-Backend Bilingual Digital News Portal with Pure HTML, CSS & Vanilla JS

Hello Dev Community! ๐Ÿ‘‹ I recently built and launched Malik News , a fast, lightweight, bilingual (Hindi & English) digital news portal designed to run with zero backend costs on GitHub Pages. ๐Ÿ”— Live Website: https://shailendra-codes.github.io/Malik-News/ ๐Ÿ’ป Source Code: https://github.com ๐Ÿ› ๏ธ Why Pure Vanilla JS Instead of a Heavy CMS? My goal was to create a news platform that loads instantlyโ€ฆ

I recently embarked on creating Malik News, a fast, lightweight, bilingual (Hindi & English) digital news portal that operates with zero backend costs on GitHub Pages. The live website can be accessed at https://shailendra-codes.github.io/Malik-News/ and the source code is available at https://github.com.

Instead of using a heavy Content Management System, I chose to build Malik News using pure Vanilla JS, aiming to achieve instant loading even on slow mobile networks while keeping the core layout file untouched for frequent updates. The platform follows a modular 3-file structure with index.html serving as the core layout and styling, all-news.html housing all published news articles in article blocks, and loader.js responsible for dynamically fetching the news feed, injecting live breaking news ticker, powering instant search, and managing category filtering.

To ensure a seamless user experience, Malik News eschews external image dependencies. All logos, MN โ€ข NEWS badges, and featured article banners are created using pure CSS gradients and Unicode icons, allowing for sub-second rendering. Additionally, readers can easily filter stories across seven categories or perform real-time keyword searches. Native Web Share and SEO integration are also inherent to each article, complete with WhatsApp/Native Share buttons, an XML sitemap, and indexing through Google Search Console.

I'm eager to hear your thoughts, suggestions for UI enhancements, or ideas for future developments. Please share your feedback in the comments section below.

Rewritten by urgent.news; may contain errors โ€” check the original.

Source: dev.to

Read the original at dev.to โ†’

Report a problem with this story

More in Tech

173 of 223 Websites We Scanned Were Missing at Least One Basic Security Header. Does Your Site Tell the Browser What to Allow?

I looked at the latest completed website scan for 231 websites in our records, from 15 September to 23 November 2026. 223 of those scans included the list of headers the site sent back to the browser.

  • 173 of 223 scanned websites lacked at least one basic security header
  • Headers missing include Content-Security-Policy and X-Frame-Options
  • 146 scanned websites missing email settings configuration

More from Monday 23 November โ†’