Giter Club home page Giter Club logo

emojistoryapp's Introduction

Pursuit Logo

Practice Assessment: Full Stack Web Mid-Module Two

Getting Started

  • Fork this repo
  • Clone the forked repository
  • cd to the directory where you cloned it
  • npm install to install dependencies
  • npm test to open the cypress testing window

Note: Remember to git add, git commit and git push regularly

Practice Submission Guidelines

  • No Need to submit! This is meant as practice.

Practice Assessment Details

Build a website with the following user stories:

  • As a user I can select how long of an emoji story to generate
  • As a user, I can click a button to generate an emoji story (a string of random emojis)
  • As a user, I can submit a description of what is happening in my emoji story
  • As a user, I can view my past emoji stories and their descriptions and see a count of how many stories I have saved

Testing notes:

  • The 'Generate Emoji Story' button should have id="generate-story-btn"

  • There should be an input[type="number"] with id="story-length-input"

    • Clicking #generate-story-btn should add a random emoji story with the right length to an HTML element with id="emoji-story"
  • There should be an input[type="text"] with id="description-input"

  • The 'Submit Story Description' button should have id="submit-description-btn"

  • Clicking #submit-description-btn should add an emoji story history item with the emoji story and its description

  • Your emoji story history items should be li elements.

  • The only li elements should be your emoji history items

  • The title of your emoji story history list should be an h2 tag with id="history-title"

    • The text of #history-title should say '0 Saved Stories', '1 Saved Story', or '${n} Saved Stories', where n is more than 1.
  • You may include any emojis you like in your random emoji stories. Here's one collection you could use (feel free to add or remove emojis!):

const emojis = [
    '๐Ÿ˜€','๐Ÿ˜†','๐Ÿ˜…','๐Ÿคฃ','๐Ÿ™ƒ','๐Ÿ˜','๐Ÿ˜ก','๐Ÿฅถ','๐Ÿ˜ฑ','๐Ÿ‘ป',
    '๐Ÿ‘พ','๐Ÿ˜ป','๐Ÿ’‹','๐Ÿ‘…','๐Ÿงต','๐Ÿ‘ ','๐Ÿฅพ','๐Ÿ‘‘','๐ŸŽ“','๐Ÿ”',
    '๐Ÿง','๐Ÿฆ„','๐Ÿฆ‡','๐ŸŒฒ','๐ŸŽ„','๐ŸŒŠ','๐Ÿ“','๐Ÿ','๐Ÿฅฏ','๐ŸŒญ',
    '๐Ÿ•','๐Ÿฃ','๐Ÿฅก','๐Ÿคธ','๐ŸŽฏ','๐Ÿงจ','๐Ÿ”ฎ','๐Ÿ’‰','๐Ÿฆ ','โค๏ธ',
    '๐Ÿงก','๐Ÿ’›','๐Ÿ’š','๐Ÿ’™','๐Ÿ’œ','โ˜ข๏ธ','๐Ÿšซ','๐Ÿ’ฏ','๐Ÿ”ฑ','๐ŸŽŠ'
]

App Demo:

emojiStoriesDemo

emojistoryapp's People

Contributors

myrasmith 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.