html/css: How to prevent railing / locking to direction on touch [Horizontal scroll areas embedded in vertical scroll area]

I have a page that has multiple x-only scrollable rows embedded in a y-only scrollable page.

Example

I seem to only be able to scroll one area at a time. Which can be quite annoying, if the user wants to scroll down, but the algorithm thinks he wants to scroll right, he has to lift the finger and try again until he manages to get it right.

Q: Is there a way to prevent this railing and make up/down always scroll the outer scroll view, while left/right always scroll the row the finger is over?

Jest-next-dynamic failing HelloWorld test with TestingLibraryElementError

I’ve refactored my code to load my helloworld page dynamically by setting up jest-next-dynamic.

I cannot figure out how to fix the error: “TestingLibraryElementError: Unable to find an element with the text: Hello, Worlds!. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.”

Jest.setup.js file


import preloadAll from "jest-next-dynamic";

beforeAll(async () => {
  await preloadAll();
}); 

index.tsx file

import processDirectory from 'utils/processDirectory';



export default function Home(): ReactElement {
  return <processDirectory.HelloWorld.Component />;
} 

processDirectory.tsx file

import dynamic from 'next/dynamic';

const processDirectory = {
  HelloWorld: {
    Component: dynamic(() => import('components/apps/HelloWorld'))
  }
};

export default processDirectory;

HelloWorld.tsx file

import type { FC } from 'react';
import styled from 'styled-components';

const Title = styled.h1`
  color: ${({ theme }) => theme.colors.primary};
  font-size: 50px;
  text-align: center;
`;

// eslint-disable-next-line react/function-component-definition
const HelloWorld: FC = () => <Title>Hello, Worlds!</Title>;
export default HelloWorld;

index.spec.tsx file

import { render } from '@testing-library/react';
import Index from 'pages/index';
import { ThemeProvider } from 'styled-components';
import defaultTheme from 'themes/default.json';

test('renders index page', () => {
  const { getByText } = render(
    <ThemeProvider theme={defaultTheme}>
      <Index />
    </ThemeProvider>
  );
  // eslint-disable-next-line testing-library/prefer-screen-queries
  const helloWorldElement = getByText('Hello, Worlds!');

  expect(helloWorldElement).toBeInTheDocument();
});

package.json file

{
  "name": "x",
  "version": "1.0.0",
  "description": "x",
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "eslint": "eslint .",
    "stylelint": "stylelint **/*.tsx",
    "prettier": "prettier --write .",
    "test": "jest",
    "test:watch": "jest --watch"
  },
  "repository": {
    "type": "git",
    "url": "x"
  },
  "author": "x",
  "dependencies": {
    "jest-environment-jsdom": "^28.1.1",
    "next": "^12.1.6",
    "react": "^18.1.0",
    "react-dom": "^18.1.0",
    "styled-components": "^5.3.5"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^5.16.4",
    "@testing-library/react": "^13.3.0",
    "@types/jest": "^28.1.1",
    "@types/node": "^17.0.41",
    "@types/react": "^18.0.12",
    "@types/styled-components": "^5.1.25",
    "@typescript-eslint/eslint-plugin": "^5.27.1",
    "@typescript-eslint/parser": "^5.27.1",
    "babel-plugin-styled-components": "^2.0.7",
    "eslint": "^8.17.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-prettier": "^8.5.0",
    "eslint-import-resolver-typescript": "^2.7.1",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jest": "^26.5.3",
    "eslint-plugin-jest-dom": "^4.0.2",
    "eslint-plugin-jsx-a11y": "^6.5.1",
    "eslint-plugin-react": "^7.30.0",
    "eslint-plugin-react-hooks": "^4.5.0",
    "eslint-plugin-simple-import-sort": "^7.0.0",
    "eslint-plugin-testing-library": "^5.5.1",
    "husky": "^8.0.1",
    "jest": "^28.1.1",
    "jest-next-dynamic": "^1.0.1",
    "lint-staged": "^13.0.1",
    "prettier": "^2.6.2",
    "stylelint": "^14.9.0",
    "stylelint-config-prettier": "^9.0.3",
    "stylelint-config-sass-guidelines": "^9.0.1",
    "stylelint-config-standard": "^26.0.0",
    "stylelint-config-styled-components": "^0.1.1",
    "stylelint-processor-styled-components": "^1.10.0",
    "typescript": "^4.7.3"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*": "prettier --write",
    "*.{.js,ts,tsx}": "eslint --fix",
    "*.tsx": "stylelint --fix"
  }
}

Why does this SetTimeout run an infinite loop?

I’m new to Javascript, now I’m learning Javascript, it’s SetTimeout, according to W3Schools, setTimeout() is executed only once. because if we want to create an infinite we can use SetInterval, by that logic I wrote this code.

    let number = 0;
    let numberTwo = 0;

    function test() {
        
        if (number++ != 50){
            setTimeout(test, 50);
            console.log(number);
            numberTwo = number
        } else {
            testTwo();
        }
    }

    function testTwo(){
        if(numberTwo-- != 0){
            number = 0;
            setTimeout(testTwo, 50);
            console.log(numberTwo);
        } else {
            test();
        }
    }

    test();

I was thinking, if it’s only executed once, then the value of number only increase by 1 and it won’t reach 50 and won’t continue to the next function too, BUT the result is, it’s always increasing ’till 50, then it will execute the second function and so on.

Why is that? did i miss something? Thanks in advance and sorry for my bad english.

How do I get Node to break on a stack overflow?

Let’s say I have a JS script like the following:

function recurse() {
    return recurse();
}
recurse();

If I run node recurse.js, it will of course fail with a “Maximum call stack size exceeded” error.

How do I get a debugger (for example, running in VS Code) to break before this exception happens, so I can see what’s in the stack? I can attach a breakpoint, but it would take forever to hit this exception.

Passing variables from HTML to Javascript file that uses addEventListener

I’m using Stripe to accept Apple pay payments (not super important here). I’m using Django. The code works fine for processing the payments, but I’m having trouble passing in a variable to my separate .js file. (amount to charge) from my HTML file to the Javascript file that actually processes the payments.

home.html

{% load static %}
<!DOCTYPE html>
<html>
<head>
    import more scripts here
    <script src="https://js.stripe.com/v3/"></script>
    <script src="{% static 'interface/utils.js' %}" defer></script>
    <script src="{% static 'interface/apple-pay.js' %}" defer></script>
</head>
<body>
    <header class="text-center">
        <div id="rectangle"></div>
    </header>
    <section>
        <div class="text-center">
            <div class="container container--narrow">
                <script>amount=parseInt("{{event.price}}")</script>
                <div id="payment-request-button">
                    <!-- A Stripe Element will be inserted here if the browser supports this type of payment method. -->
                </div>
            </div>            
        </div>
    </section>
</body>
</html>

The Javascript file that gets called to process the payment:
apple-pay.js

document.addEventListener('DOMContentLoaded', async () => {
    const stripe = Stripe('pk_test_testkey');

    const paymentRequest = stripe.paymentRequest() ({
        currency: 'usd',
        country: 'US',
        requestPayerName: true,
        requestPayerEmail: true,
        total: {
            label: 'Test payment',
            amount: amount, //trying to pass the variable in here
        }
    });

  // Other functions that get called go here
});

The error I see in the console is that ‘total’ in the API call is no longer an object. Console.log(typeof amount) returns a number and console.log(amount) returns the number I expect. But how do I pass that to the Javascript file?

Kanban – Failed to execute ‘appendChild’ on ‘Node’: parameter 1 is not of type ‘Node’

I am getting an error of “Failed to execute ‘appendChild’ on ‘Node’: parameter 1 is not of type ‘Node'” When I try to drag a list item that I created. Any reason as to why this is happening?

// === add new task === //

document.getElementById("create-btn").addEventListener("click", function () {
  let ul = document.querySelector(".task-list");
  let li = document.createElement("li");
  ul.classList.add("task-list");
  li.classList.add("task");
  let taskForm = document.getElementById("task-form");
  li.appendChild(document.createTextNode(taskForm.value));
  ul.appendChild(li);
  
});

// dragging

containers.forEach((container) => {
  container.addEventListener("dragover", (e) => {
    e.preventDefault();
    const afterElement = getDragAfterElement(container, e.clientY);
    const draggable = document.querySelector(".dragging");
    if (afterElement == null) {
      container.appendChild(draggable);
    } else {
      container.insertBefore(draggable, afterElement);
    }
  });
});

Why do I have to use await to get the result of the promise?

const delay = ms => new Promise(res => setTimeout(res, ms));

async function notInstant() {
  await delay(1);
  return 1;
}

(async function() {
 let a = notInstant();
 console.log(a);
 await delay(10000);
 console.log("Still a promise after 10 seconds even though the function only waits for 1 millisecond =>", a);
 a = await a;
 console.log("Printing directly after but now is resolved with the correct value", a);
})();

I know that I shouldn’t rely on setTimeout for these kinds of things, but I don’t understand why printing the result after 10 seconds still gives an unresolved promise even though the function called only waits for 1 millisecond before returning a value.
Then using await makes the result directly available for some reason.

Pushing element adds element to the list but doesn’t increase in length but shows up in console.log, but doesn’t let me print by index [duplicate]

My code:

useEffect(() => {
    var tempList = []
    axios.get("#url")
    .then(res =>{
            res.data.Items.map((eachARN)=>{
                axios.get("#url" + res.uuid.S)
                    .then(res =>{
                      tempList.push(res.data.Item.uuid.S)
                    })
                    .catch(err =>{
                        console.log(err);
                    })
            })
            console.log("templist length: "+tempList.length)
            console.log(tempList)
            setposts(tempList)
     })
    .catch(err =>{
      console.log(err);
    })
  }, [])

The console log shows:
[enter image description here][1]

So it is showing me all the elements I want to push but somehow they are not in the list they are being printed as in the list but the length is 0
[1]: https://i.stack.imgur.com/p0pjR.png

How to test a regular Javascript file in a React app

I’m creating a React application that also has a folder of helper functions to use later. The helper functions are written in plain JS. I created a test file for the helper functions but when I run tests I only see the App.test.js results.

I can’t tell what I’m missing. Below is the helper function test file:

import { IsValidBinary } from "./validityFunctions";

test("01101 should be binary", () => {
  const binString = "01101";
  const isValid = IsValidBinary(binString);
  expect(isValid).toBe(true);
});

How can I upload this multidirectional array to the localstorage but without it appearing without properties?

problem

problem2

How can I upload this multidirectional array to the localstorage but without it appearing without properties?

for (let i = 0; i < uniqueUsers.length; i++) {
      var data = [];
      var y = 0;
      console.log(uniqueUsers[i])
      db.collection("stories").where("name", "==", uniqueUsers[i]).get().then((querySnapshot) => {
        y++
        var temp = [];
        querySnapshot.forEach((doc2) => {
          temp.push(doc2.data())
        })
        data.push(temp);
      }).catch((err) => {
        alert(err)
      })
    }
localStorage.setItem("hUsers", JSON.stringify(data));
console.log(data)

change In document style.. without replacing it

I found this on the web

function largeFont() {
  const dStyle = document.querySelector('style');
  dStyle.innerHTML = 'p {font-size: 2rem;}';
}

But this takes everything inside of <style></style> wipes it clean and puts in “p {font-size: 2rem;}”. Is it possible to change specific thing inside of <style></style> like

document.querySelector('style').body
or 
document.querySelector('style').#box
document.querySelector('style').box.background-color

Or whatever.
I know how to do inline, But I would rather not in this case.
I mean, I guess I could just parse the whole thing and find replace that text…

Why does classList return an error: Uncaught TypeError: Cannot read properties of undefined (reading ‘classList’)?

I don’t understand why I get an error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘classList’)
console.log(slid[numberArray].classList) – working, but
slid[numberArray].classList.add(‘active’) – not working
I know that this is not a good code, but I’m still learning and I want to make a slider myself

const slid = [...document.querySelectorAll('.slid')];
const arrows = document.querySelectorAll('.arrows-slider .arrow');

slid.forEach(s => {
    if( s.classList.contains('active') == false){
         s.style.opacity = '0';
    }
 });

arrows.forEach( arrow =>{
    arrow.addEventListener('click', function(){
        if(this.classList.contains('arrows-right')){
            slid.forEach(s => {
                if( s.classList.contains('active')){
                    s.classList.remove('active');
                    let numberArray = slid.indexOf(s);
                    numberArray ++;
                    slid[numberArray].classList.add('active');
                    console.log(slid[numberArray].classList);
                }
             });
        }else if( this.classList.contains('arrows-left')){

        }

    });
});
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('../img/mirrored_squares.png');
    height: 100vh;
}

.slid {
    position: absolute;
    width: 100%;
    height: 100vh;
    opacity: 0;
}

.active {
    opacity: 1 !important;
}

.img-slid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 50%;
    background-size: cover;
}

.engine {
    background-image: url("../img/silnik.jpg");
}

.exhaust {
    background-image: url("../img/wydech.jpg");
}



.slid-text {
    position: absolute;
    top: 50%;
    left: 11%;
    transform: translateY(-50%);
    font-size: 8rem;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Black Ops One', cursive;

}

.number-slaid {
    position: absolute;
    bottom: 8%;
    right: 8%;
    font-size: 2rem;
    color: #fff;
    font-family: 'Black Ops One', cursive;
}

/* .arrows-left {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.line-arrow {
    width: 2px;
    height: 70px;
    background-color: black;
}

.top-line {
    transform: rotate(48deg) translateY(25%);
}

.bottom-line {
    transform: rotate(-48deg) translateY(-25%);
} */

.arrows-left {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%) rotate(45deg);
}

.arrows-right {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(-135deg);
}

.arrow {
    width: 80px;
    height: 80px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    cursor: pointer;
}
<section class="slider">
  <div class="slid slid1 active">
    <div class="engine img-slid"> </div>
    <p class="slid-text">engine</p>
    <p class="number-slaid">01</p>
  </div>
  <div class="slid slid2 ">
    <div class="exhaust img-slid"></div>
    <p class="slid-text">exhaust</p>
    <p class="number-slaid">02</p>
  </div>


  <div class="arrows-slider">
    <div class="arrows-left arrow"></div>
    <div class="arrows-right arrow"></div>
  </div>

</section>

Font Awesome JS

how are you?
I need help, i’m using icons from “Font Awesome” and i need to use JS to change the class of the icon in question (it’s for a dark/light mode), but i can’t get it to work.
Here is an example.

if (document.body.classList.contains('dark')) {
  localStorage.setItem('dark-mode', 'true');

  var element = document.getElementById('logo');
  element.classList.toggle('fa-solid fa-moon');

} else {
  localStorage.setItem('dark-mode', 'false');

  var element = document.getElementById('logomodo');
  element.classList.toggle('fa-solid fa-sun');
}
});

if (localStorage.getItem('dark-mode') === 'true') {
  document.body.classList.add('dark');
  btnSwitch.classList.add('active');

  var element = document.getElementById('logomodo');
  element.classList.toggle('fa-solid fa-moon');
} else {
  document.body.classList.remove('dark');
  btnSwitch.classList.remove('active');

  var element = document.getElementById('logomodo');
  element.classList.toggle('fa-solid fa-sun');
}
<i id="logo" class="fa-solid fa-sun"></i>

D3 (v3.4) edge bundle chart and update button to load a new dataset

I have a D3 (v3.4) edge bundling chart and I want to update the chart with a new dataset by clicking an ‘update’ button. I’d like to see the chart update displaying data from the data2.json (and not data1.json). I currently have an update button and the start of an updateData() function that simply reads in the new dataset, though I’m not sure what parts of my code I need to include in this function to update via transition. I’m aware that certain parts of the chart need to be re-rendered and it isn’t a case of simply loading in a new dataset. I was using this Update d3.js data with button press example as a basis though because it’s a line chart the transition updates are a lot simpler and so less helpful to my edge bundle chart. My code below represents a minimally reproducible example..

HTML/JS

<!DOCTYPE html>
<html>

<head>

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'></script>

    <script src="https://d3js.org/d3.v4.js"></script>

    <style>

        .node {
            font: 300 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
            fill: rgb(0, 0, 0, .6);
          }
          
          .link {
            stroke: steelblue;
            fill: none;
            pointer-events: none;
          }   
    </style>

</head>

<body>

    <div class="grid-container"></div>

        <div class="grid-item" id="chart">

            <div id="my_dataviz"></div>
                <script>

                var diameter = 760,
                    radius = diameter / 2;
                    innerRadius = radius - 160;
                
                var cluster = d3.cluster()
                    .size([360, innerRadius]);
                
                var line = d3.radialLine()
                    .curve(d3.curveBundle.beta(0.85))
                    .radius(function(d) { return d.y; })
                    .angle(function(d) { return d.x / 180 * Math.PI; });
                
                var svg = d3.select("body").append("svg")
                    .attr("width", diameter)
                    .attr("height", diameter)
                    .append("g")
                    .attr("transform", "translate(" + radius + "," + radius + ")");
                
                var link = svg.append("g").selectAll(".link"),
                    node = svg.append("g").selectAll(".node");
                
                d3.json("data1.json", function(error, classes) {
                    if (error) throw error;
                
                    var root = packageHierarchy(classes)
                        .sum(function(d) { return d.size; });
                
                  cluster(root);
                
                  link = link
                      .data(packageImports(root.leaves()))
                      .enter().append("path")
                      .each(function(d) { d.source = d[0], d.target = d[d.length - 1]; })
                      .attr("class", "link")
                      .attr("d", line);
                
                  node = node
                      .data(root.leaves())
                      .enter().append("text")
                      .attr("class", "node")
                      .attr("dy", "0.31em")
                      .attr("transform", function(d) { return "rotate(" + (d.x - 90) + ")translate(" + (d.y + 8) + ",0)" + (d.x < 180 ? "" : "rotate(180)"); })
                      .attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
                      .text(function(d) { return d.data.key; })
                      .on("mouseover", mouseovered)
                      .on("mouseout", mouseouted);
                });
                
                function mouseovered(d) {
                  node
                      .each(function(n) { n.target = n.source = false; });
                
                  link
                      .classed("link--target", function(l) { if (l.target === d) return l.source.source = true; })
                      .classed("link--source", function(l) { if (l.source === d) return l.target.target = true; })
                      .filter(function(l) { return l.target === d || l.source === d; })
                      .raise();
                  node
                      .classed("node--target", function(n) { return n.target; })
                      .classed("node--source", function(n) { return n.source; });
                }
                
                function mouseouted(d) {
                  link
                      .classed("link--target", false)
                      .classed("link--source", false);
                
                  node
                      .classed("node--target", false)
                      .classed("node--source", false);
                }
                
                // Lazily construct the package hierarchy from class names.
                function packageHierarchy(classes) {
                  var map = {};
                
                  function find(name, data) {
                    var node = map[name], i;
                    if (!node) {
                      node = map[name] = data || {name: name, children: []};
                      if (name.length) {
                        node.parent = find(name.substring(0, i = name.lastIndexOf(".")));
                        node.parent.children.push(node);
                        node.key = name.substring(i + 1);
                      }
                    }
                    return node;
                  }
                
                  classes.forEach(function(d) {
                    find(d.name, d);
                  });
                
                  return d3.hierarchy(map[""]);
                }
                
                // Return a list of imports for the given array of nodes.
                function packageImports(nodes) {
                  var map = {},
                      imports = [];
                
                  // Compute a map from name to node.
                  nodes.forEach(function(d) {
                    map[d.data.name] = d;
                  });
                
                  // For each import, construct a link from the source to target node.
                  nodes.forEach(function(d) {
                    if (d.data.imports) d.data.imports.forEach(function(i) {
                      imports.push(map[d.data.name].path(map[i]));
                    });
                  });
                
                  return imports;
                }

                // update data function
                function updateData() {

                  d3.json("data1.json", function(error, classes) {
                    if (error) throw error;
                
                    var root = packageHierarchy(classes)
                        .sum(function(d) { return d.size; });
                  
                    var svg = d3.select("body").transition();

                  });
                }
                </script>
                
            </div>

        </div>

</body>

  <div id="option">
    <input name="updateButton"
    type="button"
    value="Update"
    onclick="updateData()"
    />
  </div>

</html>

data1.json

[
    {
        "name": "flare.A.dataA",
        "imports": [
            "flare.B.dataB"

        ]
    },
    {
        "name": "flare.B.dataB",
        "imports": [
            "flare.A.dataA"
        ]
    }
]

data2.json

[
    {
        "name": "flare.A.newdataA",
        "imports": [
            "flare.B.newdataB"

        ]
    },
    {
        "name": "flare.B.newdataB",
        "imports": [
            "flare.A.newdataA"
        ]
    }
]

I can’t find any examples of an edge bundle chart with an update button. Any help is appreciated!

My Older Heroku App is crashing – Unclear why

I recently updated an older ‘Yelp Camp’ Heroku app of mine from version 16 to 22. My hope was that this would allow the site to deploy and work correctly. Unfortunately it is continuing to crash on the landing page pretty consistently, and will not load any pages beyond that.

As stated its a very older app that I’m attempting to relearn how I coded. My concern is maybe that some of the languages have updated. I’ve attached my Heroku logs in the hopes that this can provide clarity as to where I should look, and would appreciate that guidance.

path = "/home/andy/damp-hollows-70339/routes/campgrounds.js"
host = damp - hollows - 70339. herokuapp.com request_id = 3852045 b - c276 - 49 fd - aff8 - 32486 c7aec94 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 35: 27.303417 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = afaa9a94 - d35d - 4 c6b - 8 cc0 - 5802246 b969c fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 35: 32.022167 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/home/andy/damp-hollows-70339/routes/campgrounds.js"
host = damp - hollows - 70339. herokuapp.com request_id = f3a57d61 - 707 a - 4 b1e - 9 fc6 - 6 a2efcaf09d4 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 35: 32.275830 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 3621 bfcc - f780 - 409 c - a3ca - 9e dc288ef7fc fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 26.866014 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/home/andy/damp-hollows-70339/views/campgrounds/campgrounds.ejs"
host = damp - hollows - 70339. herokuapp.com request_id = d656eda2 - f259 - 4 c1b - 98 f2 - 26030 dd77cfa fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 27.194382 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 5e e74682 - d42a - 4e1 d - 8 d2d - 621 bd49ab030 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 29.558789 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/stylesheets/landing.css"
host = damp - hollows - 70339. herokuapp.com request_id = ce41964a - 5464 - 4 c59 - b694 - bfe263b14475 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 29.862076 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 318991 a7 - e356 - 43e d - b6d1 - 68841428168 b fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 31.753615 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/campgrounds"
host = damp - hollows - 70339. herokuapp.com request_id = e23d9aa1 - e088 - 4 c30 - 8e71 - 4 f81b8ca805d fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 32.184740 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = c9b9ae97 - 5795 - 47 f8 - 9 bf8 - 0 aa77b6d20b9 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 35.636431 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/stylesheets/landing.css"
host = damp - hollows - 70339. herokuapp.com request_id = 95741699 - cd57 - 4 ab4 - 9 a8b - 57e20 f6cadee fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 35.757374 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 70 d93f4e - 460 b - 4130 - b23d - b9dcb5db8e5d fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 37.134810 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/"
host = damp - hollows - 70339. herokuapp.com request_id = f6f304ef - c569 - 49 a7 - b6a5 - ab87be2f527a fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 36: 37.426383 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = ff78a1ab - f175 - 4e9 f - 8 cc2 - fb0c92e98434 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 37: 46.206828 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/"
host = damp - hollows - 70339. herokuapp.com request_id = 4 a77430f - 479 f - 4 f61 - b766 - ead8fcab6f2e fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 37: 46.490662 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 702 df354 - aa6a - 4020 - ad62 - c6478fabca54 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 37: 55.836592 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/"
host = damp - hollows - 70339. herokuapp.com request_id = a71be8de - 17 b9 - 4 cfb - 8 ff3 - e487c8e0c684 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 37: 56.106191 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = abebbbc7 - 46 bf - 4150 - bff4 - 51e806649 c9a fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 38: 05.987554 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/"
host = damp - hollows - 70339. herokuapp.com request_id = c4fe2c86 - ddbe - 4556 - a724 - b2bb4c5f08c5 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https
2022 - 06 - 18 T20: 38: 06.235170 + 00: 00 heroku[router]: at = error code = H10 desc = "App crashed"
method = GET path = "/favicon.ico"
host = damp - hollows - 70339. herokuapp.com request_id = 42 d3a9b5 - d61a - 44 ad - bd17 - 6e c8c3aa4864 fwd = "73.225.207.205"
dyno = connect = service = status = 503 bytes = protocol = https