An open API service indexing awesome lists of open source software.

https://github.com/webdevbynight/loopstudios-landing-page-main

This repository is an exercise from a Frontend Mentor challenge.
https://github.com/webdevbynight/loopstudios-landing-page-main

exercise frontendmentor-challenge

Last synced: 3 months ago
JSON representation

This repository is an exercise from a Frontend Mentor challenge.

Awesome Lists containing this project

README

          

# Frontend Mentor - Loopstudios landing page solution

This is a solution to the [Loopstudios landing page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/loopstudios-landing-page-N88J5Onjw). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Author](#author)

## Overview

### The challenge

Users should be able to:

- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page

### Screenshot

![Screenshot of the solution](./screenshot.jpg)

### Links

- Solution URL: [https://github.com/webdevbynight/loopstudios-landing-page-main](https://github.com/webdevbynight/loopstudios-landing-page-main)
- Live Site URL: [https://webdevbynight.github.io/loopstudios-landing-page-main/](https://webdevbynight.github.io/loopstudios-landing-page-main/)

## My process

### Built with

- Semantic HTML5 markup
- CSS (via SCSS)
- custom properties
- logical properties
- flexbox
- grid
- JavaScript (via TypeScript)
- Mobile-first workflow

### What I learned

I learnt how to use the Intersection Observer API to animate some elements when they appear within the viewport.

I also learnt the way of positioning a text over a picture within a card without using absolute position.

### Useful resources

- [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) - This section from MDN helps to understand and implement such an API.
- [Less Absolute Positioning With Modern CSS](https://ishadeed.com/article/less-absolute-positioning-modern-css/) - This article help me in how to position a text over an image without using absolute position.
- [Make image in picture element fit its container](https://stackoverflow.com/questions/47888165/make-image-in-picture-element-fit-its-container) - Despite the age of this topic on Stack Overflow, there I found the answer to make an image within the `picture` element fit the `picture` container.

## Author

- Website - [Victor Brito](https://victor-brito.dev)
- Frontend Mentor - [@webdevbynight](https://www.frontendmentor.io/profile/webdevbynight)
- Mastodon - [@webdevbynight](https://mastodon.social/webdevbynight)
- Bluesky - [@webdevbynight](https://bsky.app/profile/webdevbynight.bsky.social)