Skip to content
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images/JPEG
README.md
index.html
script.js
styles.css

README.md

Solitaire-game

HTML, CSS and JS

Link to the game: https://dianabaro.github.io/Solitario/index.html

Work in progress to implement most of the conditions with the drag and drop and make some sense according to the game rules. I have created a navigation bar and a structure made of divs to display the stack, the waste, the spades, hearts, diamonds and clubs piles and a second row with seven piles. In my first attempt I made a table with rows but it was much easier using divs when I started to modify everything with CSS. I have had many problems trying to put the image I was dragging on top of another one. Everything has to say with their position, absolute and relative positions.

You can’t perform that action at this time.