https://github.com/hemants1703/news-homepage-frontend-mentor-solution
Solution to the Frontend Mentor Challenge to build a News Homepage Website
https://github.com/hemants1703/news-homepage-frontend-mentor-solution
css frontend-mentor html javacript react reactjs vite
Last synced: 9 months ago
JSON representation
Solution to the Frontend Mentor Challenge to build a News Homepage Website
- Host: GitHub
- URL: https://github.com/hemants1703/news-homepage-frontend-mentor-solution
- Owner: hemants1703
- Created: 2023-10-14T09:56:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T10:50:19.000Z (about 2 years ago)
- Last Synced: 2025-01-22T00:15:02.404Z (11 months ago)
- Topics: css, frontend-mentor, html, javacript, react, reactjs, vite
- Language: JavaScript
- Homepage: http://hemantsharma.dev/news-homepage-frontend-mentor-solution/
- Size: 1.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - News homepage solution
This is a solution to the [News homepage challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/news-homepage-H6SWTa1MFl). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Frontend Mentor - News homepage solution](#frontend-mentor---news-homepage-solution)
- [Table of contents](#table-of-contents)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Author](#author)
### 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
- Solution URL: [news-homepage-frontend-mentor-solution](https://github.com/hemants1703/news-homepage-frontend-mentor-solution.git)
- Live Site URL: [Add live site URL here](https://your-live-site-url.com)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- [React](https://reactjs.org/) - JS library
### What I learned
I learned a lot about structuring React code into components using props and also used Hooks to manage the state of the application. I also learned about using CSS Grid to layout the page.
```css
.proud-of-this-css {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 10px;
}
```
## Author
- Website - [Hemant Sharma](https://www.hemantsharma.dev)
- Frontend Mentor - [@hemants1703](https://www.frontendmentor.io/profile/hemants1703)
- Twitter - [@hemants1703](https://www.twitter.com/hemants1703)