+ 17
CODING CHALLENGES #3!! Calendar!!
I want you to generate the calendar for the current month... You are not allowed to use Python! Sorry... It should look like a real one!! No google, or stackoverflow.com!! Here it is an example in Python https://code.sololearn.com/cbQWqDOYwd2w/?ref=app
14 Réponses
+ 19
Absolutely no Google or StackOverflow
https://code.sololearn.com/cqqLO4wypO59/?ref=app
+ 16
now when it's finished, here is the datepicker for those who are interested. 😃
https://code.sololearn.com/WTwldN42liMM/?ref=app
+ 15
Don't wanna cheat. Have a datepicker that I did sometime last year. Anyone interested to see it?
+ 14
Congratulations @Jafca... You truly deserve to win this one :)
+ 12
@Kirk... You made it for April... You need some script to check the current month than draw it based on the current month.
+ 12
@Kirk Well, this is what the challenge is asking for...
I saw in CSS something says counter... What is it for? What does it do?
+ 11
No script so cheating (div auto-numbering / 1st div is hard-spaced, the rest overflow):
https://code.sololearn.com/W2EmhWDXZ5Y6/?ref=app
I'll try to not cheat on the next one; I just wanted to do this :)
+ 10
The 'counter' is mostly why I did that; to bring attention to the CSS variable. It keeps track of how many times it's used, can be nested, e.g. for numbering without scripting (even negatives):
1.0
1.1 {... content: counters(item, ".") }
1.2
2.0
CSS can also self-reference its own tags with attr() but I just wanted to show counting.
+ 9
@Gami...Right. I'm poking at php but lost my OS (again) yesterday so an actual script will be a little slower :)
+ 4
yes
+ 3
In php just create an input field with type date
<input type="date" > Using this you will get a datepicker.
+ 3
java script
+ 2
Umm... That is not a question.
+ 1
I haven't started learning python yet