Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
23
Comments
3

CJ Cameron

@CJCameron13Virginia350 points

Current educator learning front-end web development. Working on getting projects under my belt, practicing HTML, CSS, and JavaScript.

Latest solutions

  • Article Preview Component


    CJ Cameron•350
    Submitted about 1 year ago

    If there any better techniques, specifically with the JS, I would love to hear suggestions.


    1 comment
  • Dictionary Web App


    CJ Cameron•350
    Submitted over 1 year ago

    0 comments
  • Advice Generator App


    CJ Cameron•350
    Submitted over 1 year ago

    0 comments
  • BMI Calculator (desktop only)


    CJ Cameron•350
    Submitted over 1 year ago

    0 comments
  • Age Calculator


    CJ Cameron•350
    Submitted almost 2 years ago

    0 comments
  • Newsletter Signup


    CJ Cameron•350
    Submitted almost 2 years ago

    Overall I am pleased with the project, however if there are any cleaner or more efficient ways of doing the form validation, I am open to suggestions.


    1 comment
View more solutions

Latest comments

  • W3RKY•70
    @xAnDrOm3dAx
    Submitted about 1 year ago
    What are you most proud of, and what would you do differently next time?

    I thought my design was true to the original and I am very proud of the responsive css that was implemented.

    What challenges did you encounter, and how did you overcome them?

    The most challenging part for me was trying to figure out which components need to be developed seperate from each other, and ho to hide and introduce them once the email was validated.

    What specific areas of your project would you like help with?

    If anything, I would like feedback on my javascript. However, all feedback is welcomed.

    Newsletter sign-up form with success message - HTML, CSS & Javascript

    1
    CJ Cameron•350
    @CJCameron13
    Posted about 1 year ago

    Hello! I really like your solution. I don't have specific feedback as much as I have a question. Can you help me understand the "emailRegex" variable in your main Javascript file? Is it being used to check for certain characters, character combinations etc?

    const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;

    Thank you!

  • Jarrod Ver Hey•150
    @jvisme1991
    Submitted about 1 year ago
    What are you most proud of, and what would you do differently next time?

    I am most proud of completing my first challenge that included using javascript.

    What challenges did you encounter, and how did you overcome them?

    Using js without knowing any of the fundamentals was a nightmare. I will definitely work more with js to gain a better familiarity with it for future use.

    What specific areas of your project would you like help with?

    I would most definitely like more help with js.

    Article Preview Component

    1
    CJ Cameron•350
    @CJCameron13
    Posted about 1 year ago

    Nice work! Another approach you could use is the classList.toggle feature to achieve the same functionality that you currently have. I like to add a class called 'hidden' to the element and in my CSS document, given .hidden the attribute of display:none.

    .hidden {
    display: none; 
    }
    

    Using your shareButton and shareLinks identifier, the JS code would look something like this...

    shareButton.addEventListener('click', () => {
    shareLinks.classList.toggle('hidden')
    }
    
    Now the 'hidden" class will toggle on and off with each click by the user.
    
    Just my preferred method. Well done with the project!
    
    Marked as helpful
  • CJ Cameron•350
    @CJCameron13
    Submitted over 2 years ago

    News Homepage

    1
    CJ Cameron•350
    @CJCameron13
    Posted over 2 years ago

    Update: I'm not sure what happened to my menu in the desktop version. I will work on rectifying that.

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

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