Giter Site home page Giter Site logo

week4-3to5's People

Contributors

dangerdak avatar jen-harris avatar mineshmshah avatar rogeredbacon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

week4-3to5's Issues

Fix regex

Regex is braking list items wrong. We need to break it down after every new line. It is skipping dashes and spaces in names. We also need to make sure numbers are included.

Delete top lines in main.js

(function() { var results = ['pikachu', 'coffin', 'jigglypuff', 'squirtle', 'ekans']; })();

no longer needed

Autocomplete words

When typing into the input a list of complete, related words must be displayed

Accessibility: flying bird gif should have a text alternative

One accessibility audit warning:

[Warning] Images should have a text alternative or presentational role (1)
See AX_TEXT_02 for more information.
<img class=​"ho-oh" src=​"http:​/​/​pokestadium.com/​sprites/​xy/​ho-oh.gif">​

Mobile issues for iOS and safari

Data lists don't seem to be working on safari and iOS as it is not supported. This breaks main functionality. Worth finding some alternative as it is main task.

Prepare the Backend Search Function

Prepare backend search function to link through to take int the XGR response and check through the data list. This might be using the new RegEx function built in.

unused css?

Not sure, but i couldnt see where .ashAndDex css is used? if its not used then you could remove it, let me know ! 💃

Parse and stringify object

When receiving the XHR from the frond end the url object should be turned into a object by parse so we can use query methods on it.

  • we will need to require url from core node files
  • Then once an object can run the .query method

txt file it needs to compare against the string we get so needs to be turned to a string

  • We can use the toString() method
  • Then we can use match to compare the string.

Form action

Investigate why there is no form action on our HTML form

Pokemon theme

I believe our site could be immeasurably improved by the addition of the pokemon theme, on loop, whilst on our index.html.

Error for api result

We need to handle errors for the api somehow. So when we enter a. Alive that doesn't exist it can be ignored, no errors will be made and a call to the api/backend is prevented. This will help efficiency

console.logs

just a minor thing really couple console.logs you could get rid of

Add a few pokemon sprites

Pokestadium.com/tools/sprites

  • Maybe a flying type that crosses the screen?
  • We should definitely have a magicarp flopping on the ground!
  • Pikachu being cute somewhere

Create readme

Should include:

  • Why
  • What
  • Stretch goals
  • How
  • How did you split up work
  • How did you pair
  • What did you learn

Regex function

Add regex to search the query for the string. The following should work as a regex function i think:
The first one i think makes sure that it matches the name as your are typing which i think is what we want:

  • RegExp('\b(' + string + ')\w+', 'gi');
    This version i think works to find embedded strings according to stack overflow:
  • RegExp('\b.' + string + '.', 'gi');

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.