Start at: May 25, 2022
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.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
<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");
}
}
};
});
- html seo
- scss mixin
- js general skills
Check out my latest previous articles:
- how to make an Indestructible button?
- Top 5 Icon websites for devs and designers!!!
- 30-Day React Learning Journey!
- professional links:
- Hire me:
- Blog: