Skip to content

jacey10/fm-news-homepage-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

  • I learned how to transform nav into an overlay (for mobile) and how to restore it back to normal for desktop.
  • I applied grid-template-areas and subgrid for the first time. It was easy to implement and worked efficiently.

Continued development

  • I'd learn how to use React to build this project next time.

AI Collaboration

  • I used Claude and Qwen AI to debug overlay issues and stacking context issues.
  • I also used them to brainstorm solutions.
  • I basically got ideas from their suggestions whicch worked well for me. For intance, Claude suggested that to solve stacking context (backdrop covering overlay), I should remove give the backdrop a lower z-index but that didn't solve it because the header whuch contains the menu-overlay already has a lower z-index. So, I tried putting the backdrop div into the header. Now, it sits as a sibling next to the menu-overlay. So, giving the menu-overlay a higher z-index solved the stacking problem.

Author

About

News Homepage solution built with modern HTML, CSS, JavaScript and responsive design principles. Focused on layout, accessibility, and clean UI implementation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors