webdev

Introducing My Developer Portfolio: A Two-Year Journey of Crafting the Perfect Showcase

Introducing My Developer Portfolio: A Two-Year Journey of Crafting the Perfect Showcase

Hey Dev.to community! I’m excited to share with you all the culmination of two years of hard work, dedication, and countless iterations—my developer portfolio website! This project has been a labor of love, and I'm thrilled to finally have a platform that represents my journey, skills, and achievements. The Tech Stack My portfolio is built using: ReactJS: The backbone of my application, providing a robust framework for building the user interface. Tailwind CSS: For styling, ensuring a sleek and responsive design with minimal effort. Framer Motion and GSAP: For animations, adding a touch of dynamism and interactivity to the user…
Read More
Demoscene Competition in 1024 Bytes of JavaScript – JS1024 2024 Edition

Demoscene Competition in 1024 Bytes of JavaScript – JS1024 2024 Edition

JS1024 is Back for 2024! Get ready for a thrilling challenge! JS1024 returns, pushing developers to their limits by creating stunning demos in JavaScript, HTML, or GLSL, all within a 1024-byte limit. Whether you're a seasoned coder or a newcomer, this is your chance to shine and showcase your creativity and technical skills. Timeline: 1st July - Theme announcement and competition start; submission form opens. 19th July - Submission deadline; form closes and rating period begins (extended). 1st August - End of rating period. Early August - Winners announced! Demo Categories: Classic Canvas:Utilize the canvas element (a), body element (b),…
Read More
How to Create a Horizontal Navigation Bar Using CSS

How to Create a Horizontal Navigation Bar Using CSS

In web design, a horizontal navigation bar is a fundamental element allowing users to navigate different website sections. Creating a sleek and functional navigation bar using CSS (Cascading Style Sheets) is relatively straightforward and provides a lot of flexibility in terms of design and responsiveness.Here’s a step-by-step guide to creating your own horizontal navigation bar:Step 1: HTML StructureFirst, let’s set up the HTML structure for our navigation bar. We’ll use an unordered list (<ul>) to hold the list items (<li>) which will represent each navigation link. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Horizontal Navigation Bar</title>…
Read More
What is WebRTC protocol?

What is WebRTC protocol?

WebRTC or Web Real Time Communication protocol is an open source protocol and technology that enables real time communication directly between web browsers and webRTC enabled applications Using WebRTC you can do video calling, audio calling and data transfer between devices. This capability is implemented using a set of JavaScript APIs that enable video, audio and data transmission between devices. These APIs include ICE, STUN, TURN, NAT and SDP We are going to learn more about these protocols below ICE (Interactive Connectivity Establishment) ICe is a protocol that is used to find the best path to reach devices that is…
Read More
Building My First Static Website

Building My First Static Website

Intro: I first became aware of a company website as important strategic tool when I took a marketing course, for big corporations like construction firms. One of the ideas that struck me with inspiration was over-comming my fear to build a static website, an actual one this time - for Toucsan:-). The initially very scary prospect of really turned into something where I learned so much in the months following doing it, that after all is said and done my taste for web development was greatly heightened. The Process: The process started with ideation - researching everything about Toucsan, their…
Read More
Decode the 10K Resistor Color Code Like a Pro!

Decode the 10K Resistor Color Code Like a Pro!

Discovering the secret language of resistors, particularly the 10k resistor color code, is like cracking a cryptic code. Think of resistors as traffic wardens for electrons in an electrical circuit. They control the flow of current and lower voltage levels within circuits. To put it in a more relatable way, they're like the speed bumps on your neighborhood roads, slowing down speeding cars (or in this case, electrons). Consider this: you're building a model car for your kid. You'll need resistors to ensure the mini lights in the model don't burn out due to excess voltage. Thus, resistors are a…
Read More
Ready to Dive into React? Let’s Build Your First App!

Ready to Dive into React? Let’s Build Your First App!

So you're ready to learn React, the powerful JavaScript library for building dynamic user interfaces! That's awesome. But before we start building fancy components, we need a solid foundation. Let's get your first React app up and running! 1. Node.js and npm (or yarn): Your Development Tools Think of Node.js as the engine that powers your React app, and npm (or yarn) as the toolbox. You need both! Get Node.js: Head to https://nodejs.org/ and download the installer for your operating system. This comes with npm, the package manager you'll use to install React and other tools. Verify Your Installation: Open…
Read More
Headless UI alternatives: Radix Primitives, React Aria, Ark UI

Headless UI alternatives: Radix Primitives, React Aria, Ark UI

Written by Amazing Enyichi Agu✏️ Using React component libraries is a popular way to quickly build React applications. Components from this type of library have many benefits. Firstly, they follow accessibility guidelines like WAI-ARIA, ensuring everyone will find them easy to use. Secondly, they come with styling and design so developers can focus on other aspects of their applications. Thirdly, many of them have pre-defined behaviors — for example, an autocomplete component filtering options based on the user’s input — that save time and effort compared to building from scratch. Components from React component libraries are also optimized for performance.…
Read More
Batman-Comic.CSS

Batman-Comic.CSS

Last week, I participated in Open South Code in Malaga, explaining the creative process behind comiCSS. As part of the conference, there was a kid's event, and I volunteered for it. The organizers asked me to do something related to my talk, and that's how a new CSS utility-class library was born: batman-comic.css. This library is for anyone willing to create Batman comic strips. Since its creation in the past two weeks, we've used the library in two kids' conferences. The library allows children to play with HTML and quickly see the power of CSS —even when this may not…
Read More
dropdown open in portal for using table in react

dropdown open in portal for using table in react

import React, { useState, useRef, useEffect } from "react"; import ReactDOM from "react-dom"; const PortalWrapper = React.forwardRef(({ children }, ref) => { const [openDropdownMenu, setOpenDropdownMenu] = useState(false); const [position, setPosition] = useState({ left: 0, top: 0, width: "100%", }); const dropdownRef = useRef(null); const handleDropdDownClick = () => { setOpenDropdownMenu(!openDropdownMenu); if (ref && "current" in ref && ref.current) { const { top, left, height } = ref.current.getBoundingClientRect(); setPosition({ top: top + height, left, width: `${ref.current.clientWidth}px`, }); } }; useEffect(() => { if (openDropdownMenu && dropdownRef.current) { dropdownRef.current.style.top = `${position.top}px`; dropdownRef.current.style.left = `${position.left}px`; dropdownRef.current.style.display = "none"; } }, [openDropdownMenu, position]); return…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.