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

Toheeb

@Toheeb345170 points

Hello! 👋 My name is Toheeb, I am a web developer 👨‍💻. I'm currently on my journey to become a full-stack developer 🚀 and technical writer, feel free to reach out to me for any support or message👍!

I’m currently learning...

React, GSAP, Python, And more on JavaScript..

Latest solutions

  • html, css and js


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
  • Built with Html, css and js


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
  • MADE WITH HTML, CSS AND VANILLA JAVASCRIPT


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
  • Multi-step-form solution


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
  • newsletter-signup-form-with using html, css and Js


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
  • A faq toggle card using html, css and js


    Toheeb•170
    Submitted almost 2 years ago

    0 comments
View more solutions

Latest comments

  • Tejasva Khandelwal•60
    @tejasva-087
    Submitted almost 2 years ago

    Used Flexbox, CSS Grids and media queries.

    2
    Toheeb•170
    @Toheeb345
    Posted almost 2 years ago

    Hello, you are actually styling desktop first, so you will need to set your max-width for the tablet size but you are indicating the maximum width to be the the size of mobile screen, you can change the max-width for your media query to this:

    @media (max-width: 768px) {
    
    }
    

    it is meant to work that way 👍

  • Isaac Lezama•50
    @IsaacLezama
    Submitted almost 2 years ago

    solution with html css flexbox and vanilla javascript

    4
    Toheeb•170
    @Toheeb345
    Posted almost 2 years ago

    you were using transform

    transform: translate(-50%, 10%);
    

    The correct way to center a div using the positioning property is

    transform: translate(-50%, -50%);    ✔
    

    Try it out!!

  • faybas•70
    @faybas
    Submitted almost 2 years ago

    Rating Component with JS

    3
    Toheeb•170
    @Toheeb345
    Posted almost 2 years ago

    An easy way you can do this is by giving an ID of the exact number for each of the buttons in the html file, then you store the ID in a variable to get the ID of the button clicked, and then you output the variable in the result part

    Example:

    <button id="1" class="rate">1<button >

    <button class="btn">submit<button >

    const btn = document.queryselector('.btn');

    const rate= document.queryselector('.rate');

    btn.addEventListener("click", ( ) => {

    const rateValue = rate.id;

    result.innerHTML = ${rateValue};

    });

    That's just a demo code to show you what i was talking about, let me know if you got it!

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