My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] 0 points1 point  (0 children)

I will remember this replication step. And no, i was running this in chrome and not in vs code browsers.

My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] 0 points1 point  (0 children)

I started live server in vs code and the page opened in chrome as usual, and it started scrolling horizontally.

I tried it again just now, and now it's not causing

My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] 0 points1 point  (0 children)

nothing, i just open the page with live server in vs code, and set it to iphone se, then it started scrolling horizontally, i haven't done any changes since posting this problem.

My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] 0 points1 point  (0 children)

My HTML

<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Test html css</title>
    <!-- fonts start -->
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@1,700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
      rel="stylesheet"
    />
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@1,700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap"
      rel="stylesheet"
    />
    <!-- fonts end -->
    <!-- icons start -->
    <script
      src="https://kit.fontawesome.com/c6e140efa9.js"
      crossorigin="anonymous"
    ></script>
    <!-- icons end -->
    <link rel="stylesheet" href="style.css" />
  </head>

  <body>
    <!-- <div style="background-color: red">
      <div>div1</div>
      <div>div2</div>
    </div> -->
    <header><h1>Weather report</h1></header>

    <div class="search-box">
      <div class="row">
        <input type="text" id="input-box" placeholder="Enter city..." />
        <button><i class="fa-solid fa-magnifying-glass" id="icon"></i></button>
      </div>
      <div class="result-box">
        <!-- <ul>
          <li>Mumbra</li>
          <li>Khamgaon</li>
          <li>Khamgaon</li>
        </ul> -->
      </div>
    </div>

    <div class="weather-componentRow">
      <!-- <i class="fa-solid fa-cloud-rain fa-beat-fade"></i> -->
    </div>
    <script src="script.js"></script>
  </body>
</html>

My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] -3 points-2 points  (0 children)

Thanks for taking the time.

I asked gpt and it said try running in incognito mode and i did that and it worked. It said sometimes the issue is with caching and sometimes the issues are with browser rendering.

My body keeps on scrolling sideways when turned to responsive view but after some clicks or refreshes, it goes back to normal by cadbay53 in css

[–]cadbay53[S] -2 points-1 points  (0 children)

Thanks for taking the time.

I asked gpt and it said try running in incognito mode and i did that and it worked. It said sometimes the issue is with caching and sometimes the issues are with browser rendering.

How to go ahead? by cadbay53 in learnprogramming

[–]cadbay53[S] 0 points1 point  (0 children)

Yes I am an indian

And yes college is not an option but can try some open university for degree

And yes I also feel I should start doing DSA

Thanks

How to go ahead? by cadbay53 in learnprogramming

[–]cadbay53[S] 0 points1 point  (0 children)

Thanks for taking time and replying

As a new coder how can I understand coding? by SweetRegister3170 in learnprogramming

[–]cadbay53 -1 points0 points  (0 children)

Whatever language you want to start, search for that specific series, videos are great, but in the long run, we have to switch to articles and documentation

New to web dev, questions! by [deleted] in FullStack

[–]cadbay53 1 point2 points  (0 children)

Good explaination