GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codingtherapist/serverSideTarotFlip

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
public
public
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.js
server.js
 
 
text
text
 
 

Repository files navigation

flip_flip

A simple card flip project to practice serverside and a client side java script.

Screen Shot of card reading 'a card of the major arcana'. Screen of card reading 'a description of the card'.

screenshot showing card name and card image. screenshot showing back of card reading 'Sudden change, upheaval, chaos, revelation, awakening'.

How it's Made

Tech used: HTML, CSS, client side Javascript, Node.js, Express

A very simple HTML scaffold for a card and a button. CSS styles the card and a borrowed animation provides a card "flip". Client side JS fires the CSS animation on card click and requests card information from server side JS (Node and Express) on button click and resets card text based on JSON response. On the server side I stored data about the tarot major arcana. A clientside fetch requests information for a random card which is provided as JSON.

Optimizations

X style card to include card image. (completed 8/4/22)

X figure out styling card for card image "reversed". (completed 8/5/22)

  • less awkward/more efficient method to present text on card as card is drawn.
  • further site styling.

X host live site (completed 8/5/22)

Lessons learned

  • appropriate place for flipping function (client side js)
  • method/data structure to get random card
  • multiple lessons on use of github
  • digesting JSON information and presenting to DOM.
  • CSS translate/transform

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.