Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
2

James F. Ciskanik

@JamesTheLessFCFalls Church, Virginia, USA200 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • Full-Stack Web App built w/ Next.js using PostgreSQL db & Prisma ORM


    James F. Ciskanik•200
    Submitted over 3 years ago

    0 comments
  • Next.js Site with Sanity.io (Headless CMS), styled with SCSS


    James F. Ciskanik•200
    Submitted over 3 years ago

    2 comments
  • REST Countries API built with Next.js/React.js, styled with SCSS


    James F. Ciskanik•200
    Submitted over 3 years ago

    1 comment
  • Responsive web app built with Next.js/React.js and styled with SCSS


    James F. Ciskanik•200
    Submitted over 3 years ago

    0 comments

Latest comments

  • James Le-Goff•310
    @jameslegoff92
    Submitted over 3 years ago

    Responsive Web Form built with - HTML5, CSS3(Flexbox), JS, SASS, BEM

    2
    James F. Ciskanik•200
    @JamesTheLessFC
    Posted over 3 years ago

    Hi @jameslegoff92, Nice job on this! To change the styles of your input element when there is an error present (without using inline styles), you could create a class for inputs with errors and apply the class when an error is found. Something like this:

    //stylesheet
    input.errors {
      outline-color: red;
    }
    //validator function
    document.getElementById("email_input").classList.add("errors");
    
  • Purushotham Sirasapalli•30
    @purushotham91
    Submitted over 3 years ago

    Responsive design, CSS Flex box

    2
    James F. Ciskanik•200
    @JamesTheLessFC
    Posted over 3 years ago

    Hi @purushotham91, Nice job on this! I remember wondering the same thing. I've found that naming classes does get easier with time (I don't spend more than a few seconds thinking about it now.) However there are a few things I do keep in mind. When a project is especially complex and you come back to it after a break, you'll thank yourself for giving your classes names that make sense and are easy to tell what they are. For instance if it's a div element functioning as a wrapper/container, include that in the name (i.e. "gallery_container"). It's also a good idea to be consistent with your naming, like sticking to camelCase or using underscores to separate words. Or if you're giving class names to your buttons, you could do something like "submit_button" and "delete_button", etc. Naming these "button_1" and "button_2" will be confusing once you have a lot of classes in your project. Above all, it should be easy for someone reading your code to figure out what the class name refers to.

    Marked as helpful
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub