Responsive News Homepage

This is a challenge posed by Frontend Mentor to build a simple news website homepage.

Category

Communication

Links

Stack

HTML & CSS

Vanilla JS

Frontend Mentor - News homepage solution

This is a solution to the News homepage challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

This is a solution to the News homepage challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Links

My process

Built with

  • Semantic HTML5 markup
  • BEM(CSS)
  • Flexbox
  • CSS Grid
  • Vanilla JavaScript

What I learned

I learnt how to style images properly using object-fit.

A small code snippet examples:

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

Useful resources

Let's talk

Feel free to Contact me by submitting the form below and I will get back to you as soon as possible

Max 1000 chars