A pure HTML/CSS project for OpenClassrooms course AKA project 2
Online DEMO https://oc02.youcodeuse.com Online REPO https://github.com/nephcode/oc-02-booki
2023/08/09 NephAcode. Fail ! That's going on Girls I'm not Joking now, I'am so Tired to fix the code. Please follow the Debug part with my awnser. We are not in the road little runner. That's not cool . so i think we do restart and to make a perfect copycat
- html integration
- css without effect (no responsive)
- css with all behaviors (focus, responsive...)
hn
filter section h3 to h2 (update css rule) FIXtext-decoration:none
in footer anchor Fix
TEST | RESULT | COMMENT |
---|---|---|
HTML W3C Checker | OK | Full OK 100% No errors or warnings to show. |
CSS W3C | OK | FULL OK 100% |
CHROMIUM | OK | Brave |
FIREFOX | OK | Firefox Developer Edition |
RESPONSIVE DESKTOP | OK | Over 1024 with margin at 1280 PX |
RESPONSIVE TABLET | OK | Between 1024 to 768 in PX width |
RESPONSIVE MOBILE | OK | Under 767 to 320 in PX ---> FIX FLEX to GRIP to FLEX under 320px |
RESPONSIVE EXTREME | OK | Yes optimized column and gap for 2560px and 320px |
- Class euro : bold > FIX
- Main Background : White > FIX
- Use var not #hex color > FIX
hn
filter section FIX- Search optimize search button without display none > FIX
- Fix Adaptative > FIX (Grid to flex)
- Vertical Align infobubble with text > FIX
- Hover Click Zone FIX
- Card : Change the background-color to white > FIX
- Fix the hosting wrap over 1440px > FIX
- Merchandising Hosting Order on Mobile > FIX
- Fix space between and align:start > FIX
- Text Decoration Fix
Please open tickets to fix the bugs 😛 that a KANBAN
The is a cool simulation with classic issues (adaptative strange behaviors). I thinked the projet for a future component implementation.
- I tried to use the minimal code in CSS and i keep my HTML code safe from DIV invasion
- Resolution 275px to cinema screen 2560px
- HTML and CSS files W3C are OK
- I used
#id
andCascade .class
with cascasde priority - I use 2 sheet style
MAIN
andTEMPLATE
. - Logo
svg
- Images optimized for speed loading with affinity photo
jpeg Ratio cropped
and85% quality
- Header nav link to
hosting
andactivities
- Form no
display:none
Hack. I use::before{content}
with breackpoint - Form adapted to small phone under 320px
- Filter use display FLEX and GRID with breakpoint
- Filter Flex for
Desktop Version
- Filter Flex for
Tablet Version
- Filter Grid for
Mobile Version
2 Columns With breackpoint 767px > 320px - Filter Flex under 320px with 1 column
- Little hack on family person with
font-size:xx-large
to match with others icons - Info is an
svg
image with 2 rules of css to ajust align like template - Main is full FLEX with breackpoints rules
- template use semantic
hn
andsection
background-color
adaptation- I choised Cascade on card to optimize behavoir for responsive and adaptative.
- Here, the main
.card
and others cascade top change the ratio img system.lateral
and.none
. - Order section reverse on mobile (just a flex-direction reverse )
- Hosting .card order change on mobile to respect the web Merchandising
nth-child:order(x)
- Image ratio change with breackpoints
- Image respect initial ration
- Stars note position respect the figma
rem
,vh
,vw
,px
use on the systemCalc()
could be use with specific rules- Footer with
nav
andul li
classic flex direction breackpoint change
This system can be call by a future app.
*By Nephacode - OpenClassrooms Project 2 - Booki, pure html css code - React Dev Stack