- Fork this repo
- Clone the forked repository
cdto the directory where you cloned itnpm installto install dependenciesnpm testto open the cypress testing window
Note: Remember to
git add,git commitandgit pushregularly
- When finished, commit and push your work.
- Make a pull request on github.
- Submit the link to your pull request on Canvas.
Wubba lubba dub dub!!! Create an out of this world app using the Rick And Morty API! Your burp app should allow users to view characters and write what each character would say about Jerry. PS Nobody likes Jerry!
See an app video here and can be played with here
This burp app should have (in order of placement in the HTML):
-
A title tag that starts with the text "Szechuan Sauce"
-
A header tag. Make it mean and make it green.
-
Inside the header an
h1that reads "Rick & Morty" with fantasy font. -
Inside the header an image of Rick and Morty (check your assets folder!)
-
A
ulwith the idall-charactersthat contains anli's with an image (id=photo-img) of each character in the API (first page only), as well as the characters name. -
A
maintag that starts not on the page -
Inside of
mainshould be two sections. The first section should have the idcharacter-infothe second should have the idcharacter-comments-section. -
Inside of
character-infoshould be be anh3animgand twoptags. -
Inside of
character-comments-sectionshould be aform, including a "text"inputand a "submit"input, that allows users to submit (not save, just add to the frontend) what they would say about the character Jerry. On submission the input should clear. -
Also insider
character-comments-sectionshould be aulwith the idcharacter-comments-ulthat contains the submitted comments of each character.
Please feel free to include additional sections and elements if they make styling the burp app easier.
The user should be able to:
- Side scroll through the
all-charactersul and click on a character. When they select a character, themainshould appear and information about that character (name, image, status, location name) should populate in thecharacter-infosection. When they click on a different character, this information should be replaced. The pagetitleshould also match the name of the character selected. - Use the
form, to submit a character comment. Each comment should be a newliinside ofcharacter-comments-ul, with the selected character's name (in bold) and a comment (not bold).
Assume default styling unless explicitly articulated here. Do not utilize CSS Reset.
Your website should be responsive and work on screens of different sizes.
- Body
blackbackground color.- Arrange content in a column, centered on the page width-wise.
- Header
- Header should contain the
imageandh1tags. - Width: 70 percent. Height: 150px.
- Image and header text should be horizontally oriented.
- Image and header text should be on opposite sides of the header. Vertically, they should both be positioned in the center.
- Image should have a height of 100px.
- Header should have a margin of 20 pixels on the bottom.
- Header background color should be
green.
- Header should contain the
- Main Area
- Main area should contain all other content on the page.
- Width: 70 percent.
- Content should be oriented in a row
- Comment Text Input
- The
textinput should have an explicitwidthof 380 pixels.
- The
Your app should end up looking something like this:
