Code Monkey home page Code Monkey logo

boolean-uk-debugging-2's Introduction

Debugging Approaches

All great debuggers are great programmers, but not all programmers are great debuggers.

Objectives

  • Get visibility using console.log()
  • Use a methodical approach to get visibility on a complex program

Bug 1

Nothing is happening when I search for breweries in the state of Montana!

To replicate: type the name of a state into the state search bar and press enter.

Expected behaviour: A list of breweries show on the page

Bug 2

I see the word undefined in the list of breweries searchbar

To replicate: type the name of a state into the search bar and press enter.

Expected behaviour: No undefined in the searchbar

Bug 3

When I try to narrow down my search for a Brewery, it works, but when I hit enter, the whole page disappears!

To replicate:

  • type the name of a state into the state search bar and press enter.
  • type the name of a brewery into the breweries search bar and press enter.

Expected behaviour: The whole page shouldn't disappear when pressing enter

Before

After

Bug 4

The title is missing from above the breweries searchbar

To replicate:

  • type the name of a state into the state search bar and press enter.

Expected behaviour: The title should render above the searchbar

Current

Expected

Bug 5

When I select some cities using the checkboxes, and then try to deselect one, all of my selections are deselected.

To replicate:

  • type the name of a state into the state search bar and press enter.
  • select two or more cities by checking their check boxes
  • deselect a city by unchecking one of the check boxes

Expected behaviour: Deselecting should only affect the city being deselected, not others

boolean-uk-debugging-2's People

Contributors

dearshrewdwit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.