Giter VIP home page Giter VIP logo

train-fem_bookmark's Introduction

Frontend Mentor - Bookmark landing page solution

Start at: May 25, 2022

Project Description

This is a solution to the Bookmark landing page challenge on Frontend Mentor. Your Simple Bookmark Solution! Effortlessly organize your favorite websites with QuickMarks, offering a streamlined and user-friendly bookmark management experience. Swiftly categorize and retrieve your bookmarks, ensuring easy access to your go-to sites. Simplify your online life with QuickMarks โ€“ the essential tool for efficient web navigation.

Screenshot

hero of the page

Links

Built with

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

What I learned

<form action="">
	<input
		type="email"
		placeholder="Enter your Email"
		required
		minlength="5"
		maxlength="100"
		inputFiled
	/>
	<button type="submit" button class="redButton">Contact Us</button>
</form>
:root {
	--big-font: calc(2.8rem + 1.5vw);
	--medium-font: calc(2rem + 1.3vw);
	--small-font: calc(0.8rem + 1.2vw);
}
@mixin flex($direction, $justify, $align) {
	display: flex;

	// for flex direction
	@if $direction == "r" {
		flex-direction: row;
	} @else if $direction == "rr" {
		flex-direction: row-reverse;
	} @else if $direction == "c" {
		flex-direction: column;
	} @else if $direction == "cr" {
		flex-direction: column-reverse;
	} @else {
	}

	// for justify
	@if $justify == "c" {
		justify-content: center;
	} @else if $justify == "fs" {
		justify-content: flex-start;
	} @else if $justify == "fe" {
		justify-content: flex-end;
	} @else if $justify == "sa" {
		justify-content: space-around;
	} @else if $justify == "sb" {
		justify-content: space-between;
	} @else if $justify == "se" {
		justify-content: space-evenly;
	} @else {
	}

	// for align
	@if $align == "c" {
		align-items: center;
	} @else if $align == "fs" {
		align-items: flex-start;
	} @else if $align == "fe" {
		align-items: flex-end;
	} @else {
	}
}
let lines = [...document.querySelectorAll(".line")];
let content = [...document.querySelectorAll(".artc")];
let special = "";

lines.forEach(function (ele) {
	ele.onclick = function () {
		special = ele;
		for (let i = 0; i < lines.length; i++) {
			if (lines[i] == special) {
				lines[i].classList.add("act");
				content[i].classList.add("vis");
			} else if (lines[i] != special) {
				lines[i].classList.remove("act");
				content[i].classList.remove("vis");
			}
		}
	};
});

Continued development

  • html seo
  • scss mixin
  • js general skills

Useful resources

Check out my latest previous articles:

Author

Free Services

train-fem_bookmark's People

Contributors

ymhaah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.