Skip to content

Commit

Permalink
Merge pull request #6 from thuongtruong1009/CSS-course
Browse files Browse the repository at this point in the history
Css course
  • Loading branch information
thuongtruong1009 authored Sep 2, 2021
2 parents 11bcaa8 + d12743e commit b9d930a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
branches:
- main
- CSS-course
pull_request:
branches: [ main ]
branches:
- main
- CSS-course

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
36 changes: 36 additions & 0 deletions CSS basic/[02] use-css-selectors-to-style-elements.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<style>
h2{
color: blue;
}
</style>
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<div>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
</div>

<form action="https://freecatphotoapp.com/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality" checked> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Energetic</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>

0 comments on commit b9d930a

Please sign in to comment.