Open in app

Sign In

Write

Sign In

Eduardo Sganzerla
Eduardo Sganzerla

132 Followers

Home

About

Jan 20, 2021

TodoMVC and a11y — part 2 (Keyboard navigation)

So, we know how to make an app accessible using colors, that’s great! I’m afraid we need a bit more though. In this article we are going to cover another very important step. I dare say it’s even more important. Keyboard navigation You probably already know that this is important because that’s…

Todomvc

4 min read

TodoMVC and a11y — part 2 (Keyboard navigation)
TodoMVC and a11y — part 2 (Keyboard navigation)
Todomvc

4 min read


Jan 19, 2021

TodoMVC and a11y — part 1 (Colors)

I’m going to assume that if you are reading you already know why you should be writing your code to be accessible. And also that you already know TodoMVC. Let’s start by the easy part: Colors If you look how TodoMVC is right now, the color contrast is not very great. …

A 11 Y

4 min read

TodoMVC and a11y
TodoMVC and a11y
A 11 Y

4 min read


Aug 29, 2017

Simple Date validation with JavaScript

Just show me the code: — const date = new Date(year, (+month-1), day) const isValidDate = (Boolean(+date) && date.getDate() == day) What is that? new Date() You are probably familiar with the Date Object. So just a very quick recap, you can call new Date()(MDN Documentation). If it is not a valid date it will return Invalid Date — it is…

Java Script

2 min read

Java Script

2 min read


Nov 3, 2016

Wrapping text with using only CSS…

I’ve just learned how to do this and it seems like simplest and greatest thing I’ve learned in CSS now. And now, the best trick is: text-overflow: ellipsis;

1 min read

1 min read


Sep 30, 2016

Sorting MySQL results based on location and date

TL;DR; — SELECT date, ( 6367.45 * acos( cos( radians(-29.678329467773) ) * cos( radians( events.latitude ) ) * cos( radians( events.longitude ) — radians(-51.130561828613) ) + sin( radians(-29.678329467773) ) * sin( radians( events.latitude ) ) ) ) AS distance FROM events WHERE events.longitude != ‘’ AND date > NOW() ORDER BY (…

Sql

2 min read

Sql

2 min read


Sep 28, 2016

Benchmarking loop methods and console debugging

I’ve got knowledge today of a little script (shortlogging) from Matheus S. Mariano for abreviations to console.stuff on javascript. Although it was not something I really wanted to use, it got me curious about the Console API. And I took a look on some of these functions. The most relevant functions for me at the moment are: console.log, console.info, console.warn, console.error, console.dir That’s just the…

Java Script

4 min read

Benchmarking loop methods and console debugging
Benchmarking loop methods and console debugging
Java Script

4 min read


Aug 31, 2016

A pure CSS click toggle

Making stuff with pure CSS is something that has always dazzled me. I always thought it was somehow more semantic, and besides it’s utopia, part of me thinks that a great website should run any JavaScript whatsoever. But after I’ve seen the Nolan Lawson talk that every JavaScript code freezes…

CSS

1 min read

CSS

1 min read


Aug 29, 2016

Interesting use for text-shadow

Hello (medium) World! My name is Eduardo Sganzerla, I’m a webdeveloper and it is my first “program” on this platform. I intend to publish cool & quick stuff I learn here . So, starting today: an interesting use for text-shadow. I guess most people already know the text-shadow effect, me…

Css 3

2 min read

Interesting use for text-shadow
Interesting use for text-shadow
Css 3

2 min read

Eduardo Sganzerla

Eduardo Sganzerla

132 Followers

Front-end developer. Just want to learn new stuff...

Following
  • Domenica Ferreira

    Domenica Ferreira

  • Christian H. Mendes

    Christian H. Mendes

  • Dropbox

    Dropbox

  • Bianca Kiszewski de Medeiros

    Bianca Kiszewski de Medeiros

  • Karine Braga

    Karine Braga

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech